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

Mail #11598

Back to main page of archive

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

From: Maurice Lombardi
Subject: GPC ALPHA 20050217 released
Date: 26 Feb 2005, 19:14:46

Waldek Hebisch a écrit:
> Maurice Lombardi wrote:
> 
>>I have found a new bug.
>>with DJGPP/ gcc-3.2.3
>>compiling a simple hello.pas program with options
>>gpc hello.pas -o hello.exe -march=pentium4 -v
>>
> 
> ...
> 
>>-D__pentium4 -D__pentium4__ -D__tune_pentium4__-D__SSE__ -D__MMX__ -D__SSE2__ -DMSDOS -DGO32 -DDJGPP=2 -Dunix -remap 
>>-imacros c:/djgpp/lib/gcc-lib/djgpp/3.23/djgpp.ver hello.pas -famtmpfile=c:/djgpp/tmp/ccsYIPTf.gpa -fautobuild 
>>c:/djgpp/tmp/ccKMhvDl.i
>>GNU Pascal Compiler PreProcessor version 20050217, based on gcc-3.2.3 (80386, BSD syntax)
>>hello.pas:0: malformed option `-D __tune_pentium4__-D__SSE__'
>>
>>Missing a space. Nothing similar with -march=pentiumpro or with the previous gpc-20040218
>>I have checked that the specs file is not overwritten.
> 
> 
> 
> Spec file handling has changed in gcc-3.4. `gpc.c' is now more like
> `gcc.c' in 3.4 then in earlier versions. The following should correct
> the problem:
> 
> --- gpc.c.bb	2005-02-25 22:59:07.946190544 +0100
> +++ gpc.c	2005-02-25 22:59:38.179594368 +0100
> @@ -6587,8 +6587,10 @@
>      }
>  
>    end_body = p;
> +#ifdef GCC_3_4
>    while (end_body[-1] == ' ' || end_body[-1] == '\t')
>      end_body--;
> +#endif
>  
>    if (have_subst && !starred)
>      abort ();

OK it works now.
Thanks

Maurice

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


In reply to

Author Subject Date
Waldek Hebisch GPC ALPHA 20050217 released 25 Feb 2005, 22:52:28

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).