Subject: | IRIX build fails w/ GCC 4.0 (really GNU ld) |
Starting w/ GCC 4.0 - SGI's need to use the GNU version of LD. The
flags used for creation of shared libraries assume the system LD - and will
give a cryptic message about rpath.
The code in shlib.conf needs to be changed to detect the version of ld
being used.
gcc -print-prog-name=ld
will return the version of ld (either complete path or just ld) being used.
Then run --version and check for GNU.
I have some code written for all this - but needs testing for
all configurations. (native cc, gcc 3.4, gcc 4.x)
flags used for creation of shared libraries assume the system LD - and will
give a cryptic message about rpath.
The code in shlib.conf needs to be changed to detect the version of ld
being used.
gcc -print-prog-name=ld
will return the version of ld (either complete path or just ld) being used.
Then run --version and check for GNU.
I have some code written for all this - but needs testing for
all configurations. (native cc, gcc 3.4, gcc 4.x)