Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Orest Zborowski COMP
Tue, 05 Jan 1993 01:31
gcc-2.3.3: gcc -E foo.s runs gas
Author: Orest Zborowski COMP
Date: Tue, 05 Jan 1993 01:31
Date: Tue, 05 Jan 1993 01:31
33 lines
1352 bytes
1352 bytes
Trying to run makedepend for X11R5 I discovered that gcc -E foo.s will run
the assember, rather than stopping after performing any preprocessing:
---foo.s---
#define florp blorp
florp
---
% gcc -v -E foo.s
Reading specs from /usr/local/lib/gcc-2.3.3/gcc-lib/sparc-sun-sunos4.1/2.3.3/specs
gcc version 2.3.3
as -o /usr/tmp/cca233591.o foo.s
as: "foo.s", line 1: error: unknown opcode "FLORP"
as: "foo.s", line 1: error: statement syntax
gcc: /usr/tmp/cca233591.o: No such file or directory
Sun cc produces:
% cc -E foo.s
# 1 "foo.s"
blorp
I inferred from the manpage that
-c stops after producing .o
-S stops after producing .s
-E stops after producing cpp file
It wasn't clear what was supposed to happen with a .s file, but Sun's behavior
seems consistent. Am I misunderstanding something?
zorst
--
zorst (orest zborowski)
[obz@raster.Kodak.COM]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads