• 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.

Compiling gcc-2.5.7 on A/UX 2.0

rabindranath72

Well-known member
Hi all,

has anyone tried it? I have a Mac SE/30 16Mb RAM running A/UX 2.0. I downloaded the (patched) gcc-2.5.7 from a jagubox mirror, which according to the README should compile on A/UX 2.0(.1). The architecture is recognised, the configure process seems to work, but then compilation fails at the first file: cccp.c

First I get a warning about a table being full, so no optimisations are possible. Then the whole process halts when "as" is called, and I get a core dump.

Any help would be appreciated.

Failing that, is there another version of gcc out there which works on A/UX 2.0?

Thanks,

Antonio

 

rabindranath72

Well-known member
Ok I think I spotted the problem. The system expects to run "as" locally, but it's a symbolic link to "gas." So I need to compile the binutils first. Drat. :-/

 

rabindranath72

Well-known member
I had 3.1(.1) on the SE/30 but it wasn't very responsive (I have it on my Quadra 650 though); 2.0 has a much smaller memory footprint and is definitely faster. Also, with a 250Mb hard disk I get much more space to "play."

Also, I got the full documentation set for 2.0 (I downloaded the pdfs from bitsavers.org) and it has been very helpful in understanding how the system and all the tools work.

 

tlc630

Well-known member
Thanks! Maybe I'll give 2.0 a try on my IIci.

BTW, have you ever looked for the 2.1 update? Any success?

 

rabindranath72

Well-known member
Even compilation of binutils-2.7 failed, despite it having a target of A/UX. They probably expect A/UX 3 at least, although the target information reports A/UX2.0 (probably just used uname to get the system id string.) Will have to check on my Q650 or find an earlier binutils.

 

rabindranath72

Well-known member
Did a bit of search...apparently the patches to gcc are supposed to work only with A/UX 2.0.1 which changed quite a few things:

http://support.apple.com/kb/TA45086?viewlocale=en_US

most notably:

Includes changes to the A/UX header files, which provide function prototypesand ANSI symbol definitions for third-party ANSI C compilers
so short of finding the patches written by Apple programmers to the earlier versions of gcc-1.39 and 1.40 (which I couldn't find) I'd say there is little chance of a straight port to A/UX 2.0 barring a major overhaul. It seems I must update to at least 3.0. :disapprove:

 
Top