Re: Cross compiling for m68k/netbsd (was: Re: -fPIC for m68k/netbsd)

1999-04-10 Thread Alexandre Oliva
On Apr 9, 1999, Kiyo Inaba [EMAIL PROTECTED] wrote: I've tested with binutils-2.6, 2.81, or 2.91 but the result is same. BTW, '/usr/bin/as' on NetBSD 1.3.1 is 1.92.3 according to the program itself. Assembly syntax is not the same for all assemblers. gcc may be configured to use GNU as

-fPIC for m68k/netbsd

1999-04-04 Thread Kiyo Inaba
I've been back to cross compiling for m68k/netbsd. At least today's snap incorrectly specify -fPIC to ltdl.lo. And (as you may know), it generates undefined reference to '_GLOBAL_OFFSET_TABLE_' on this machine. What I specify for configure is m68k-sun-netbsd1.3.1 --with-staticvm

Re: -fPIC for m68k/netbsd

1999-04-04 Thread Kiyo Inaba
I made mistake. The creation of ltdl.lo itself should be OK. Because I also found ltdl.o (which is not compiled with -fPIC flag), but libkaffevm.a includes ltdl.lo rather than ltdl.o, and it is the problem. If I use configuration option with --disable-shared, linking correctly. But I think, even

Re: -fPIC for m68k/netbsd

1999-04-04 Thread David Jones
Kiyo Inaba wrote: | And also I noticed that binutils-2.9.1 derived 'as' on | m68k/netbsd can not handle '-k' flag at all. Did I make any | mistake, or is it the feature? Are you talking about the "as" that comes with NetBSD-1.3.1, or an aftermarket GAS install? The man page for as mentions -k.