I'm trying to install gpc 2.0 (20001113) on my Sparc 2 running SunOS 4.1.4 and gcc 2.95.2.
Gcc installed with no trouble at all, but during the configure process, I run into a problem. Here's the command I used: zappa:~/source/p% /usr3/source/gcc-2.95.2/configure --enable-languages=pascal
I get to the "Configuring gcc..." section, and the process dies with the following message:
checking assembler alignment features... checking assembler subsection support... checking assembler instructions... /usr3/source/gcc-2.95.2/gcc/configure: test: argument expected Configure in /usr3/source/p/gcc failed, exiting.
Has anyone seen this particular problem? The GCC is the version from the gpc site, and it configured, compiled and installed with no problem at all.
Thanks!
Joe Hartley wrote:
I'm trying to install gpc 2.0 (20001113) on my Sparc 2 running SunOS 4.1.4 and gcc 2.95.2.
Gcc installed with no trouble at all, but during the configure process, I run into a problem. Here's the command I used: zappa:~/source/p% /usr3/source/gcc-2.95.2/configure --enable-languages=pascal
I get to the "Configuring gcc..." section, and the process dies with the following message:
checking assembler alignment features... checking assembler subsection support... checking assembler instructions... /usr3/source/gcc-2.95.2/gcc/configure: test: argument expected Configure in /usr3/source/p/gcc failed, exiting.
Has anyone seen this particular problem? The GCC is the version from the gpc site, and it configured, compiled and installed with no problem at all.
Oh dear, this might be the following code which relies on a bash feature not present in Solaris' shell. (I thought we had fixed all such occurences, but this one might have been re-introduced recently.) Please try the following change (will also be in the CVS soon).
--- orig/p/config-lang.in Tue Sep 12 05:04:10 2000 +++ p/config-lang.in Wed Nov 15 01:26:35 2000 @@ -61,7 +61,7 @@ fi trigger=`grep "@@ PATCHED FOR GPC @@" $srcdir/stor-layout.c`
for x in 2.95.1 2.95.2; do - if [ ! -e $srcdir/p/diffs/gcc-$x.diff ]; then + if [ ! -r $srcdir/p/diffs/gcc-$x.diff ]; then (cd $srcdir/p/diffs; ln -s gcc-2.95.diff gcc-$x.diff) fi done @@ -70,7 +70,7 @@ if [ "x$trigger" = "x" ]; then patchfile=$srcdir/p/diffs/gcc-$mainversion.diff relpatchfile=p/diffs/gcc-$mainversion.diff
- if [ ! -e $patchfile ]; then + if [ ! -r $patchfile ]; then echo echo "***" echo "*** $0 detected GCC version $mainversion."
Frank
Frank Heckenbach frank@g-n-u.de wrote:
I get to the "Configuring gcc..." section, and the process dies with the following message:
checking assembler alignment features... checking assembler subsection support... checking assembler instructions... /usr3/source/gcc-2.95.2/gcc/configure: test: argument expected Configure in /usr3/source/p/gcc failed, exiting.
Oh dear, this might be the following code which relies on a bash feature not present in Solaris' shell. (I thought we had fixed all such occurences, but this one might have been re-introduced recently.) Please try the following change (will also be in the CVS soon).
That's done it. Configure completed OK, compile under way. Many thanks!
====================================================================== Joe Hartley - UNIX/network Consultant - jh@brainiac.com 12 Emma G Lane, Narragansett, RI 02882 - vox 401.782.9042 Without deviation from the norm, "progress" is not possible. - FZappa