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]
Other format: [Raw text]

RE: Help installing GCC on Solaris 7?


Jason McClelland wrote:

> configure: error: installation or configuration problem: C compiler
> cannot create executables.

You'll find more information in config.log, or you can try it yourself: make
a simple test.c with something like

    int main(void) { return 0; }

and try compiling it verbosely:

    gcc -v test.c

My best guess is that you're missing the Sun tools package SUNWtoo (an error
like "could not execute as") or maybe SUNWarc instead (a linker error
against a non-GCC library). You'll find a list of packages you need in the
target-specific install notes,

    http://gcc.gnu.org/install/specific.html#x-x-solaris2

Rup.


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