gcc doesn't pass stdout to ld?

Neal Becker neal@ctd.comsat.com
Fri Dec 5 08:05:00 GMT 1997


With gcc-2.7.2, I used to do:

/usr/local/m68k/m68k-unknown-coff/bin/gcc -m68000 -msoft-float -T
flash.ld -o rcv -v apps/crt0.o apps/main.o apps/init.o apps/jumptbl.o
version.o -Lapps -lapps -Lapi -lapi -Lscc -lscc -Lccube -lccube
-Ldemod -ldemod -Lperipher -lperipher -Lrf -lrf -Llibgloss -lgloss -u
main -lm -lc -lgloss -nostartfiles -Wl,-M > map

To get a map file.  It appears that egcs-1.0 doesn't pass the stdout
to ld, because now the map is written not to the redirected "map", but 
to my terminal.  Any reason for the change?  A workaround?



More information about the Gcc mailing list