Creating executable with relocation information using Darwin linker

Moshe Klausner KLAUSNER@il.ibm.com
Thu Mar 18 09:05:00 GMT 2004


I'm not sure I'm posting the my question to the right place. If not please
advice where to post.

I was trying to maintain the relocation information when linking on MAC OS
X with Darwin linker (default ld?) using the -r option.
However, the output file was not executable.
I also tried the -execute but did not help.

How can I create an executable without stripping the relocation (and
symbols) information at link time?

Thanks & Regards, Moshe
-------------------------------------------------------------------------
Moshe Klausner
IBM Research Lab in Haifa.
Haifa University, Mount Carmel, Haifa 31905, ISRAEL
Phone: (972) 4-829-6217, Mobile: (972) 53-790-448, Fax: (972) 4-829-6116




More information about the Gcc-patches mailing list