This is the mail archive of the gcc-patches@gcc.gnu.org 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]

Creating executable with relocation information using Darwin linker


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



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