Configure seems c++ to be a cross compiler
Freyh@realTech.de
Freyh@realTech.de
Thu Sep 30 23:56:00 GMT 1999
Hi there again,
I just want to say that I fixed the problem.
The difference between c and c++ exeutables is that c++ needs libstdc++.
I installed gcc with shared libraries (e.g. libstdc++.so). But I forgot to
add
/usr/local/lib to LD_LIBRARY_PATH , so the configure's test prog counldn't
find the library at runtime.
After extending LD_LIBRARY_PATH everything according to JTC goes fine.
regards, Juergen
> Hi there,
>
> I build and installed gcc-2.95.1 on a Solaris-2.5.1 box successfully.
>
> Now I failed to build the JThread-Package. The configure script coming
> with that package detects the c++ compiler to be a cross compiler. I asked
> the
> OOC mailing list what can be wrong, already. OOC answered that it looks as
> if the compiler installation is broken. But there was no error while
> building
> and installing the compilers. That's why I ask here if someone has an idea
> what went wrong on my gcc installation. I used the following command to
> configure gcc:
>
> ../gcc-2.95.1/configure --enable-languages=c,c++ --enable-shared
> --enable-threads
>
> For further information I append the configure output below, maybe that
> will help you.
>
> Thanks in advance for your help
>
> regards,
> -Juergen
>
More information about the Gcc-help
mailing list