Thread View: gnu.gcc.help
2 messages
2 total messages
Started by Rusty Wright
Fri, 18 Dec 1992 15:02
how do you recompile gcc if you don't have cc?
Author: Rusty Wright
Date: Fri, 18 Dec 1992 15:02
Date: Fri, 18 Dec 1992 15:02
6 lines
802 bytes
802 bytes
I have a SPARCstation that I've just installed Solaris 2.1 on. I don't have Sun's C compiler. I got the Cygnus gcc binaries for Solaris 2.1 from ftp.uu.net. Using the Cygnus gcc, how can I compile the latest version of gcc? In the Makefile, it has a macro OLDCC; you're supposed to use cc to compile the the library of arithmetic subroutines. If I don't have cc then how can I recompile gcc?
Re: how do you recompile gcc if you don't have cc?
Author: Rusty Wright
Date: Mon, 21 Dec 1992 23:28
Date: Mon, 21 Dec 1992 23:28
17 lines
1040 bytes
1040 bytes
As Jim Lynch (jimlynch@netcom.com) and others suggested, if you do make CC=/opt/cygnus/bin/gcc LANGUAGES=c it properly makes gcc. When I compile gcc I like to have it recompile itself with itself, which you can do via "make bootstrap" but that doesn't pass CC on properly, so in order to get that to work you'll need to edit the Makefile and for the bootstrap: action, fix the first non-commented line and add CC="$(CC)" to it. Now mine says $(MAKE) CC="$(CC)" LANGUAGES=c
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