This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: Why doesn't this assemble for elf but does for pe?


"Stephen P. Smith" <ischis2@cox.net> writes:

> It looks like no matter what I do below, the / functions as a comment
> character.  $ i686-pc-elf-as --version

Yes, by default an i386 ELF assembler uses '/' as a comment character,
for SVR4 compatibility.

This is disabled if you configure for, e.g., i686-linux-gnu, or for
other free operating systems.  In those cases, '/' is a comment
character only at the start of a line.

Ian


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