From: Brian Raiter <breadbox@muppetlabs.com>
To: linux-assembly@vger.kernel.org
Subject: Re: gcc gas errors and vim
Date: Sat, 9 Nov 2002 17:46:20 -0800 (PST) [thread overview]
Message-ID: <15821.47724.673551.682792@eidolon.muppetlabs.com> (raw)
In-Reply-To: <3DCDB1F7.8070007@ipeg.com>
> gcc -c -o main.o main.S
> /tmp/ccXhsmV7.s: Assembler messages:
> /tmp/ccXhsmV7.s:22: Error: suffix or operands invalid for `mul'
> gmake: *** [main.o] Error 1
gcc understands a .S file to mean that the assembly program should be
preprocessed first, so it stores the preprocessed output to a
temporary file, with a .s suffix. Run your .S file through the
preprocessor alone to check what's on line 22. (If you don't want your
assembly file preprocessed then change the suffix to .s.)
b
prev parent reply other threads:[~2002-11-10 1:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-10 1:10 gcc gas errors and vim Corey Holcomb-Hockin
2002-11-10 1:46 ` Brian Raiter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15821.47724.673551.682792@eidolon.muppetlabs.com \
--to=breadbox@muppetlabs.com \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox