underscore - coff vs. aout

Michael Schwingen rincewind@discworld.dascon.de
Tue Jul 13 11:33:00 GMT 1999

On Mon, Jul 12, 1999 at 11:14:11AM -0500, Todd_Manchester@nmss.com wrote:
> I have a number of assembly files with symbols written with a underscore
> prepended so that they will link with .c files compiled for a.out format.
> I was thinking of changing to coff format, and I would like to know if
> there was a way to compile the .c files for coff so that they would still
> link correctly to the assembly files (that is, with prepended underscores).

Change USER_LABEL_PREFIX (somewhere in config/m68k) to "_" before building
the compiler - works fine here. I do not know if there is a method tho
change this after building the compiler.

Michael Schwingen, Ahornstrasse 36, 52074 Aachen
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

More information about the crossgcc mailing list