From: "Philip J. Mikal" Date: 2005-09-10T01:05:10+09:00 Subject: Re: compiling ruby on red hat linux Hi Nobu, Name : gcc Relocations: (not relocateable) Version : 3.2.2 Vendor: Red Hat, Inc. Release : 5 Build Date: Tue 25 Feb 2003 05:53:15 AM PST Install Date: Wed 01 Dec 2004 04:57:40 PM PST Build Host: stripples.devel.redhat.com Group : Development/Languages Source RPM: gcc-3.2.2-5.src.rpm Size : 11592745 License: GPL Signature : DSA/SHA1, Tue 25 Feb 2003 07:04:13 AM PST, Key ID 219180cddb42a60e Packager : Red Hat, Inc. URL : http://gcc.gnu.org Summary : The GNU cc and gcc C compilers. Description : The gcc package includes the cc and gcc GNU compilers for compiling C code. -Philip --- nobu.nokada@softhome.net wrote: > Hi, > > At Fri, 9 Sep 2005 12:57:26 +0900, > Philip J. Mikal wrote in [ruby-talk:155413]: > > Here is the script: > > > > #!/bin/sh > > > > if id | grep -q gcc296; then > > #Use the compat gcc > > exec /usr/bin/gcc296 $@ > > elif [ -n "$GCC296" ]; then > > # Use the compat gcc > > exec /usr/bin/gcc296 $@ > > else > > # Use the standard gcc > > exec /usr/bin/gcc323 $@ > > fi > > They must be "$@" instead of mere $@. > > > I've run into this problem on a few boxes and they > are > > all Red Hat 9. I'm suprised this problem hasn't > shown > > up before. > > What package contains the script? What does > following command > show? > > rpm -qif /usr/bin/gcc > > -- > Nobu Nakada > >