From mint-bounce@lists.fishpool.fi Tue Jan 22 17:35:28 2008 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Message-ID: <4793D6BA.9030806@freesbee.fr> Date: Mon, 21 Jan 2008 00:18:18 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] GCC 4.2.2 - Keith's Latest Progress (or lack thereof) References: <478A8F44.3030702@freesbee.fr> <47936072.4050702@freesbee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00 X-Spam-Level: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by freemint id m0MGP1gM004618 Status: X-Status: X-Keywords: Hello, Keith ! I'm currently working on the Quake bug. It is very hard to find, maybe a bug in the Quake sources, or in GCC. After that, I will have a look at the C++ problem. > Here are the configure params I used for the Canadian Cross: > > $ CC=/usr/local/m68k-atari-mint/bin/m68k-atari-mint-gcc > AR=/usr/local/m68k-atari-mint/bin/m68k-atari-mint-ar > RANLIB=/usr/local/m68k-atari-mint/bin/m68k-atari-mint-ranlib > ../gcc-4.2.2/configure --target=m68k-atari-mint --host=m68k-atari-mint > --enable-languages="c,c++" --disable-nls --disable-libstdcxx-pch > --program-suffix=-4.2.2 --disable-bootstrap --build=i686-pc-cygwin So you are building GCC for MiNT on Cygwin. I think in that case, it is a classic cross-build of GCC. If I understood well, a Canadian Build is when all the triplets build/host/target are different. But it is not the problem ! If you build a C++ program using the Cross GCC on Cygwin, it produces a valid MiNT executable, right ? But if you try to compile the same program with your "native" MiNT GCC built on Cygwin, it links, but it causes SIGILL when run. Did I understand ? If it is the case, you can send me the binary causing SIGILL. Please compile it for 68000 (the default) and link it with --traditional format. Something like this: g++ hello.cpp -o hello.tos -Wl,--traditional-format I will look at it with Steem and MonST2 as usual, I may find something wrong in it... Keep going ! -- Vincent Rivière