[comp.unix.aix] GNU C under AIX problem

slavin@acf4.NYU.EDU (Scott Slavin) (01/10/90)

I'm having trouble installing GNU C version 1.36!  I'm compiling
it under AIX 1.1 on a Model 80.  It compiles fine with the AIX
C compiler, but after I do a 'make stage1', and try to compile
it with gcc, I get a syntax error with a .stab!

I really need to get GNU C working, does anybody have any
suggestions.

Thanks in advance

Scott Slavin
slavin@acf4.nyu.edu

guarna@sp17.csrd.uiuc.edu (Vince Guarna) (01/11/90)

Get rid of the -g in all of the makefiles and all should be well.  GCC and G++
run on my model 80 (AIX 1.1) with no problems.  You also need to get
rid of -O since that seems to cause the recompilations to run out of 
VM space.  I think that was all that was needed...if you still have trouble,
send me some e-mail and we can figure it out.

One other thing -- I notice that we commented out the define for
DBX_DEBUGGING_INFO in the file tm_aix386.h.  This disables the
-g option in the compiler.  Don't really know if this is required or not.
If you learn something about this, I would appreciate knowing.

	Vince Guarna
	University of Illinois
	guarna@uicsrd.csrd.uiuc.edu