🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Bob Manson Tue, 20 Sep 1988 21:35
GCC 1.28 and HP-UX 6.2
#1671
Author: Bob Manson
Date: Tue, 20 Sep 1988 21:35
25 lines
1543 bytes
I'm having trouble getting GCC 1.28 to compile under HP-UX 6.2 (running on
an HP 9000/330). I can make the first stage OK, but when I try to
compile gcc again using the stage1 gcc, it hangs in an infinite loop
trying to compile c-parse.tab.c. I can't include any other useful info because
gcc doesn't generate debug info that our debugger likes....by the way,
GCC 1.27 compiled without a hitch.

By the way, for 6.2 you need to add a -Wc,-Np300 to the CFLAGS in the Makefile.
Also, there is a cast that needs to be done in expr.c, line 1610:

      return store_field (to_rtx, bitsize, bitpos, mode1, from,
			  want_value ? (enum machine_mode)TYPE_MODE (TREE_TYPE (to)) :   VOIDmode,
			  unsignedp);

The (enum machine_mode) before TYPE_MODE.... needs to be added. The HP C
compiler seems to have troubles with enumerated data types in various
situations but I've never bothered to isolate the cause (lots of warnings
about the gcc code). In this case, the "differing types" occured across the
: operator, so it was a fatal error.

Wish I could be more helpful about the hanging problem....

							Thanks,
							 Bob
manson@tut.cis.ohio-state.edu
Re: GCC 1.28 and HP-UX 6.2
#1672
Author: Bob Sutterfield
Date: Tue, 20 Sep 1988 21:58
4 lines
579 bytes
Are you using the current bison?
-=-
Zippy sez,								--Bob
Isn't this my STOP?!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads