• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

GCC on A/UX?

EmmyOcelot

Well-known member
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!

 
Last edited by a moderator:

IlikeTech

Well-known member
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.

 

cheesestraws

Well-known member
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)

 

uyjulian

Well-known member
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…

 
Last edited by a moderator:

EmmyOcelot

Well-known member
Great to know! If I can help in any way to port GCC 10. Let me know as it would be realllllly useful! ;)

 

uyjulian

Well-known member
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

 
Top