<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: gcc compilers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814663#M85217</link>
    <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;Thanks for the swift reply. However, the find utility also produces other results which are not in the match :&lt;BR /&gt;&lt;BR /&gt;/stor/local/generic/build/vdce_ct/x/test&lt;BR /&gt;open /stor/local/generic/.writable/csd/md6ra/2001&lt;BR /&gt;find: cannot open /stor/local/generic/class&lt;BR /&gt;find: cannot open /stor/local/generic/skel/projects/csh/RCS&lt;BR /&gt;find: cannot open /stor/local/generic/skel/old&lt;BR /&gt;find: cannot open /stor/local/generic/ftp/bin            &lt;BR /&gt;/stor/local/hp700_ux110/gnu/bin/gcc&lt;BR /&gt;/stor/local/hp700_ux110/gnu/cygnus/progressive-95q2/H-hppa1.1-hp-hpux9.05/bin/gcc&lt;BR /&gt;/stor/local/hp700_ux110/gnu/cygnus/progressive-95q1/H-hppa1.1-hp-hpux/bin/gcc&lt;BR /&gt;&lt;BR /&gt;I tried removing lines begining with "find: cannot ...", using the following 2 methods but it did not work:&lt;BR /&gt;# find / -name gcc -exec grep -v "find: cannot" {} \;&lt;BR /&gt;&lt;BR /&gt;OR:&lt;BR /&gt;#find / -name gcc -print |grep -v "find: cannot"&lt;BR /&gt;&lt;BR /&gt;Could you help me out?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Fri, 27 Sep 2002 03:24:31 GMT</pubDate>
    <dc:creator>Chern Jian Leaw</dc:creator>
    <dc:date>2002-09-27T03:24:31Z</dc:date>
    <item>
      <title>gcc compilers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814661#M85215</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to find the version of gcc compiler. I did a gcc -v and it displayed a version of gcc from the default location at /usr/bin/gcc. i.e :&lt;BR /&gt;gcc -v&lt;BR /&gt;Reading specs from /usr/bin/gcc/3.1/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1/specs&lt;BR /&gt;Configured with:../gcc-3.1/configure --host=hppa2.0w-hp-hpux11.00 ...(and configuration settings continues ...)&lt;BR /&gt;&lt;BR /&gt;However, I do have some other gcc compilers of different versions stored in some other locations, but I'm not sure where. &lt;BR /&gt;&lt;BR /&gt;I would like to locate the gcc 2.95.1 version compiler.&lt;BR /&gt;&lt;BR /&gt;Is there a way to use the "find" utility to search for a version of a tool e.g gcc? &lt;BR /&gt;Or do I need a script to do this? If so, could someone show me how I could write the script to locate for the different versions of gcc, or any other tools for that matter? &lt;BR /&gt;&lt;BR /&gt;Could someone help me out?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 27 Sep 2002 02:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814661#M85215</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2002-09-27T02:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: gcc compilers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814662#M85216</link>
      <description>I'd just do a find looking for your gcc and the do a 'gcc -v' usr the full path to the files it finds.&lt;BR /&gt;&lt;BR /&gt;An example:&lt;BR /&gt;&lt;BR /&gt;# find /dir -name gcc -print&lt;BR /&gt;/dir/dir1/gcc&lt;BR /&gt;/dir/dir2/gcc&lt;BR /&gt;&lt;BR /&gt;Then just do a:&lt;BR /&gt;&lt;BR /&gt;# /dir/dir1/gcc -v&lt;BR /&gt;&lt;BR /&gt;# /dir/dir2/gcc -v</description>
      <pubDate>Fri, 27 Sep 2002 03:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814662#M85216</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-09-27T03:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: gcc compilers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814663#M85217</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;Thanks for the swift reply. However, the find utility also produces other results which are not in the match :&lt;BR /&gt;&lt;BR /&gt;/stor/local/generic/build/vdce_ct/x/test&lt;BR /&gt;open /stor/local/generic/.writable/csd/md6ra/2001&lt;BR /&gt;find: cannot open /stor/local/generic/class&lt;BR /&gt;find: cannot open /stor/local/generic/skel/projects/csh/RCS&lt;BR /&gt;find: cannot open /stor/local/generic/skel/old&lt;BR /&gt;find: cannot open /stor/local/generic/ftp/bin            &lt;BR /&gt;/stor/local/hp700_ux110/gnu/bin/gcc&lt;BR /&gt;/stor/local/hp700_ux110/gnu/cygnus/progressive-95q2/H-hppa1.1-hp-hpux9.05/bin/gcc&lt;BR /&gt;/stor/local/hp700_ux110/gnu/cygnus/progressive-95q1/H-hppa1.1-hp-hpux/bin/gcc&lt;BR /&gt;&lt;BR /&gt;I tried removing lines begining with "find: cannot ...", using the following 2 methods but it did not work:&lt;BR /&gt;# find / -name gcc -exec grep -v "find: cannot" {} \;&lt;BR /&gt;&lt;BR /&gt;OR:&lt;BR /&gt;#find / -name gcc -print |grep -v "find: cannot"&lt;BR /&gt;&lt;BR /&gt;Could you help me out?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 27 Sep 2002 03:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compilers/m-p/2814663#M85217</guid>
      <dc:creator>Chern Jian Leaw</dc:creator>
      <dc:date>2002-09-27T03:24:31Z</dc:date>
    </item>
  </channel>
</rss>

