shared library -Wl command line option

tckosvic tcklinux@ix.netcom.com
Sat Dec 6 15:37:00 GMT 2014


GCC Group, 
I'm not a heavyweight programmer just an engineer hacker but I've found an
issue. I am working with nasa GMAT orbital mechanics code.  Code is  *.cpp 

I have a line of code as below in a make file:

SHARED_LIB_FLAGS = -shared -Wl

I now get error message:

g++: error: unrecognized command line option ‘-Wl’          That kills the
compilation.  I've tried with both gcc48 and gcc49.

This code compiled previously in older version.  I've updated my openSUSE
several times since last compiling but it did compile with some older but
unknown version of gcc.
I don't know what this option does and whether I can delete it.
I though I'd ask experienced people before I deleted it and perhaps going
off astray.

Thank, Tom Kosvic




--
View this message in context: http://gcc.1065356.n5.nabble.com/shared-library-Wl-command-line-option-tp1098667.html
Sent from the gcc - libstdc++ mailing list archive at Nabble.com.



More information about the Libstdc++ mailing list