The bogus %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}

H . J . Lu hjl@valinux.com
Tue Oct 17 10:02:00 GMT 2000


I think I was the one who put the bogus

%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}

in the spec file :-). I don't see how it can work since

# gcc -dynamic-linker ...

will pass -dynamic-linker to cc1 also. I'd like to fix it. How about

%{!rno-dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}

or

%{!rABI:-dynamic-linker /lib/ld-linux.so.2}

or

%{!rabi:-dynamic-linker /lib/ld-linux.so.2}

Any comments? It was long long time ago. I didn't remember why I
chose that particular switch.


-- 
H.J. Lu (hjl@gnu.org)


More information about the Gcc mailing list