[Python-Dev] Python build trouble with the new gcc/binutils
Martin v. Loewis
17 Aug 2002 09:29:37 +0200
Andrew Koenig <email@example.com> writes:
> Martin> To confirm the latter, it would help if you would report the
> Martin> output that you get from adding "-v" to one of the linker
> Martin> lines (e.g. for struct.so).
> which I do how, exactly?
You copy the line that is used to link struct.so, e.g.
gcc -shared build/temp.linux-i686-2.3/structmodule.o -L/usr/local/lib -o build/lib.linux-i686-2.3/struct.so
and add a -v option to it. Actually, adding -Wl,-V is even better; on
my system, this gives
GNU ld version 126.96.36.199.10 20011021 (SuSE)