an installation bug in either gcc, gld, or readline -- I don't know which
Andrew Koenig
ark@research.att.com
Tue Dec 25 10:40:00 GMT 2001
I just installed gcc 3.0.3 on a Solaris 8 (aka Solaris 2.8) machine.
Installation of readline 4.2a (the latest version, as far as I know)
fails with the message
/usr/gnu/bin/ld: -r and -shared may not be used together
The command that fails is
gcc -shared -Wl,-i -Wl,-h,libreadline.so.4 -o libreadline.so.4 readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so nls.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so tilde.so compat.so
I am reporting this problem to gcc-bugs because the cause appears to be
that gcc is passing options to the Gnu loader that the loader will not
accept. I would think that that should not happen even if inappropriate
options are given to the gcc command.
Regards,
Andrew Koenig
More information about the Gcc-bugs
mailing list