Discussion:
GPC for MinGW?
Robert Hartmann
2013-06-18 08:24:19 UTC
Permalink
Hi list,

If it is possible to integrate GPC into an actual MinGW-based GCC4 port,
I like to get some hint.

I would like to build in Msys (Windows XP),
but if it easyer to build under Linux, well then I hope I could do it with
Knoppix-Live-DVD.

Best regards,
Robert
Waldek Hebisch
2013-06-19 16:53:24 UTC
Permalink
>
> If it is possible to integrate GPC into an actual MinGW-based GCC4 port,
> I like to get some hint.
>
> I would like to build in Msys (Windows XP),
> but if it easyer to build under Linux, well then I hope I could do it with
> Knoppix-Live-DVD.

I did not try, but you should have no extra problem due to MinGW.
My impresion was that in the past The Chief reported successful build
of Mingw version based on GCC4. Note:

- currently using gcc newer than 4.3.x requires serious
developement work
- 4.3.x works only if you use '--disable-mapped-location' argument
- code for 4.2.x and 4.3.x is inly in github:

https://github.com/hebisch/gpc

Code for gcc 4.1.x is in the gpc-20070904.tar.bz2 tarball.

- There are known testsuite failures when using gcc-4.x backends.
Since 4.x backends got less use than 3.x one can expect
unknown problems. Also, 4.x backends optimize much more
agressively than 3.x. Consequently, wrong programs which
worked "by accident" with 3.x are likely to be broken
by 4.x.

--
Waldek Hebisch
hebisch at math.uni.wroc.pl
Prof A Olowofoyeku (The African Chief)
2013-06-19 19:15:40 UTC
Permalink
On 19 Jun 2013 at 18:53, Waldek Hebisch wrote:

> >
> > If it is possible to integrate GPC into an actual MinGW-based GCC4
> > port, I like to get some hint.
> >
> > I would like to build in Msys (Windows XP),
> > but if it easyer to build under Linux, well then I hope I could do it
> > with Knoppix-Live-DVD.
>
> I did not try, but you should have no extra problem due to MinGW.
> My impresion was that in the past The Chief reported successful build of
> Mingw version based on GCC4.

Yes, I did, with gcc-4.1.x. IIRC, it was straightforward to build under
Msys. However, I have stayed with gcc-3.4.x (Mingw special) backends. I
am sure I had good reasons at the time, but that shouldn't prevent
anyone else going ahead.

Best regards, The Chief
--------
Prof. Abimbola A. Olowofoyeku (The African Chief)
web: http://www.greatchief.plus.com/
Robert Hartmann
2013-07-24 18:23:23 UTC
Permalink
Hi there,

Am 19.06.2013 18:53, schrieb Waldek Hebisch:
>>
>> If it is possible to integrate GPC into an actual MinGW-based GCC4 port,
>> I like to get some hint.
>>
>> I would like to build in Msys (Windows XP),
>> but if it easyer to build under Linux, well then I hope I could do it with
>> Knoppix-Live-DVD.
>
> I did not try, but you should have no extra problem due to MinGW.
> My impresion was that in the past The Chief reported successful build
> of Mingw version based on GCC4. Note:
>
> - currently using gcc newer than 4.3.x requires serious
> developement work
> - 4.3.x works only if you use '--disable-mapped-location' argument
> - code for 4.2.x and 4.3.x is inly in github:
>
> https://github.com/hebisch/gpc
>
> Code for gcc 4.1.x is in the gpc-20070904.tar.bz2 tarball.


Thank you for the pointer.


>
> - There are known testsuite failures when using gcc-4.x backends.
> Since 4.x backends got less use than 3.x one can expect
> unknown problems. Also, 4.x backends optimize much more
> agressively than 3.x. Consequently, wrong programs which
> worked "by accident" with 3.x are likely to be broken
> by 4.x.
>

This point I don't get. Do you mean parts of the pascal compiler
with "accidently working" wrong programs?

Best regards,
Robert
Loading...