From: Markus W. <M....@we...> - 2004-11-30 12:39:03
|
Earnie Boyd wrote: ><quote who="Markus Wenke"> > > >>Hi, >> >>I use my i386-elf-ld (mingw hosted) with the option "-dynamic-linker >>/lib/ld-linux.so.2". >>If I run the linker in a dos prompt all worked fine, the "readelf -l >>PROGNAME" >> >>returns >>.... >> [Requesting program interpreter: /lib/ld-linux.so.2] >>.... >> >>But If I run the linker(the same commandline) in the msys-Shell readelf >>returns >>.... >> [Requesting program interpreter: c:/linux-xgcc/lib/ld-linux.so.2] >>.... >> >>How can I avoid this? >> >> >> > >Well, I never envisioned someone not wanting the paths converted when >commmunicating to a ``native'' program. You can build your program >dependent on the msys-1.0.dll and the conversion will not take place. I >don't know if that is exactly what you want though. > > > > It is a Cross-Linker/compiler, and linux doesn't know c: ;-) The problem was, that the linker-command was invoked by the makefile, and than it doesn't work. Now, I start the command with "cmd /c 'ld ......' " and it worked. |