Installing gcc on A/UX 1.1

John Kane jak9213 at helios.TAMU.EDU
Tue Dec 5 06:07:33 AEST 1989


In article <1989Dec4.062116.3446 at servalan.uucp>, rmtodd at servalan.uucp (Richard Todd) writes:
> In article <3961 at helios.TAMU.EDU> jak9213 at helios.TAMU.EDU (John Kane) writes:
> >The subject about says it.
> >
> >I have A/UX 1.1, the gcc files from apple.com
> >
> >Following the instructions in the README, I get to the point where a do
> >a new "make". everything works for a while, but I then get the message
> >"too many defines".
>   The problem is that the source for gcc is too complex for Apple's C compiler
> to handle.  Believe it or not, the stock AT&T-derived CPP allocates space
> for handling defines from a *fixed size buffer* (32K, I believe), and if 
> your source code has more #defines than that, tough.  Rumour has it that 
> in SVR4 AT&T has finally learned about malloc(3) and fixed this piece of
> braindamage, but that's not much help to us now.
>   So how do you compile gcc?  Well, you need a compiler and C preprocessor
> that allocate space for #defines and other stuff dynamically instead of
> using fixed-size buffers.  I.e., you need GCC binaries.  Fortunately,
> there's a set of gcc binaries already made up and sitting there on
> apple.com; I forget the exact file name but it's in the same directory with
> gcc's source, so it should be easy to find.  Then simply hack the makefiles
> etc. to use gcc instead of cc and everything should be just fine.  Of
> course, there's no real reason to compile gcc when you've got the binaries
> available, unless you want to hack on it; if all you're interested in is
> being able to use the superior optimizations, ANSIness, etc. of gcc, you
> can just install the binaries and go home for the day.  
> 

[stuff deleted]

> Richard Todd	rmtodd at uokmax.ecn.uoknor.edu  rmtodd at chinet.chi.il.us
> 	rmtodd at servalan.uucp
> Motorola Skates On Intel's Head!

My mistake, I should have mentioned that I was running the gcc binaries
from apple.com. I still got the error, but at this time I cannot
absolutely state that it was compiled with gcc, but I feel very strongly
that it was.

I have been beating against this for about a week. If I can't get it to
compile, how can I ever install future patches?


I have been having problems installing other software. I guess that I am
used to the Sun 3/280 environment that I have done most of my work on.
Getting used to SVR2 is a pain, but I have no choice.

BTW - has anyone ever installed Perl 3.0 successfully?
I was/am having troubles doing so, and this lead me to trying to get gcc
up and running, which lead to this problem, ad nauseum.

Thanks.




 John Arthur Kane, Systems Analyst, Microcomputer Support and Training
 Texas A&M University, College Station, TX 77843  (409) 845-9999

 jak9213 at helios.tamu.edu     profs: x043jk at tamvm1.tamu.edu



More information about the Comp.unix.aux mailing list