More Static Linking woes
Allen Curtis
acurtis@onz.com
Wed Oct 27 16:53:00 GMT 2004
Goal:
1. Build a statically linked cross compiler
2. Build dynamically linked target binaries
Problem:
The build procedure outlined on this mailing list does produce
statically linked executables. We have successfully used the cross
compiler on several different Linux installations. When we tried to
create the target file system, we found that shared libraries such as
libstdc++.so* was missing. This is created if LDFLAGS=-static is not
specified.
Perhaps there needs to be a separate link process for just the cross
development tools. I have seen something like this on "Linux from
Scratch". (although it was for binutils, not glibc)
Thoughts? Ideas?
------
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