[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] building fvdi



Helmut Karlowski a écrit :
On what system did you build it?

cygwin - would you think I'd use an atari for this? ;)

But now I've got another problem: I want a 040-version and when I enter CPU=040 to make I get:

../modules/ft2/ft2.o(.text+0xd70): undefined reference to `__divsi3'
../modules/ft2/ft2.o(.text+0x2092): undefined reference to `__mulsf3'
../modules/ft2/ft2.o(.text+0x2350): undefined reference to `__mulsi3'
../modules/ft2/ft2.o(.text+0x242c): undefined reference to `__mulsi3'
../modules/ft2/ft2.o(.text+0x2586): undefined reference to `__divsi3'
../modules/ft2/ft2.o(.text+0x2cfa): undefined reference to `__mulsi3'

Beware, we are hitting the multilib issue...
You get these errors because -lgcc is not found.

Since you use Cygwin, you probably have my binaries.
The only supported multilib better than 68000 (except ColdFire) is -m68020-60. If I remember well, any other 68000+ option like -m68040 will be transparently turned into -m68020-60. But I really recommend to use explicitly -m68020-60 explicitly. And I have not built the libraries for both "-m68020-60 -mshort".

Beware of the mix of libraries built for different architectures.

But since the 68040 knows how to multiply and divide 2 longs, -libgcc is usually not required, so you have probably compiled ft2.o for 68000.

--
Vincent Rivière