[Bug other/11985] Documentation Bug of the "-B" option

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 19 22:54:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11985


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-19 22:54 -------
It works for me on the mainline with and without the slash at the end.  It also works for me in 3.3.
What do you mean by not working?
Here is my invoke, you can see clearly it works:

/Volumes/UFS_Partition/pinskia/gcc-3.3/bin/gcc -B/Volumes/UFS_Partition/pinskia/src/fsf/gcc-
clean/src/objdir-nocheck/gcc test.c -v 
Reading specs from /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/objdir-nocheck/gcc/
specs
Configured with: /Volumes/UFS_Partition/pinskia/src/fsf/gcc-3.3/src/configure --enable-
threads=posix --disable-nls --disable-multilib --enable-languages=c,c++,objc,f77 --prefix=/
Volumes/UFS_Partition/pinskia/gcc-3.3
Thread model: posix
gcc driver version 3.3.2 20030815 (prerelease) executing gcc version 3.4
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/objdir-nocheck/gcc/cc1 -quiet -v -
isystem /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/objdir-nocheck/gcc/include -
D__DYNAMIC__ test.c -fPIC -quiet -dumpbase test.c -auxbase test -version -o .s
ignoring nonexistent directory "/Users/pinskia/fsf-clean-nocheck/lib/gcc/powerpc-apple-
darwin6.6/3.4/../../../../powerpc-apple-darwin6.6/include"
#include "..." search starts here:
#include <...> search starts here:
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/objdir-nocheck/gcc/include
 /usr/local/include
 /Users/pinskia/fsf-clean-nocheck/include
 /Users/pinskia/fsf-clean-nocheck/lib/gcc/powerpc-apple-darwin6.6/3.4/include
 /usr/include
End of search list.
GNU C version 3.4 20030819 (experimental) (powerpc-apple-darwin6.6)
        compiled by GNU C version 3.4 20030819 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
gcc: spec failure: unrecognized spec option 'm'
 as -o /var/tmp//ccuyoqdf.o .s
 /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/objdir-nocheck/gcc/collect2 -dynamic -o 
a.out -lcrt1.o -lcrt2.o -L/Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/objdir-nocheck/
gcc -L/Volumes/UFS_Partition/pinskia/gcc-3.3/lib/gcc-lib/powerpc-apple-darwin6.6/3.3.2 -L/
Volumes/UFS_Partition/pinskia/gcc-3.3/lib/gcc-lib/powerpc-apple-darwin6.6/3.3.2/../../.. /var/
tmp//ccuyoqdf.o -lgcc -lSystem |
 c++filt3
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status



More information about the Gcc-bugs mailing list