Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by George Lindholm
Wed, 12 Aug 1992 22:36
gcc 2.2.2 -p option broken with sgi irix 4.0.4
Author: George Lindholm
Date: Wed, 12 Aug 1992 22:36
Date: Wed, 12 Aug 1992 22:36
28 lines
1563 bytes
1563 bytes
One of our users just pointed out to me that the -p option doesn't work with sgi's irix 4.0.4 as shown below: lindholm@numeric1$ gcc -v -p a.c Reading specs from /usr/local/lib/gcc-lib/mips-sgi-irix4/2.2.2/specs gcc version 2.2.2 ... /usr/local/lib/gcc-lib/mips-sgi-irix4/2.2.2/ld /usr/lib/mcrt1.o -L/usr/local/lib/gcc-lib/mips-sgi-irix4/2.2.2 -L/usr/local/lib a.o -lgcc -lc_p /usr/lib/crtn.o-lgcc ld: Can't locate file for: -lc_p collect: /usr/bin/ld returned 1 exit status And here is what cc says: lindholm@numeric1$ cc -v -p a.c ... /usr/bin/ld -G 8 -g0 -nocount /usr/lib/mcrt1.o /usr/lib/libprof1.a -count a.o -nocount -lc /usr/lib/crtn.o Does anyone have a fix for this? Also, shouldn't the -pg option be removed (or aliased to -p) since sgi doesn't have gprof command? Thanks George -- George Lindholm phone: (604) 822-4375 University Computing Services, UBC fax: (604) 822-5116 6356 Agricultural Road, Vancouver, B.C., Canada internet: lindholm@ucs.ubc.ca V6T 1Z2 bitnet: USERGNL@UBCMTSG
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