Hello All,
I also jumped ship to Ada with very satisfactory results. I found the exception handling in Ada to be particularly useful and easy to use. After my PC was upgraded from Windows XP to 7 I found that GPC code that contained any Goto statements (used to jump to outer block in the event of error conditions) would no longer run so I had to do something. I’ll give a few details in case they are useful to anyone else on this list.
My Pascal (now Ada) code is statically linked to C interfaces to Python – which are compiled to give Python extensions (which are DLLs). The C interfaces needed some minor changes to work with Ada. This scheme will work with versions of Python up to 3.4. On Windows for Python 3.5 and later there are compatibility problems because the Microsoft compiler has changed: the old C run time library (MSVCRT) has been replaced by the ‘Universal CRT’.
http://stevedower.id.au/blog/building-for-python-3-5/
There is a project to produce a Python-compatible Mingw (mingwpy) – but Ada is not listed as a supported language.
The codes are for electromagnetic modal analysis. I would not expect exact agreement in results between different compilers. Differences (double precision) in results between Ada, GPC and earlier HP Pascal versions were 1 in 10^5 at worst. This is good enough as it is better than I can measure, although the differences are larger than I had expected.
Andrew.
From: Gpc [mailto:gpc-bounces@gnu.de] On Behalf Of Leo Brewin Sent: 04 January 2017 02:59 To: John L. Ries jries@salford-systems.com Cc: gpc@gnu.de Subject: Re: Is GPC dead?
Hi Folks,
I'm not sure how committed people on this list are to staying with Pascal but if you are prepared to jump ship to Ada then I can tell you from my own experience it is well worth the effort. Some years ago (around the time of the discussion "Quo vadis, GPC?") I made the leap and though it took a lot of work (about 2 million lines of code) I am so glad I made the switch. The Ada language is brilliant, it has everything I need as a scientific programmer (just to mention a few points: native multi-tasking, strong typing, generics, object oriented, procedure overloading, platform independent). The compiler is part of the GNU collection so it is as up-to-date as gcc (currently 6.1.0). There is a very active news group comp.lang.ada. I used the p2ada tool to convert my files (it's a great start but you will need to do a lot of work on the generated Ada files). You can find the latest version at this web site
https://sourceforge.net/p/p2ada/code/HEAD/tree/
You might also like to read
http://p2ada.sourceforge.net/pascada.htm
which will give you some idea of the issues involved in making the change.
Cheers, Leo Brewin School of Mathematical Sciences Monash University
On 4 January 2017 at 12:35, John L. Ries <jries@salford-systems.commailto:jries@salford-systems.com> wrote: The conversation with Frank Heckenbach was pretty much the last that was heard on this list on the status and direction of GPC. It would have been good if there had been some follow-up conversations (I thought the exercise was enormously helpful, even though I disagreed with Frank's proposal), but instead, there was nothing.
I'm going to see if it is even possible to compile and run GPC 2.1 on my OpenSUSE box and then see where to go from there (I'll probably follow up with Waldek Hebisch's latest-and-greatest from 2007, followed by whatever is currently in the Git repository he pointed us to). I don't use Pascal professionally, but I do use it for personal projects (I greatly prefer it to C/C++) so I'll do what little I can to push things along.
--------------------------| John L. Ries | Salford Systems | Phone: (619)543-8880 x107tel:%28619%29543-8880%20x107 | or (435)867-8885tel:%28435%29867-8885 | --------------------------|
On Monday 2017-01-02 10:53, Treutwein Bernhard wrote:
Date: Mon, 2 Jan 2017 10:53:18 From: Treutwein Bernhard <Bernhard.Treutwein@Verwaltung.Uni-Muenchen.DEmailto:Bernhard.Treutwein@Verwaltung.Uni-Muenchen.DE> To: "'gpc@gnu.demailto:gpc@gnu.de'" <gpc@gnu.demailto:gpc@gnu.de> Subject: RE: Is GPC dead?
I take your point that things could be more clearly spelt out on the GPC web site about the current state of play.
Absolutely.
But we did discuss this matter at length in 2010 - see http://www.g-n-u.de/pipermail/gpc/2010-July/thread.html
When I started trying to use GPC in March, 2016 the whole GPC website was defunc, but I was able to dig out the contact person (Peter Gerwisnki) and he resurrected the pages. I also had a short PM exchange with him about the slow death of GPC, and he pointed me to the 2010 thread and specially Frank Heckenbach's summary, which I successfully found at archive.orghttp://archive.org: http://web.archive.org/web/20140714170318/http://fjf.gnu.de/gpc-future.htmlhttp://web.archive.org/web/20140714170318/http:/fjf.gnu.de/gpc-future.html
I do not know, if more groups have problems with keeping their projects up with gcc development, but I know that GNU Modula-2 has similar problems.
With some work, I was able to build a working GPC on TinyCore Linux, but apparently I've lost my notes how I did it. I remember that I had to combine several patches & tips from the mailing list, but I had success.
I agree with Ken that it is not no straightforward way to get a running gpc on a standard Linux. TinyCore is quite special in having very few tools only in the default setup and you generally can use older packages without big problems, but the more mainline distributions have interdependencies, which make it quite difficult to downgrade to older versions.
-- Bernhard _______________________________________________ Gpc mailing list Gpc@gnu.demailto:Gpc@gnu.de https://www.g-n-u.de/mailman/listinfo/gpc
_______________________________________________ Gpc mailing list Gpc@gnu.demailto:Gpc@gnu.de https://www.g-n-u.de/mailman/listinfo/gpc
-- If you have received this message in error, please notify us and remove it from your system. NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses.
NPL Management Ltd is a company registered in England and Wales, number: 2937881 Registered office: National Physical Laboratory | Hampton Road | Teddington, Middlesex | UK | TW11 0LW