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: newbie questions remain regarding crosstool with an arm920t target(arm_920TDI)


Marc Kleine-Budde wrote:
./configure --enable-static --disable-shared	to
						gcc (for libstdc++, java)
						glibc (for libc)

Right, that will make a toolchain that defaults to producing static binaries and can't generate dynamic ones


make LDFLAGS=-static to build a static toolchain

Right; needed only on the build of the final cross gcc


eventually it enough to call configure like this:
LDFLAGS=-static ./configure --enable-static --disable-shared

and then 'make' w/o LDFLAGS, but this might not be enough.

Ah, yes, you probably could tell the final gcc's configure about LDFLAGS instead of pushing it in on the final make commandline.

BTW Marc, there's a little translat-o in what you wrote:
    'eventually' in english means something like 'eines Tages' oder 'nach und nach', not 'eventuell'...
    'possibly', 'probably', or 'maybe' are better ways to say 'eventuell'.
- 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]