This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [build, doc, v3] Support Sun symbol versioning in libstdc++-v3, rev. 2

IainS <> writes:

> configure:4156: /GCC/gcc-4-6-trunk-build/./gcc/xgcc -B/GCC/gcc-4-6-
> trunk-build/./gcc/ -B/GCC/gcc-4-6-install/i686-apple-darwin9/bin/ -B/
> GCC/gcc-4-6-install/i686-apple-darwin9/lib/ -isystem /GCC/gcc-4-6-
> install/i686-apple-darwin9/include -isystem /GCC/gcc-4-6-install/i686-
> apple-darwin9/sys-include    -o conftest -g -O2   -fPIC -shared -Wl,-
> M,./ conftest.c  >&5
> ld warning: in ./, file is not of required architecture
> configure:4156: $? = 0
> configure:4166: result: sun
> hm.  I guess that -M is unrecognized and the linker falls back to it's
> default which is to expect the remaining items to be objects - which,  of
> course, the ma file is not.  However, since the link does not  actually
> fail - I guess it only reports a warning.

I've seen similar behavior in the SGI ld which warns about an unknown
option, but still exits with 0.


Rainer Orth, Center for Biotechnology, Bielefeld University

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]