Alain Greppin dixit:
>$ diet gcc -o dso.o -c dso.c
This is already wrong, you MUST use -fPIC for shared objects
on ELF systems at least, ALWAYS.
bye,
//mirabilos
--
Support mksh as /bin/sh and RoQA dash NOW!
‣ src:bash (232 (249) bugs: 0 RC, 176 (190) I&N, 56 (59) M&W, 0 F&P)
‣ src:dash (65 (73
Package: dietlibc-dev
Version: 0.31-1.2
Severity: important
I cannot build a shared library linked with dietlibc on amd64 (but it works on
i386). Here is an example with the error message:
$ cat > dso.c
int toto1(){}
$ diet gcc -o dso.o -c dso.c
$ diet gcc -shared -o libdso.so dso.o
/usr/bin/ld:
2 matches
Mail list logo