Article View: comp.sys.mac.programmer.codewarrior
Article #333Re: x86 Cross-Compiler for the Mac
From: Steve
Date: Thu, 02 Jun 2005 19:34
Date: Thu, 02 Jun 2005 19:34
54 lines
3068 bytes
3068 bytes
On 1/6/05 00:42, in article 1117582976.124298.186480@f14g2000cwb.googlegroups.com, "toby" <toby@telegraphics.com.au> wrote: > I'd be happy to help. Thank you. If it's alright, I'll keep your email address on file just in case! :) >> The only thing that seems to be missing from the toolset is gdb. Have you >> had any success in remote debugging OS X host -> Windows target? Is it >> simple to do? > > I have not done that, as I rarely use symbolic debuggers, but it would > be an interesting thing to try... I'm just starting to read the gdb manual, to be honest I wouldn't have a clue where to start. I'll carry on reading for now... :) > By the way I recently updated the build-cross script for more recent > MinGW release files: > > GCC_VERSION=3.4.2-20040916-1 > BINUTILS=binutils-2.15.91-20040904-1 > MINGW=mingw-runtime-3.7 > W32API=w32api-3.2 How do you know which versions to use? Are they the same as the 'official' MinGW download for Windows? > The gcc configure command now looks like: > > "$SRCDIR/$GCC/configure" --with-gcc --with-gnu-ld --with-gnu-as \ > --with-sys-root="$PREFIX/$TARGET" \ > --without-newlib --disable-multilib \ > --target=$TARGET --prefix=$PREFIX \ > --enable-threads --disable-nls --enable-languages=c,c++ \ > --disable-win32-registry --disable-shared > Thanks. Out of interest, what difference do the new configure options make? Using gcc it's interesting to watch it report more warnings and errors where Codewarrior let it through without any problems. We're also investigating Visual Studio (2005 beta 2) and that also spots more potential problems in our code. I was always under the impression that Codewarrior was leading the way wrt. standards compliance? -- Steve.
Technical Details
Message-ID:
<BEC51DD0.DF915%root@127.0.0.1>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!text.news.blueyonder.co.uk!53ab2750!not-for-mailReferences:
<1116960211.043994.76260@o13g2000cwo.googlegroups.com> <1116992890.824483.56310@g47g2000cwa.googlegroups.com> <BEC2A849.DF1F0%root@127.0.0.1> <1117582976.124298.186480@f14g2000cwb.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f635e,2bb42746d76cd12c X-Google-Thread: 10bcce,2bb42746d76cd12c X-Google-Thread: fd047,2bb42746d76cd12c X-Google-Attributes: gidf635e,gid10bcce,gidfd047,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!pe1.news.blueyonder.co.uk!blueyonder!text.news.blueyonder.co.uk!53ab2750!not-for-mail User-Agent: Microsoft-Entourage/10.1.6.040913.0 Subject: Re: x86 Cross-Compiler for the Mac From: Steve <root@127.0.0.1> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac,codewarrior.windows Message-ID: <BEC51DD0.DF915%root@127.0.0.1> References: <1116960211.043994.76260@o13g2000cwo.googlegroups.com> <1116992890.824483.56310@g47g2000cwa.googlegroups.com> <BEC2A849.DF1F0%root@127.0.0.1> <1117582976.124298.186480@f14g2000cwb.googlegroups.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Lines: 55 Date: Thu, 02 Jun 2005 19:34:25 GMT NNTP-Posting-Host: 82.44.217.107 X-Complaints-To: abuse@blueyonder.co.uk X-Trace: text.news.blueyonder.co.uk 1117740865 82.44.217.107 (Thu, 02 Jun 2005 20:34:25 BST) NNTP-Posting-Date: Thu, 02 Jun 2005 20:34:25 BST