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, 4:22 PM
> On Sunday 18 January 2009 23:27:28 Garrett Cooper wrote:
> > On Sun, Jan 18, 2009 at 2:24 PM, Mike Frysinger wrote:
> > > On Friday 16 January 2009 18:12:11 Garrett Cooper
> wrote:
> > >> On Fri, Jan 16, 2009 at 12:43 PM, Mike
> Frysinger 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
> >
> >     Actually, ballista is C++/perl based.
> 
> yes, but ballista has its own configure/build system, so we
> dont have to worry 
> about it

Its build system is unusual, as it does,

make -> configure

# cat testcases/ballista/Makefile
...
all: bal
...

.configured:
        cd ballista ; ./configure
        touch .configured
...
bal: .configured
...

It also inherit CFLAGS for g++.

# cat testcases/ballista/ballista/Makefile
...
CC = g++ -Wno-deprecated
CFLAGS += -w ${TARGET_DEF}
CLIBS = -lpthread -ldl -lnsl -rdynamic
...

CAI Qian

> -mike
> 
> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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

Reply via email to