Snapshot 970901

Jim Wilson wilson@chestnut.cygnus.com
Wed Sep 3 15:22:00 GMT 1997


	I just tried to install the 970901 snapshot on a DECstation 5000/133
	running Ultrix 4.4 and I encountered these errors:

The warnings you can all ignore.  The single error you can't.

	cc: Error: malformed or unknown option -W

You did not include the command that triggered this error, so I can't tell
for sure went wrong, however, the most likely explanation is that you
are using `cc' to compile EGCS, and you tried to build the Fortran front
end.  This will not work.  The Fortran front end can only be compiled by
gcc.  There are numerous ways to work around this.
- Install gcc, and then use it to compile egcs.
- Specify LANGUAGES in the make command, and leave out f77, e.g.
	make LANGUAGES="c c++" all
- cd into the gcc directory, and then build it the normal way
	cd gcc
	make LANGUAGES=c
	make stage1
	make CC="stage1/xgcc -Bstage1/" CFLAGS="-O2 -g"
	cd ..
	make all
The Fortran front end will eventually be modified so that any compiler
can be used to build it, and then this problem will go away.

Jim



More information about the Gcc mailing list