Change 11757 by sky@sky-lab on 2001/08/27 13:39:16

        Subject: GNU ld parses arguments different
        From: H.Merijn Brand <[EMAIL PROTECTED]>
        Date: Mon, 27 Aug 2001 16:25:51 +0200
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/hints/hpux.sh#73 edit

Differences ...

==== //depot/perl/hints/hpux.sh#73 (text) ====
Index: perl/hints/hpux.sh
--- perl/hints/hpux.sh.~1~      Mon Aug 27 07:45:05 2001
+++ perl/hints/hpux.sh  Mon Aug 27 07:45:05 2001
@@ -69,11 +69,11 @@
                fi
            case "`getconf KERNEL_BITS 2>/dev/null`" in
                *64*)
+                   echo "main(){}">try.c
                    case "$gccversion" in
                        3*) ccflags="$ccflags -mpa-risc-2-0"
                            ;;
-                       *)  echo "main(){}">try.c
-                           # gcc with gas will not accept +DA2.0
+                       *)  # gcc with gas will not accept +DA2.0
                            case "`$cc -c -Wa,+DA2.0 try.c 2>&1`" in
                                *"+DA2.0"*)             # gas
                                    gnu_as=yes
@@ -98,6 +98,7 @@
                                esac
                            ;;
                        esac
+                   rm -f try.c
                    ;;
                esac
            ;;
@@ -125,7 +126,7 @@
     gcc_64native=no
 case "$ccisgcc" in
     $define|true|[Yy])
-       echo 'int main(){long l;printf("%d\\n",sizeof(l));}'>try.c
+       echo 'int main(){long l;printf("%d\\n",sizeof(l));}'>try.c
        $cc -o try $ccflags $ldflags try.c
        if [ "`try`" = "8" ]; then
            cat <<EOM >&4
@@ -455,4 +456,3 @@
 
 # fpclassify() is a macro, the library call is Fpclassify
 d_fpclassify='define'
-
End of Patch.

Reply via email to