This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

HELP: Can't get multiple gcc versions to work


*** Note: If replying via e-mail remove prepended "ZZZ" from my e-mail address

Hi, I'm having a problem installing multiple version of gcc on my linux box.
My default gcc compiler is version 2.91. However I have a number of programs
that require version 2.8.1 or below to run. I have now installed version 2.8.1
into another directory and have set the following environmental variables:
	LD_LIBRARY_PATH
	C_INCLUDE_PATH
	GCC_EXEC_PREFIX
in the hope that this version will look at the corresponding directories.

However when I attemp to compile programs I get errors of the form:
	/tmp/cca02227.i:1: numeric constant with no digits
	/tmp/cca02227.i:1: numeric constant with no digits
	/tmp/cca02227.i:1: invalid #line
	/tmp/cca02227.i:2: numeric constant with no digits
	/tmp/cca02227.i:2: numeric constant with no digits
	/tmp/cca02227.i:2: invalid #line
	/tmp/cca02227.i:33: numeric constant with no digits
	/tmp/cca02227.i:33: numeric constant with no digits
	/tmp/cca02227.i:33: invalid #line  
	..............

What am I missing here? Any help will be appreciated. Thanks!

-Mike

*** Note: If replying via e-mail remove prepended "ZZZ" from my e-mail address


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]