AW: [bf1942] Linkage changes once again
Sasch
thugz at gmx.de
Fri Nov 21 08:18:26 EST 2003
oh no, please dont drop static version, i am unable to run the dynamic on my
suse 8.1!!
-----Ursprüngliche Nachricht-----
Von: Andreas Fredriksson [mailto:andreas.fredriksson at dice.se]
Gesendet: Freitag, 21. November 2003 10:23
An: 'BF1942 at icculus.org'
Betreff: [bf1942] Linkage changes once again
Hi guys,
for 1.6 I'm going to have to remove the completely static binary due to a
reason
I can't go into here (it doesn't have anything to do with legal issues
though).
What I've been doing instead is to link dynamically with everything except
the
c++ runtime library and the gcc support libraries. The ldd output of the two
binaries looks like this:
bf1942_lnxded.dynamic:
libdl.so.2 => /lib/libdl.so.2 (0x40021000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40025000)
libstdc++.so.5 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x40065000)
libm.so.6 => /lib/libm.so.6 (0x40116000)
libgcc_s.so.1 =>
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x40139000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40142000)
libc.so.6 => /lib/libc.so.6 (0x40192000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
bf1942_lnxded.static:
libdl.so.2 => /lib/libdl.so.2 (0x40021000)
libm.so.6 => /lib/libm.so.6 (0x40024000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40048000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40088000)
libc.so.6 => /lib/libc.so.6 (0x400d8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Can people with better knowledge than me of the FreeBSD compat layer give
feedback on how this will work?
Mvh,
Andreas Fredriksson
==============================
Programmer
Digital Illusions CE Sthlm AB
Maria Skolgata 83, 5tr
S-118 53 Stockholm
Sweden
Phone: +46 8 658 78 28
Fax: +46-8-545 18 497
andreas.fredriksson at dice.se
More information about the Bf1942
mailing list