public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44057]  New: building gcc doesn't find Sun ar
@ 2010-05-10 11:28 jay dot krell at cornell dot edu
  2010-05-10 22:03 ` [Bug target/44057] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-10 11:28 UTC (permalink / raw)
  To: gcc-bugs

bin/bash: ar: command not found
gmake[2]: *** [libiberty.a] Error 127
gmake[2]: Leaving directory `/home/jkrell/obj/gcc.x86.sol9/libiberty'
gmake[1]: *** [all-libiberty] Error 2
gmake[1]: Leaving directory `/home/jkrell/obj/gcc.x86.sol9'
gmake: *** [all] Error 2


This is a common occurence for me.
It isn't specific to Solaris 2.9, it also occurs on 2.10.
I don't think it is x86 specific but I don't remember.

Might be nice to add /usr/ccs/bin to path or somesuch.
  Yeah yeah, I can do it myself.

This is with 4.5.0.
Doing a native build.

  $ /home/jkrell/src/gcc-4.5.0/configure -without-gnu-ld
-with-ld=/usr/ccs/bin/ld -without-gnu-as -with-as=/usr/ccs/bin/as -disable-nls
-verbose -disable-bootstrap -prefix=/home/jkrell/i386

Thanks,
 - Jay


-- 
           Summary: building gcc doesn't find Sun ar
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jay dot krell at cornell dot edu
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


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


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

* [Bug target/44057] building gcc doesn't find Sun ar
  2010-05-10 11:28 [Bug c/44057] New: building gcc doesn't find Sun ar jay dot krell at cornell dot edu
@ 2010-05-10 22:03 ` pinskia at gcc dot gnu dot org
  2010-05-10 22:21 ` jay dot krell at cornell dot edu
  2010-05-10 22:31 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-05-10 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-05-10 22:03 -------
If ar is not in your path, there is no GCC bug here really.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target


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


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

* [Bug target/44057] building gcc doesn't find Sun ar
  2010-05-10 11:28 [Bug c/44057] New: building gcc doesn't find Sun ar jay dot krell at cornell dot edu
  2010-05-10 22:03 ` [Bug target/44057] " pinskia at gcc dot gnu dot org
@ 2010-05-10 22:21 ` jay dot krell at cornell dot edu
  2010-05-10 22:31 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jay dot krell at cornell dot edu @ 2010-05-10 22:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jay dot krell at cornell dot edu  2010-05-10 22:21 -------
It'd be nice if:
  ../src/configure 
  gmake 
  gmake install 

worked with a minimum of customizations.
As I understand: ar is not in the default $PATH on Solaris, but it is always
installed to the same place: /usr/ccs/bin/ar. It seems worth looking for it in
its known place, if it isn't in $PATH, if build=host=target=*solaris*.


Thanks,
 - Jay


-- 


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


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

* [Bug target/44057] building gcc doesn't find Sun ar
  2010-05-10 11:28 [Bug c/44057] New: building gcc doesn't find Sun ar jay dot krell at cornell dot edu
  2010-05-10 22:03 ` [Bug target/44057] " pinskia at gcc dot gnu dot org
  2010-05-10 22:21 ` jay dot krell at cornell dot edu
@ 2010-05-10 22:31 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-05-10 22:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-05-10 22:31 -------
Why this is a standard unix issue and not really a GCC issue.  The same could
be said about any program you want to build that uses ar (which is almost all
programs that use static libraries).


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-05-10 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-10 11:28 [Bug c/44057] New: building gcc doesn't find Sun ar jay dot krell at cornell dot edu
2010-05-10 22:03 ` [Bug target/44057] " pinskia at gcc dot gnu dot org
2010-05-10 22:21 ` jay dot krell at cornell dot edu
2010-05-10 22:31 ` pinskia at gcc dot gnu dot org

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).