This is the mail archive of the crossgcc@sources.redhat.com 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: Static linked cross tools


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


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