19-Apr-2024 23:35 GMT.
UNDER CONSTRUCTION
[Files] 68k hosted gcc for x86-AROS portedANN.lu
Posted on 19-May-2004 23:56 GMT by whoosh20 comments
View flat
View list
On a 68k AmigaOS system such as A1200 or WinUAE or Morphos or Cloanto or OS4 or Amithlon, cross compile programs to x86-AROS, via this gcc-3.3.1 cross compiler. Click here This cross compiler was built entirely on 68k WinUAE by combining the existing sources of gcc-3.3.1-aros and 68k hosted gcc-3.3.1-amigaos,

The c compiler part has been tested out on several graphics demos from the archives on the AROS site: blackhole, dawafire, firework,flamme, metaballs, newvox, parallax,

the binaries were generated via 68k WinUAE using this cross compiler and the binaries ran correctly via a i686 compile on my PC.

Hello world also ran correctly. The c++ part of the compiler is fully untested, so any feedback on it will be of interest.

People talk about preventing the AmigaOS alternatives fragmenting, well cross compilers are how you prevent fragmentation: you can generate binaries for machines you dont have.

Previously you needed Linux to develop for AROS although there is also an AROS-native gcc,

List of all comments to this article
Sorted by date, most recent at bottom
Comment 1Anonymous19-May-2004 22:50 GMT
Comment 2Crumb // AATRegistered user20-May-2004 05:04 GMT
Comment 3Anonymous20-May-2004 06:15 GMT
Comment 4Frederik20-May-2004 07:48 GMT
Comment 5Amon_ReRegistered user20-May-2004 08:17 GMT
Comment 6Anonymous20-May-2004 14:19 GMT
Comment 7Anonymous20-May-2004 19:31 GMT
Comment 8whoosh20-May-2004 19:40 GMT
Comment 9whoosh20-May-2004 20:02 GMT
Comment 10top20-May-2004 20:32 GMT
Comment 11whoosh20-May-2004 20:46 GMT
Comment 12Anonymous20-May-2004 22:44 GMT
Comment 13Crumb // AATRegistered user21-May-2004 05:13 GMT
Comment 14Crumb // AATRegistered user21-May-2004 05:18 GMT
68k hosted gcc for x86-AROS ported : Comment 15 of 20ANN.lu
Posted by whoosh on 21-May-2004 18:57 GMT
In reply to Comment 13 (Crumb // AAT):
>Mmm OS4 should be merged well because there's a gcc3.3 compiler available...
>I heard that the diffs were in the main gcc tree but I'm not sure...


if anyone gets hold of any diffs files for any gcc's for any of
Morphos, OS4, WarpOS...
and you send them to me I will try and merge them with other gcc's,


to synchronise with this gcc-3.3.1-AROS, a version in the range 3.3.1 to 3.3.3
should be merge-able, though any version at all will be useful,


Hyperion say they have a 68k hosted gcc for OS4, however I havent been
able to get hold of it,


>I think that there's an option in the assign command to remove assigns
>so this could avoid the need to reboot the machine to change the target.
>The idea of using AROS includes instead of AmigaOS ones is quite good :-)
>so there won't be any problem uploading it...

in theory yes, but you will need to figure out the license dependencies,

ie there are many external opensource submodules eg libjpeg.a, libpng.a,
etc. Also there will be include files for these, so some of these may
require that you also upload the source code as well.

One way around all this is to upload all the AROS archives, but some are
quite large archives

If you are prepared to trawl through the license conditions and upload
my port complete with the includes and libs, then let me know and
once its uploaded I can replace the downloads with redirection links to
www.aminet on my website.

just 2 conditions: state that I did the port and that people should email me
if they run into problems, and that you are taking responsibility for verifying the licensing conditions,

If you upload to aminet then you can upload the material as .lha archives,
My WinUAE environment cannot deal with file links so all file links are done
with full copies, the advantage is that this will then be installable into any
filesystem at all as-is,

> To upload stuff to aminet you should connect via ftp and leave the stuff in the
> upload or incomming directory.
> Remember to include a .readme file of the style of other files, something like:
> short: GCC compiler for multiple targets (AROS-x86, AmigaOS3...)
> Author: Whoosh your@email.com
> uploader: you again.... then you put a description of the package above...
> the main files should be in lha format.

so thats how you do it!

ok, let me know if you want to complete the license dependency uploads,
I dont have the energy to do this myself but maybe you are motivated enough:
licenses are where peoples paranoia is focussed to the highest extent,
which I find very stressful,

> I think that it may be a good idea to
> upload it to AmigaShare too.

what is AmigaShare?

> I hope you get at least some web space in the
> AROS website, otherwise tel
> me and we'll upload it to my website...


any webspace you can lend would be very useful,


maybe also if I fix some other related cross compiler matters eg I will look into
getting gcc-amithlon to merge into gg: then if you can host this on
your site,


I will also look into getting the existing
68k-hosted gcc-morphos to merge into gg:,
that way developers will be able to churn out binaries for
68k, AROS, Amithlon, Morphos just by changing the variable CC,
(I think)


eg


"CC = -m68020 -s -O2" for 68020 version,


"CC = i686-pc-aros-gcc-3.3.1 -s -O2 -march=i586 " for x86-aros,


"CC = i686be-amithlon-gcc -s -O2 " (probably!) for amithlon,


"CC = ppc-morphos-gcc -s -O2 " for Morphos,


it will be like spinning round with a machine gun,


I dont know what the licensing conditions on the Morphos includes is,


I think I may need to recompile some parts of gcc-amithlon to be able
to merge it into gg:,


gcc-amithlon was the first cross compiler I tried out,
and it was what
made me believe a 68k-hosted gcc-aros was possible, it will be very
useful to get it to run seamlessly from within gg:


perhaps send me an email so I can contact you later on by replying to it!


Note that using your own website gives extra flexibility because you can
modify everything directly,


Currently I think I only have about 2Mb webspace left of my 30Mb allocation,


blueyonder has a facility where they tell you how much free webspace you have
left,


I will try and clear up some webspace by moving more obscure things into
.tar.bz2 format. .tar.bz2 is very space efficient eg
.tar.gz and .lha are very similar but where they might be 13Mb, .tar.bz2
will be eg 10Mb. So .tar.bz2 is a way to gain a lot of extra webspace,
Jump...
TopPrevious commentNext commentbottom
List of all comments to this article (continued)
Comment 16whoosh21-May-2004 19:45 GMT
Comment 17whoosh22-May-2004 20:11 GMT
Comment 18whoosh22-May-2004 20:46 GMT
Comment 19whoosh23-May-2004 16:26 GMT
Comment 20whoosh24-May-2004 18:55 GMT
Back to Top