GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #14335

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: Building latest gpc on Intel OS X
Date: 21 Apr 2008, 07:49:49

Frank Heckenbach wrote:
> Thanks. -- Apparently it doesn't like ";" after labels and branches,
> and wants a newline. So try this:
> 
> --- p/utils/mk-t-inc.orig	Sun Apr 20 15:38:25 2008
> +++ p/utils/mk-t-inc	Sun Apr 20 15:41:16 2008
> @@ -72,6 +72,11 @@
>    cat "$GCCDIR/tree.def"
>    echo 'DEFTREECODE (LAST_AND_UNUSED_C_TREE_CODE, "unused", '"'x', 0)"
>    sed -e '/#ifdef EGCS/,${/#ifdef EGCS/d;/#else/,/#endif/d;}'  "$GCCDIR/p/p-tree.def"
> -} | sed -ne ':loop;/\\$/{N;bloop;};/^DEFTREECODE/{s,/\*.*\*/,,;s/["'"'"']x["'"'"'].*/'"'x', 0)/;p;}"
> +} | sed -ne ':loop
> +             /\\$/{
> +                    N
> +                    bloop
> +                  }
> +             /^DEFTREECODE/{s,/\*.*\*/,,;s/["'"'"']x["'"'"'].*/'"'x'"', 0)/;p;}'
>  
>  } > "$2" || { rm -f "$2"; false; }

This fixes the problem, thanks.

To apply, I had to change the patch to

--- p/utils/mk-t-inc-orig	2008-04-21 07:37:57.000000000 +0200
+++ p/utils/mk-t-inc	2008-04-21 07:39:08.000000000 +0200
@@ -72,5 +72,10 @@
    cat "$GCCDIR/tree.def"
    echo 'DEFTREECODE (LAST_AND_UNUSED_C_TREE_CODE, "unused", '"'x', 0)"
    sed -e '/#ifdef EGCS/,${/#ifdef EGCS/d;/#else/,/#endif/d;}'  "$GCCDIR/p/p-tree.def"
-} | sed -ne ':loop;/\\$/{N;b loop};/^DEFTREECODE/{s,/\*.*\*/,,;s/["'"'"']x["'"'"'].*/'"'x', 
0)/;p;};/^#/p"
+} | sed -ne ':loop
+             /\\$/{
+                    N
+                    bloop
+                  }
+             /^DEFTREECODE/{s,/\*.*\*/,,;s/["'"'"']x["'"'"'].*/'"'x'"', 0)/;p;}'
  } > "$2" || { rm -f "$2"; false; }

Regards,

Adriaan van Os


Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Frank Heckenbach Building latest gpc on Intel OS X 16 Apr 2008, 01:28:32
Adriaan van Os Building latest gpc on Intel OS X 16 Apr 2008, 08:26:20
Adriaan van Os Building latest gpc on Intel OS X 16 Apr 2008, 10:14:28
Frank Heckenbach Building latest gpc on Intel OS X 19 Apr 2008, 03:09:57
Adriaan van Os Building latest gpc on Intel OS X 19 Apr 2008, 09:14:04
Adriaan van Os Building latest gpc on Intel OS X 19 Apr 2008, 10:09:23
Frank Heckenbach Building latest gpc on Intel OS X 20 Apr 2008, 15:45:20

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).