Thread: [ES40-developers] Patch: Makefile LDOPTIONFLAGS sync with CDEBUGFLAGS
Status: Alpha
Brought to you by:
iamcamiel
From: brian w. <bdw...@in...> - 2008-02-19 02:44:14
|
This quick patch makes sure that the ld command gets -g if -g was defined in the CDEBUGFLAGS. Index: Makefile =================================================================== RCS file: /cvsroot/es40/es40/src/Makefile,v retrieving revision 1.24 diff -u -w -r1.24 Makefile --- Makefile 16 Feb 2008 17:05:07 -0000 1.24 +++ Makefile 19 Feb 2008 02:36:49 -0000 @@ -164,6 +164,10 @@ LDOPTIONFLAGS += -lpcap endif +ifneq ($(findstring "-g",$(CDEBUGFLAGS)),"") +LDOPTIONFLAGS += -g +endif + CFLAGS = -I. -I.. \ $(CDEBUGFLAGS) $(CTUNINGFLAGS) $(OPTIONS) $(COPTIONFLAGS) |
From: Camiel V. <iam...@gm...> - 2008-02-20 20:23:31
|
Hi Brian, I applied this one as well. Camiel. On Feb 19, 2008 3:40 AM, brian wheeler <bdw...@in...> wrote: > This quick patch makes sure that the ld command gets -g if -g was > defined in the CDEBUGFLAGS. > > Index: Makefile > =================================================================== > RCS file: /cvsroot/es40/es40/src/Makefile,v > retrieving revision 1.24 > diff -u -w -r1.24 Makefile > --- Makefile 16 Feb 2008 17:05:07 -0000 1.24 > +++ Makefile 19 Feb 2008 02:36:49 -0000 > @@ -164,6 +164,10 @@ > LDOPTIONFLAGS += -lpcap > endif > > +ifneq ($(findstring "-g",$(CDEBUGFLAGS)),"") > +LDOPTIONFLAGS += -g > +endif > + > > CFLAGS = -I. -I.. \ > $(CDEBUGFLAGS) $(CTUNINGFLAGS) $(OPTIONS) $(COPTIONFLAGS) > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |
From: Brian W. <bdw...@in...> - 2008-02-20 20:38:53
|
The plusses need to be taken out of the first column... How are your threading experiments going? Brian On Wed, 2008-02-20 at 21:23 +0100, Camiel Vanderhoeven wrote: > Hi Brian, > > I applied this one as well. > > Camiel. > > On Feb 19, 2008 3:40 AM, brian wheeler <bdw...@in...> wrote: > > This quick patch makes sure that the ld command gets -g if -g was > > defined in the CDEBUGFLAGS. > > > > Index: Makefile > > =================================================================== > > RCS file: /cvsroot/es40/es40/src/Makefile,v > > retrieving revision 1.24 > > diff -u -w -r1.24 Makefile > > --- Makefile 16 Feb 2008 17:05:07 -0000 1.24 > > +++ Makefile 19 Feb 2008 02:36:49 -0000 > > @@ -164,6 +164,10 @@ > > LDOPTIONFLAGS += -lpcap > > endif > > > > +ifneq ($(findstring "-g",$(CDEBUGFLAGS)),"") > > +LDOPTIONFLAGS += -g > > +endif > > + > > > > CFLAGS = -I. -I.. \ > > $(CDEBUGFLAGS) $(CTUNINGFLAGS) $(OPTIONS) $(COPTIONFLAGS) > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers |
From: Camiel V. <iam...@gm...> - 2008-02-20 21:04:37
|
Oops... Stupid mistake. As for the threading, I'm working with David Hittner (who's fixing a lot of stuff in the network card) to come up with a model that will work for all devices. After that, it's testing, testing, and testing again... Camiel. On Feb 20, 2008 9:38 PM, Brian Wheeler <bdw...@in...> wrote: > The plusses need to be taken out of the first column... > > How are your threading experiments going? > > Brian > > > On Wed, 2008-02-20 at 21:23 +0100, Camiel Vanderhoeven wrote: > > Hi Brian, > > > > I applied this one as well. > > > > Camiel. > > > > On Feb 19, 2008 3:40 AM, brian wheeler <bdw...@in...> wrote: > > > This quick patch makes sure that the ld command gets -g if -g was > > > defined in the CDEBUGFLAGS. > > > > > > Index: Makefile > > > =================================================================== > > > RCS file: /cvsroot/es40/es40/src/Makefile,v > > > retrieving revision 1.24 > > > diff -u -w -r1.24 Makefile > > > --- Makefile 16 Feb 2008 17:05:07 -0000 1.24 > > > +++ Makefile 19 Feb 2008 02:36:49 -0000 > > > @@ -164,6 +164,10 @@ > > > LDOPTIONFLAGS += -lpcap > > > endif > > > > > > +ifneq ($(findstring "-g",$(CDEBUGFLAGS)),"") > > > +LDOPTIONFLAGS += -g > > > +endif > > > + > > > > > > CFLAGS = -I. -I.. \ > > > $(CDEBUGFLAGS) $(CTUNINGFLAGS) $(OPTIONS) $(COPTIONFLAGS) > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Es40-developers mailing list > > > Es4...@li... > > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Es40-developers mailing list > > Es4...@li... > > https://lists.sourceforge.net/lists/listinfo/es40-developers > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |