On Tue, Jan 20, 2009 at 12:45 AM, Garrett Cooper <yaneg...@gmail.com> wrote: > On Mon, Jan 19, 2009 at 5:40 PM, CAI Qian <caiq...@cclom.cn> wrote: >> Hi, >> >> --- On Mon, 1/19/09, Mike Frysinger <vap...@gentoo.org> wrote: >> >>> From: Mike Frysinger <vap...@gentoo.org> >>> Subject: Re: [LTP] build variables >>> To: "Garrett Cooper" <yaneg...@gmail.com> >>> Cc: ltp-list@lists.sourceforge.net >>> Date: Monday, January 19, 2009, 6:24 AM >>> On Friday 16 January 2009 18:12:11 Garrett Cooper wrote: >>> > On Fri, Jan 16, 2009 at 12:43 PM, Mike Frysinger >>> <vap...@gentoo.org> wrote: >>> > > we arent getting tools from configure. but that >>> doesnt mean we cant >>> > > integrate support for doing so ... then people >>> could do the nice: >>> > > ./configure --host=some-other-target >>> > > and it would autodiscover CC/AR/CXX/RANLIB/etc... >>> > >>> > Yeah. I may not like configure completely, but >>> that's definitely >>> > an indispensable feature that we should employ. >>> >>> so ive implemented this in cvs now and seems to work for me >>> ... configure will >>> now setup CC/AR/RANLIB and CFLAGS/CPPFLAGS/LDFLAGS based on >>> user input >>> >>> i dont think we actually have an C++ tests ? so i havent >>> setup CXXFLAGS/CXX >> >> Not true if you count Ballista test cases. >> >> CAI Qian >> >>> -mike > > 1) Its build system uses a weird configure script with ancient > references to AIX, Solaris 4.x and Vxworks. > 2) Yes, variables do carry over, but we don't mess around with those > variables at all. The top-level caller is the only one that fiddles > with those variables. > 3) The writers of the original Makefiles don't use implicit rules and > instead use CFLAGS instead of CXXFLAGS which is an epic fail for > all... CFLAGS =~ CXXFLAGS, but CXXFLAGS !~ CXXFLAGS. > > So in conclusion: the makefiles are junk. > HTH, > -Garrett
Oh yeah.. they're using ${CC} instead of ${CXX} too.... silly, silly people. -Garrett ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list