This is the mail archive of the gcc@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]
Other format: [Raw text]

gcc configuration...!


Hi,

I'm installing gcc on solaris. I downloaded 'gcc-3.2.2.tar'; While
configuration, after some time, it gives following error:
# cd /objdir
# /srcdir/gcc-3.2.2/configure /usr/local/bin
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)
Created "Makefile" in /objdir
cpp: virtual memory exhausted

How should I set CC variable? In my .profile I tried setting,
CC=/usr/local/bin/gcc and CC=/usr/local/bin/cc; where 'gcc' and 'cc' are
ones which I copied from other solaris machine.
If CC is not set, then it asks me to set CC variable.
If CC is set to, CC=/usr/local/bin/gcc, I get above error; but if I set it
to, CC=/usr/local/bin/cc, then I get following error:
# cd /objdir
# /srcdir/gcc-3.2.2/configure /usr/local/bin
*** This configuration is not supported in the following subdirectories:
     target-libffi target-boehm-gc target-zlib target-libjava
    (Any other directories should still work fine.)
Created "Makefile" in /objdir
cpp: Internal compiler error: program cpp got fatal signal 9
*** The command '/usr/local/bin/cc -o conftest -g   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

I want gcc, to compile some of ore programs. So I tried directly using
copied gcc from other solaris machine (Can I use gcc like this), but when I
use 'make' it gives me following error.
# make
gcc -O cgiwrap.c -o GlobalSightImport.cgi
cpp: virtual memory exhausted
*** Error code 1
make: Fatal error: Command failed for target `GlobalSightImport.cgi'


Thanks & Regards,

Vilas


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