This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OT] making software easily cross-compilable


On Fri, 2006-04-28 at 07:27 -0400, Paul Smith wrote:
> %% Ralf Corsepius <ralf.corsepius@rtems.org> writes:
> 
>   rc> On Fri, 2006-04-28 at 07:08 -0400, Robert P. J. Day wrote:
>   >> (not crosstool-related, but i figure this is the best place to find
>   >> the appropriate expertise.)
> 
>   >> what approach do people here use? 
> 
>   rc> autotools ;)
> 
> Well.  autoconf and automake are very useful for environments that need
> to crosscompile.
> 
> libtool, on the other hand... not so much.  Avoid it if you want to
> cross-compile.
Fully agreed - Libtool is more or less unusable when it comes to cross
compilation.

> If you use autoconf macros be sure to read their description: those that
> need to run a program to make their decision are not appropriate if you
> need to cross-compile.

Exactly the kind of issue spoiling libtool for cross-compilation.

>   If you must use them, typically they have a
> default setting they will choose if you're cross-compiling.  Often this
> is good enough, but...

[Of cause I meant autoconf >= 2.59]

Ralf



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]