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]

Make the compiler only build static. . .


Note:  I don't want a static toolchain.

I have a requirement that the toolchain be eglibc which is too large
for my tastes.  So, I want the RFS to use statically linked uClibC
(which, when my patch is done, is easy enough to do through BuildRoot).
I want to FORCE the toolchain I build to link all binaries STATIC since
there will not be eglibc on the RFS.

I've seen in the gcc options that there is a way to force LD options to
be -static, however, when I attempted to do this, it didn't work.  I'd
rather not depend on the makefiles that build the "external" apps to
pass an LDFLAGS=-static to the make system.

Is there an option I can configure in crosstool that will allow me to
do this?

Thanks,
Andy

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