This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why doesn't this assemble for elf but does for pe?
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Stephen P. Smith" <ischis2 at cox dot net>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: 30 Apr 2003 11:03:21 -0700
- Subject: Re: Why doesn't this assemble for elf but does for pe?
- References: <3EADF43D.4030103@cox.net> <3EB00882.6030601@cox.net>
"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