From mint-bounce@lists.fishpool.fi Tue Dec 22 13:01:34 2009 Message-ID: <4B310903.2000201@freesbee.fr> Date: Tue, 22 Dec 2009 18:59:31 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: "mint@lists.fishpool.fi" Subject: Re: [MiNT] building fvdi References: <200912221831.55987.jflemaire@skynet.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 091222-0, 22/12/2009), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id nBMI1XAZ021982 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