68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
GCC on A/UX?
Posted by: EmmyOcelot on 2020-08-25 07:03:21
Figure i'd ask here since I have A/UX on a quadra,

Has anyone gotten gcc (GNU C compiler) fully installed and setup on A/UX? If so, please tell me how you did it. I'd like to add some other newer GNU stuff like sudo or bash but they require gcc to compile them. It's been quite some fun trying to get it to work. So many lost CD-R discs trying to get this to work.

Any ideas or help appreaciated!

Posted by: IlikeTech on 2020-08-25 07:40:56
Is this on your Quadra 650?  If so, it has onboard Ethernet.  You should get an AAUI to RJ45 transciever so you can use Ethernet instead of burning CD coasters.

Posted by: cheesestraws on 2020-08-25 07:44:05
Might have better luck posting in the Software -> UNIX forum.  That said, I have a vague memory that @uyjulian was doing stuff with this (though I may be wrong)

Posted by: EmmyOcelot on 2020-08-25 07:54:36
Ah, nice to know. Thanks again!

Posted by: uyjulian on 2020-08-25 09:01:25
If I remember correctly, GCC is pre-installed on this image: https://github.com/unxmaal/aux_sdcard

Be aware that it is an older GCC based on the 2.7 series. I planned to port GCC 10 but other things took my time.

You cannot use the GCC patch as-is when cross-compiling, since it requires the native assembler instead of the one from GNU Binutils. It would be nice to use QEMU userspace emulation to run the programs from A/UX…

Posted by: EmmyOcelot on 2020-08-25 09:32:33
Great to know! If I can help in any way to port GCC 10. Let me know as it would be realllllly useful! 😉

Posted by: uyjulian on 2020-08-25 09:49:24
Binutils does not require any patches. The version used is 2.10.1. The last version of Binutils to support m68k-coff format is 2.16.1.

GCC requires patches. I ported the patch to 2.7.2.3 in unified format. 





Retro68 exists, but it creates applications for the Macintosh environment, not the UNIX environment. https://github.com/autc04/Retro68

Posted by: tattar8 on 2020-08-27 04:04:28
There's an entire archive of A/UX software that gets installed under /usr/local kicking around somewhere.  It includes a bunch of GNU tools including GCC.  I just FTPd it to the box and untarred it there.

It's here:  ftp://ftp.atlas.altexxa.net/software/mac/unix/robbraun/aux-usr.local-10172010.tar.bz2

1