[odb-users] C compiler cannot create executables
Boris Kolpackov
boris at codesynthesis.com
Wed Jan 29 02:16:04 EST 2014
Hi Michael,
Hess, Michael M <mmhess at sandia.gov> writes:
> As can be seen in the attached config.log file, configure attempts
> to compile conftest.c, but fails.
Thanks for providing the log. It appears that configure picks up
the internal version of GCC that is used by ODB:
/opt/odb-2.3.0-x86_64-linux-gnu/lib/odb/x86_64-linux-gnu/bin/gcc
And it does this because you have added its directory to your PATH:
PATH: /opt/odb-2.3.0-x86_64-linux-gnu/lib/odb/x86_64-linux-gnu/bin
This should not be necessary and is generally a bad idea since it
"hides" your system GCC. Any reason why you went to the trouble
of finding and adding this directory to PATH?
Boris
More information about the odb-users
mailing list