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]

RE: gcc 3.2.3 Solaris C,C++ build error


Lars Schouw wrote: 

> This brings be further in the compilation where it stops with some
> 64 bit problem again....
:
> configure: error: installation or configuration
> problem: C compiler cannot create executables.
> gmake: *** [configure-target-libiberty] Error 1
>
> How do I solve this problem?

Have a look at config.log to see what the compile error actually was.

Best guess it can't find /usr/lib/sparcv9/values-Xa.o which means you're
missing package SUNWarcx. You can install this from your Solaris media.
You'll probably also want SUNWcslx and perhaps SUNWtoox.

If you can't find the compile error in the log then you could run a quick
test yourself, e.g.

    cat >conftest.c
    int main(void) { return 0; }

then press ctrl-d, and then try to compile this 64-bit with the new xgcc:

    /home/schouwl/unpack/gcc/gcc-3.2.3/gcc/xgcc
      -B/home/schouwl/unpack/gcc/gcc-3.2.3/gcc/
      -B/opt/software/gcc/3.2.3/sparc-sun-solaris2.8/bin/
      -m64 -v -c conftest.c

Good luck,
Rup.


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