Static linked cross tools

Daniel Kegel dank@kegel.com
Fri Oct 15 18:26:00 GMT 2004


Allen Curtis wrote:
> I am trying to resolve the static tool build issue. After reviewing the 
> crosstool documentation, posted messages and the binutils/GCC 
> documentation, I am a little confused.
> 
> Static linking BinUtils 2.15:
>     Cross tools doc:
>         BINUTILS_EXTRA_CONFIG="LDFLAGS=-all-static
> 
>     Posted Messages:
>         Change make to:  make $BINUTILS_EXTRA_CONFIG all
> 
>     Configuration options:
>         configure --enable-static
>         OR
>         configure --disable-shared?
> 
> Static linking GCC 3.3.3:
>     Cross tools doc:
>         GCC_EXTRA_CONFIG="LDFLAGS=-static"
> 
>     Configuration options:
>         configure --disable-shared
> 
> 
> So, it looks like it should be a configuration option, not a linker 
> flag. Does anyone have a definitive answer on this?

Nope.  It's probably quite easy to sort out, I just haven't had the time...
- Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list