bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug cp-tools/38715] gcc 4.4.0 20090102 - tools/Makefile using a non por


From: david dot kirkby at onetel dot net
Subject: [Bug cp-tools/38715] gcc 4.4.0 20090102 - tools/Makefile using a non portable find option
Date: 1 Nov 2009 21:36:05 -0000


------- Comment #8 from david dot kirkby at onetel dot net  2009-11-01 21:36 
-------
(In reply to comment #6)
> (In reply to comment #5)
> > I presume the X/Open specification quoted is available somewhere.
> > 
> 
> http://www.opengroup.org/onlinepubs/009695399/utilities/find.html
> 
> That's not quite the latest version of the spec, but no -path there.
> 

The 2008 edition of the POSIX spec is available online.

http://www.opengroup.org/onlinepubs/9699919799/utilities/find.html

and -path is not in that either. But in any case, I personally believe that
even if -path were in the 2008 POSIX  spec, but not the 2004 POSIX spec, -path
should not be used. Expecting people to have all the latest standards is a bit
unreasonable. 

On OpenSolaris, it's possible to download 'SUNWgnu-findutils' with the Package
manager. 

  Summary:               GNU utilities find and xargs
  Size:                  769.50 kB
  Category:              Applications/System Utilities
  Installed Version:     0.5.11,5.11-0.111
  Latest Version:        0.5.11,5.11-0.111
  Packaging Date:        Fri May  8 16:05:46 2009
  FMRI:                 
pkg:/address@hidden,5.11-0.111:20090508T160546Z
  Repository:            opensolaris.org

On Solaris 10, I do not believe there is any easy way around this - you would
probably need to use Blastwave, Sunfreeware or compile from source. 

On OpenSolaris I got around the issue by downloading the GNU findutils, copying
'find' to /tmp and adding that in my path. 

address@hidden:~/gcc-4.4.2$ cp /usr/gnu/bin/find /tmp
address@hidden:~/gcc-4.4.2$ export PATH=/tmp:$PATH
address@hidden:~/gcc-4.4.2$ /opt/csw/bin/gmake 

But it would be much better to get rid of the GNUism. I would like to build gcc
on HP-UX, and no doubt will hit exactly the same issue there. 

Dave 


-- 


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]