On Mon, Jan 19, 2009 at 5:40 PM, CAI Qian <[email protected]> wrote:
> Hi,
>
> --- On Mon, 1/19/09, Mike Frysinger <[email protected]> wrote:
>
>> From: Mike Frysinger <[email protected]>
>> Subject: Re: [LTP] build variables
>> To: "Garrett Cooper" <[email protected]>
>> Cc: [email protected]
>> 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
>> <[email protected]> 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
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list