ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] scons


From: Stuart Hughes
Subject: Re: [Ltib] scons
Date: Tue, 30 Mar 2010 19:29:03 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi John,

Take a look at the 'helloworld.spec' in LTIB, this is an example of how
to build for packages that don't have configure.  Basically when you are
in the LTIB build environment (e.g. rpm running the spec sections)
gcc/ld are the cross compiler and usr/lib,include are setup to point at
the cross compiled rootfs so you don't need any -I/-L for these paths.

Regards, Stuart

john bougs wrote:
> thanks, but there is no ./configure with scons.  It doesn't look like it will 
> be to hard to create my own make file, so thats the route I think I'll take.
> 
> 
> 
> ----- Original Message ----
> From: Stuart Hughes <address@hidden>
> To: john bougs <address@hidden>
> Cc: address@hidden
> Sent: Mon, March 29, 2010 8:00:59 AM
> Subject: Re: [Ltib] scons
> 
> Hi John,
> 
> I've never tried those packages.  Generally if the package is cross
> compiler aware you just need to use:
> 
> 
> ./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
> make
> 
> Take a look at the FAQ here for some ideas
> http://ltib.org/documentation-LtibFaq#ref_89
> 
> Regards, Stuart
> 
> 
> john bougs wrote:
>> Has anyone had any experience building applications that use the scons build 
>> environment under ltib?  I have been trying to build zxing/cpp without much 
>> success.  It seems everything compiles for the host processor. Not sure 
>> where to even start.  Any advice would be appreciated.
>>
>>
>>       
>>
> 
> 
> 
>       
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]