|
Boost : |
From: Dan Nuffer (dnuffer_at_[hidden])
Date: 2001-02-27 10:38:34
John Maddock wrote:
>
> Cute, thanks for the info, that saves me a lot of work. However do you
> know what extra params have to be passed to ld - the reason is that BeOS
> doesn't support the -shared flag on g++, even though shared libraries are
> supported (via ld).
>
Here is the ld command gcc 2.95.2 on i386 linux runs:
/usr/i386-linux/bin/ld -m elf_i386 -shared -o ../UC++build/liberror.so
/usr/lib/crti.o /usr/lib/gcc-lib/i386-linux/2.95.2/crtbeginS.o
-L/usr/lib/gcc-lib/i386-linux/2.95.2 -L/usr/i386-linux/lib [snip all the
.o files] -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-linux/2.95.2/crtendS.o
/usr/lib/crtn.o
--Dan Nuffer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk