Article View: gnu.gcc.help
Article #41501Re: Trouble compiling C and assembly
From: Joe Buck
Date: Fri, 22 Mar 1996 00:00
Date: Fri, 22 Mar 1996 00:00
14 lines
1074 bytes
1074 bytes
baltz@nunki.usc.edu (K.C. Baltz) writes: >I have recently upgraded to GCC 2.7.0 in upgrading my linux box to ELF. >... But now when I try and compile, all the .o's get made >alright, but the linker bails complaining that the two assembly routines >are not found. On Linux, the a.out C compiler appends an underscore to symbol names, but the ELF one does not. This means that you have to remove the underscore from your assembly language global symbol names. -- -- Joe Buck <jbuck@synopsys.com> (not speaking for Synopsys, Inc) Work for something because it is good, not just because it stands a chance to succeed. -- Vaclav Havel
Technical Details
Message-ID:
<4iup7l$gkk@hermes.synopsys.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4iplh8$haq@nunki.usc.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,dda4e02030754fa8 X-Google-Attributes: gid11318c,public From: jbuck@synopsys.com (Joe Buck) Subject: Re: Trouble compiling C and assembly Date: 1996/03/22 Message-ID: <4iup7l$gkk@hermes.synopsys.com> X-Deja-AN: 143741054 references: <4iplh8$haq@nunki.usc.edu> organization: Synopsys Inc., Mountain View, CA 94043-4033 newsgroups: gnu.gcc.help