This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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: Problem with _Unwind_xxx


Andreas Jaeger wrote:
bela@home.ro writes:


I made a library libx.so with:
 gcc -lposix4 -lc -lgcc -lstdc++ -lz -lm
and ld show this:

You g++ for linking of C++ objects,
g++
give me same result
with flags
 -D_SUNOS_ -DNDEBUG -w -nostdlib -nodefaultlibs -O3
 -D__linux__ -D_REENTRANT -fPIC
 -Wno-implicit-function-declaration -fno-exceptions
 -fno-builtin

for compile and

g++ -s -shared -o $@ $(OBJS) -Wl,-t -lposix4 -lc -lgcc
    -lstdc++ -lz -lm
for link

Bela



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