Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Crumb on November 24, 2004, 02:35:36 PM

Title: GCC 3.x for 68k
Post by: Crumb on November 24, 2004, 02:35:36 PM
Hi!

Anyone knows if GCC3.x is available for 68k? If the answer is yes, where can I download it?

BTW, there's any cross compiler that works on windows to create Amiga 68k binaries?
Title: Re: GCC 3.x for 68k
Post by: pjhutch on November 24, 2004, 03:45:25 PM
All the d/l versions I've seen are GCC 2.9x, you can get the sources for GCC and try compiling it yourself.
 
Try http://www.aros.org/ for Amiga on x86 systems (its still alpha though).

Title: Re: GCC 3.x for 68k
Post by: Crumb on November 24, 2004, 04:03:29 PM
About AROS... I'd like a crosscompiler to AmigaOS 68k, not to AROS x86...
Title: Re: GCC 3.x for 68k
Post by: walter on November 24, 2004, 04:43:08 PM
Hello Crumb,

I don't understand the issues of GCC beyond 2.9.x on Amiga very well.  It
may be the dreaded process fork()ing problem.  I can't remember.

> Anyone knows if GCC3.x is available for 68k? If the answer
> is yes, where can I download it?

Dietmar Eilert's GoldED comes with installation archives and scripts
for 2.95.3 and 3.3 among other development suites.  2.95.3 is in the
"stable" directory, 3.3 is in "latest" for what it's worth.


http://gg.portail-e.com/geekgadgets/amiga/m68k/alpha/gcc/
on the new Geek Gadgets site has versions 3.3.3 and 3.4 I think.  I
don't know about their stability.

I have no clue about a Windows cross-compiler.  Sorry to not be more
help---all I do most days is wipe up baby sh*t.  It's in my brain now.


Walter
Title: Re: GCC 3.x for 68k
Post by: SamuraiCrow on November 24, 2004, 07:37:20 PM
Thanks for the link!  It seems to only have 68000 and '020 versions only.  If you have any luck with them let me know if it's possible to generate 68040+ binaries with whatever cross-compiler you might find.  In the meantime I'll try to get this to work under WinUAE!  :-D
Title: Re: GCC 3.x for 68k
Post by: Dietmar on November 24, 2004, 07:57:42 PM
Quote
the new Geek Gadgets site has versions 3.3.3 and 3.4 I think


Does anybody know who made the 3.4 port and where it stands in terms of reliability? Wouldn't mind to support it with GoldED if its good (but I'm not using gcc myself).
Title: Re: GCC 3.x for 68k
Post by: Cass on November 24, 2004, 09:02:27 PM
Is there any fast PPC binary (any version, 2.x/3.x)?
________
CRESSIDA (http://www.toyota-wiki.com/wiki/Toyota_Cressida)
Title: Re: GCC 3.x for 68k
Post by: Crumb on November 25, 2004, 08:38:46 AM
@Walter:
Thanks for the link!

@SamuraiCrow:
You can create 68040 binaries adding a flag (regardless of the compiler binary) like -mc68040
Title: Re: GCC 3.x for 68k
Post by: Crumb on November 25, 2004, 09:40:26 AM
BTW, in addition to gcc 3.x what files would be necessary too? I guess that an updated "make" but there are also some files called "binutils" etc... and I don't know if these files need to be updated.

My plan is to install gcc 3.4 over the geek gadgets environment done by LouiSe
Title: Re: GCC 3.x for 68k
Post by: on November 25, 2004, 12:46:17 PM
Quote

Crumb wrote:
About AROS... I'd like a crosscompiler to AmigaOS 68k, not to AROS x86...


Try here www.whoosh777.pwp.blueyonder.co.uk/ (http://www.whoosh777.pwp.blueyonder.co.uk/)
Title: Re: GCC 3.x for 68k
Post by: Crumb on November 25, 2004, 03:22:00 PM
Thank you, but I have only found a crosscompiler hosted in AmigaOS 680x0 that generates programs for AROS x86.

I would prefer a Windows hosted one (maybe using CygWin) that created AmigaOS binaries...
Title: Re: GCC 3.x for 68k
Post by: kas1e on November 25, 2004, 06:02:49 PM
Some time ago, i use "GCC-M68k Binaries for Win95/NT" for
write some code to 68k cpus (not for amigaos). from readme:
----
This zip file contains a version of GNU C/C++ which compiles for the Motorola 68k series of processors. The compiler is based on a copy of the Experimental GNU Compiler System(EGCS) V1.1.2 source code which is particularly suited to the building Win32 hosted ColdFire cross-compilers.
----

in this pakage m68k-coff GNU assembler is it too. (i use this asm, and this work).

So, you can try create data file witch 68k instructions (without any file headers) and later write progs for adding
AmigaOs executable headers. But, in this case too - you can't use amiga libs, etc. but .. you can try create himself
and tool what can append amiga libs :)

btw, url : http://sca.uwaterloo.ca/www.calm.hw.ac.uk/davidf/coldfire/download.htm

Title: Re: GCC 3.x for 68k
Post by: walter on November 26, 2004, 04:16:03 PM
Per usual, I'm late getting back...

W>> the new Geek Gadgets site has versions 3.3.3 and 3.4 I think

D> Does anybody know who made the 3.4 port and where it stands in terms
D> of reliability? Wouldn't mind to support it with GoldED if its good
D> (but I'm not using gcc myself).

I did some reading in the "bin" archive, but could not figger out
who did it.  Maybe the source diffs have some comments (?).  The last
messages I could find in the email archive were to do with 3.3.

Wish I had time to really get into this stuff.  Baby wants me to go
outside now and rake leaves (and she's a hard boss).  Helluvan
excuse, I know.

Walter
Title: Re: GCC 3.x for 68k
Post by: Zerohero on November 26, 2004, 05:21:19 PM
Hello!

Just thought I'd mention this URL:

http://developer.acggbg.org/amigadev/Cross-compiling

Also this URL:

http://gg.portail-e.com/geekgadgets/amiga/m68k/alpha/gcc/gcc-3.4.0-diffs.tar.gz

I've made both linux and cygwin cross-compilers for 68k so it should work. I don't know if that 3.4.0 supports everything that gcc normally supports though, I've only compiled it for c and c++.

Regards,

Jocke 'Zerohero' Birging
Title: Re: GCC 3.x for 68k
Post by: Crumb on December 01, 2004, 02:13:48 PM
Thanks! I don't know if I'll be capable of recompiling Cygwin anyway :-/