public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/11985] New: Documentation Bug of the "-B" option
@ 2003-08-19 22:07 harald at redhat dot com
  2003-08-19 22:54 ` [Bug other/11985] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: harald at redhat dot com @ 2003-08-19 22:07 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Documentation Bug of the "-B" option
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: harald at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org

from the info page:
>      The compiler will check to see if the path provided by the `-B'
>      refers to a directory, and if necessary it will add a directory
>      separator character at the end of the path.

This is not true... it seems to work only if a / at the end is appended to the path.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/11985] Documentation Bug of the "-B" option
  2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
@ 2003-08-19 22:54 ` pinskia at gcc dot gnu dot org
  2003-08-19 23:51 ` schwab at suse dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-19 22:54 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/11985] Documentation Bug of the "-B" option
  2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
  2003-08-19 22:54 ` [Bug other/11985] " pinskia at gcc dot gnu dot org
@ 2003-08-19 23:51 ` schwab at suse dot de
  2003-08-20  2:18 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: schwab at suse dot de @ 2003-08-19 23:51 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From schwab at suse dot de  2003-08-19 23:51 -------
This is not how -B worked in gcc < 3.0: The argument of -B is supposed to be a 
simple prefix, so that -Bfoo will find foocc1, fooas, foold, etc (no path 
search).


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/11985] Documentation Bug of the "-B" option
  2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
  2003-08-19 22:54 ` [Bug other/11985] " pinskia at gcc dot gnu dot org
  2003-08-19 23:51 ` schwab at suse dot de
@ 2003-08-20  2:18 ` pinskia at gcc dot gnu dot org
  2003-08-20  9:57 ` harald at redhat dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-20  2:18 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-20 02:18 -------
So what I am understanding is that Harald is using a GCC whose version is less than 3.0 
and he is reading the manual (info page) for a 3.2.2 based one.  Is that right Harald or is 
that the 3.2.2 you are using a redhat version which reverted this what 3.0 used to do?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/11985] Documentation Bug of the "-B" option
  2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
                   ` (2 preceding siblings ...)
  2003-08-20  2:18 ` pinskia at gcc dot gnu dot org
@ 2003-08-20  9:57 ` harald at redhat dot com
  2004-05-12 22:55 ` giovannibajo at libero dot it
  2004-05-12 22:57 ` giovannibajo at libero dot it
  5 siblings, 0 replies; 7+ messages in thread
From: harald at redhat dot com @ 2003-08-20  9:57 UTC (permalink / raw)
  To: gcc-bugs

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


harald at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED
            Version|3.2.2                       |2.96 (redhat)


------- Additional Comments From harald at redhat dot com  2003-08-20 09:57 -------
ooops, I forgot, this is the old gcc 2.96 (redhat), and I read the new info
pages... sorry.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/11985] Documentation Bug of the "-B" option
  2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
                   ` (3 preceding siblings ...)
  2003-08-20  9:57 ` harald at redhat dot com
@ 2004-05-12 22:55 ` giovannibajo at libero dot it
  2004-05-12 22:57 ` giovannibajo at libero dot it
  5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-05-12 22:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-05-12 10:46 -------
this is not a real bug

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/11985] Documentation Bug of the "-B" option
  2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
                   ` (4 preceding siblings ...)
  2004-05-12 22:55 ` giovannibajo at libero dot it
@ 2004-05-12 22:57 ` giovannibajo at libero dot it
  5 siblings, 0 replies; 7+ messages in thread
From: giovannibajo at libero dot it @ 2004-05-12 22:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-05-12 10:47 -------
Just invalid

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
   Target Milestone|3.4.0                       |---


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-12 10:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-19 22:07 [Bug other/11985] New: Documentation Bug of the "-B" option harald at redhat dot com
2003-08-19 22:54 ` [Bug other/11985] " pinskia at gcc dot gnu dot org
2003-08-19 23:51 ` schwab at suse dot de
2003-08-20  2:18 ` pinskia at gcc dot gnu dot org
2003-08-20  9:57 ` harald at redhat dot com
2004-05-12 22:55 ` giovannibajo at libero dot it
2004-05-12 22:57 ` giovannibajo at libero dot it

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).