This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
HELP: Can't get multiple gcc versions to work
- To: help-gcc at gnu dot org
- Subject: HELP: Can't get multiple gcc versions to work
- From: Mike <ZZZmw at bartok dot shef dot ac dot uk>
- Date: 6 Nov 1999 19:34:46 GMT
- Newsgroups: gnu.gcc.help
- Organization: Sheffield University, UK
- Xref: wodc7nx0 gnu.gcc.help:1702
*** 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