Date: Sat, 29 May 1999 11:18:49 +0900 From: Jun Kuriyama <kuriyama@sky.rim.or.jp> To: FreeBSD-current <FreeBSD-current@FreeBSD.ORG> Subject: Invocating as at "gcc -pipe filename.s" Message-ID: <374F4E89.68CEAEBA@sky.rim.or.jp>
next in thread | raw e-mail | index | archive | help
On my 3.1-REL and 3.1-STABLE-19990331 systems, invocation of gas at "gcc
-pipe" is not treated correctly.
For example, on my 2.2.8-STABLE system says,
-----
moon: {101} touch test.s
moon: {102} gcc -v -pipe test.s
gcc version 2.7.2.1
/usr/bin/as -o /var/tmp/ccsU37121.o test.s
/usr/bin/ld -e start -dc -dp /usr/lib/crt0.o -L/usr/libdata/gcc
/var/tmp/ccsU37
121.o /usr/lib/libgcc.a -lc /usr/lib/libgcc.a
/usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment
moon: {103}
-----
gcc doesn't use -pipe option when passes test.s to /usr/bin/as. But on
my 3.1-RELEASE system,
-----
leda: {100} touch test.s
leda: {101} gcc -v -pipe test.s
gcc version 2.7.2.1
/usr/libexec/elf/as -v -o /var/tmp/ccjoC3551.o test.s -
GNU assembler version 2.9.1 (i386-unknown-freebsdelf), using BFD version
2.9.1
^C
leda: {102}
-----
gcc passes test.s and "-" to /usr/libexec/elf/as. With these arguments,
/usr/libexec/elf/as waits source from stdin (but "-" should be "--").
Does anyone know that this problem may occur on recent -current system?
# Sorry, I have no -current system for testing now.
--
Jun Kuriyama // kuriyama@sky.rim.or.jp
// kuriyama@FreeBSD.ORG
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?374F4E89.68CEAEBA>
