linux-l: gcc => a.out

Michael Wiedmann mw at miwie.in-berlin.de
Mo Feb 14 20:47:24 CET 2000


Oliver Bandel (oliver at first.in-berlin.de) wrote:
 
> Im makefile hatte ich noch folgendes ergänzend eingetragen:
> 
> -Xlinker -F -Xlinker a.out-i386-linux
> 
> Die Option "a.out-i386-linux" hatte mir objdump -i ausgegeben.

Allerdings sagt mir mein ´man ld´ zu deinem ´-F name´:

 When creating an ELF shared object, set the  inter­
 nal  DT_FILTER  field  to the specified name.  This
 tells the dynamic linker that the symbol table  of
 the shared object should be used as a filter on the
 symbol table of the shared object name.     

hat also reichlich wenig mit dem zu tun, was du erreichen willst.

Schau dir mal ´-oformat output-format´ an...

> Das ganze wird auch ohne Murren compiliert; allerdings
> sagt mir "file", es handele sich um ein ELF-Format.

Kein Wunder, entspricht dem erwarteten Verhalten.

> Wo also kann es haken?

man page richtig lesen.

Michael
-- 
          Looking for an X11 based PalmPilot Address Manager?
        Have a look at http://www.in-berlin.de/User/miwie/pia/



Mehr Informationen über die Mailingliste linux-l