GCC under A/UX

David W. Berry dwb at sticks.apple.com
Tue Jun 6 05:39:48 AEST 1989


In article <422 at wizard.UUCP> john at wizard.UUCP (John Danner) writes:
>I downloaded the gcc binaries and applied the A/UX patches to my gcc sources
>including both gcc-1.35.aux.diffs and gcc-1.35.aux.patch.1.  Unfortunately,
>I am getting the following error on the first source file I try to compile:
>
>make CC=gcc install
>        gcc -c -g  -DAUX_ASM   -I./config c-parse.tab.c
>Assembler: /tmp/cca00589.s
>        aline 13915     : Warning: Table overflow: some optimizations lost (Labels)
>        aline 8707      : Symbol Table Stack Overflow
>*** Error code 1
>
>Stop.
>
>Any suggestions?
	Unfortunately, gcc is too big for the assembler to cope with if
compiled with the -g option.  Try changing CFLAGS to not include -g.

>
>I want to generate some of the object files because they are needed by g++.
>Is the person within Apple who successfully created the gcc binaries working
>on compiling g++?
	Well, I've got it to compile, but haven't had time to do more than
that.  If somebody else is interested I can give them the changes necessary
to make it compile.  **THIS IS NOT ENOUGH TO MAKE IT WORK**  Unfortunately
the coff'izing changes for g++ require the assembler to understand the
.segment operator and the A/UX assembler doesn't.  Somebody will have to
cobble together something along the lines of the post loader or some such.
Opinions:  MINE, ALL MINE! (greedy evil chuckle)

David W. Berry		(A/UX Toolbox Engineer)
dwb at apple.com		973-5168 at 408.MaBell		AppleLink: berry1



More information about the Comp.unix.aux mailing list