Dear GPC,
The African Chief maintains the Windows version of GPC, now using 20070904 sources.
Adriaan maintains the MacOS version, now using 20070904 sources.
I think the outstanding question for Prince and me is the Linux version. There is no binary distribution of the 20070904 GPC that I can find. I use the 20041218 version on Linux. I suppose most Linux users are happy to compile GPC from sources. But I'm not a Linux expert: I just port my code to Linux for my Linux users. So I'm stuck with 20041218, and my code has to remain compatible with the older GPC. (I have a bunch of compiler directives to get the module names right.)
Suppose I wanted to compile the 20070904 sources on Linux. How would I go about it?
Yours, Kevan
Kevan Hashemi a écrit :
Dear GPC,
The African Chief maintains the Windows version of GPC, now using 20070904 sources.
Adriaan maintains the MacOS version, now using 20070904 sources.
I think the outstanding question for Prince and me is the Linux version. There is no binary distribution of the 20070904 GPC that I can find. I use the 20041218 version on Linux. I suppose most Linux users are happy to compile GPC from sources. But I'm not a Linux expert: I just port my code to Linux for my Linux users. So I'm stuck with 20041218, and my code has to remain compatible with the older GPC. (I have a bunch of compiler directives to get the module names right.)
Suppose I wanted to compile the 20070904 sources on Linux. How would I go about it?
Instructions are contained in the file p/INSTALL in the source distribution (section 1.3 compiling GPC). For linux this is rather straightforward.
Maurice
Maurice
Thank you for your response.
I am not finding the section you refer to in your post. Can you post the full URL to the tarball you are referring to...
Prince
On Tue, Dec 9, 2008 at 10:32 AM, Maurice Lombardi < Maurice.Lombardi@ujf-grenoble.fr> wrote:
Kevan Hashemi a écrit :
Dear GPC,
The African Chief maintains the Windows version of GPC, now using 20070904 sources.
Adriaan maintains the MacOS version, now using 20070904 sources.
I think the outstanding question for Prince and me is the Linux version. There is no binary distribution of the 20070904 GPC that I can find. I use the 20041218 version on Linux. I suppose most Linux users are happy to compile GPC from sources. But I'm not a Linux expert: I just port my code to Linux for my Linux users. So I'm stuck with 20041218, and my code has to remain compatible with the older GPC. (I have a bunch of compiler directives to get the module names right.)
Suppose I wanted to compile the 20070904 sources on Linux. How would I go about it?
Instructions are contained in the file p/INSTALL in the source distribution (section 1.3 compiling GPC). For linux this is rather straightforward.
Maurice
-- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 63 54 95 mailto:Maurice.Lombardi@ujf-grenoble.fr
Prince Riley a écrit :
Maurice
Thank you for your response.
I am not finding the section you refer to in your post. Can you post the full URL to the tarball you are referring to...
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2
Maurice
BTW: I see that this latest snapshot has not been uploaded to the gpc web site, (alpha section: in fact as usual the latest alpha is the best). Waldek, could you do that ?
Maurice
Maurice Lombardi wrote:
Prince Riley a écrit :
Maurice
Thank you for your response.
I am not finding the section you refer to in your post. Can you post the full URL to the tarball you are referring to...
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2
Maurice
BTW: I see that this latest snapshot has not been uploaded to the gpc web site, (alpha section: in fact as usual the latest alpha is the best). Waldek, could you do that ?
No, I do not have upload rights to http://www.gnu-pascal.de.
Waldek Hebisch a écrit :
Maurice Lombardi wrote:
Prince Riley a écrit :
Maurice
Thank you for your response.
I am not finding the section you refer to in your post. Can you post the full URL to the tarball you are referring to...
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2
Maurice
BTW: I see that this latest snapshot has not been uploaded to the gpc web site, (alpha section: in fact as usual the latest alpha is the best). Waldek, could you do that ?
No, I do not have upload rights to http://www.gnu-pascal.de.
Very strange, given the work you have done: every body uses your latest snapshot. Why so ?
Maurice
Maurice Lombardi wrote:
Waldek Hebisch a écrit :
No, I do not have upload rights to http://www.gnu-pascal.de.
Very strange, given the work you have done: every body uses your latest snapshot. Why so ?
Of course, I can set up an upload account like the one you (Maurice) have. Just send me a public ssh key, Waldek, if you like to and I'll install it. Actually I'd thought you had one already (have we ever talked about this? I don't remember right now) ...
Though the web server of www.gnu-pascal.de itself is on the main server of G-N-U GmbH, and we can't give out accounts to thisserver, we can give accounts to the upload area (a User Mode Linux virtual machine, actually), and link individual directories into this area (like the djgpp directory in your case, Maurice, and I'd guess at least the alpha and binary directores for Waldek).
Frank
Frank Heckenbach wrote:
Maurice Lombardi wrote:
Waldek Hebisch a écrit :
No, I do not have upload rights to http://www.gnu-pascal.de.
Very strange, given the work you have done: every body uses your latest snapshot. Why so ?
Of course, I can set up an upload account like the one you (Maurice) have. Just send me a public ssh key, Waldek, if you like to and I'll install it. Actually I'd thought you had one already (have we ever talked about this? I don't remember right now) ...
The question somewhat did not come out: when you (Frank) managed releases I did not need upload account. Starting from Autumn 2006 I have only little time for gpc. I was able to do 20070904 release, but can not promise anything in the future.
Though the web server of www.gnu-pascal.de itself is on the main server of G-N-U GmbH, and we can't give out accounts to thisserver, we can give accounts to the upload area (a User Mode Linux virtual machine, actually), and link individual directories into this area (like the djgpp directory in your case, Maurice, and I'd guess at least the alpha and binary directores for Waldek).
I do not know what is more convenient: if you set up an account I will upload 20070904 release, or if you prefer yourself to put the tarball in alpha area.
Waldek Hebisch wrote:
Frank Heckenbach wrote:
Maurice Lombardi wrote:
Waldek Hebisch a écrit :
No, I do not have upload rights to http://www.gnu-pascal.de.
Very strange, given the work you have done: every body uses your latest snapshot. Why so ?
Of course, I can set up an upload account like the one you (Maurice) have. Just send me a public ssh key, Waldek, if you like to and I'll install it. Actually I'd thought you had one already (have we ever talked about this? I don't remember right now) ...
The question somewhat did not come out: when you (Frank) managed releases I did not need upload account. Starting from Autumn 2006 I have only little time for gpc. I was able to do 20070904 release, but can not promise anything in the future.
Though the web server of www.gnu-pascal.de itself is on the main server of G-N-U GmbH, and we can't give out accounts to thisserver, we can give accounts to the upload area (a User Mode Linux virtual machine, actually), and link individual directories into this area (like the djgpp directory in your case, Maurice, and I'd guess at least the alpha and binary directores for Waldek).
I do not know what is more convenient: if you set up an account I will upload 20070904 release, or if you prefer yourself to put the tarball in alpha area.
Since I'm quite busy ATM, it might take some time for me to upload new releases when you make some. So I think an account for you might be more convenient. But if you prefer not to, just let me know, and I'll upload your current release.
Frank
Dear GPC,
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2
I have this archive decompressed on my desktop. It looks like I'll have to download another set of source files: those for GCC. The install instructions use GPC version 20041218 as an example and tell me to download GCC 3.4.3's source code. I don't know which version of GCC to download for the GPC version 20070904.
After that, there are seven steps to follow for compilation. From experience, I'm guessing this process is going to take me all morning. All kinds of things can go wrong. I may even break my existing GCC installation by mistake.
There is a 20041218 binary distribution on
http://www.gnu-pascal.de/binary/
but I can't find a newer version.
On MacOS, I download this archive, is self-extracts, I run the build command, and off it goes. It's great.
I had to convert to .tar.gz before I could open the archive on my Linux machine. The build command aborts on Linux: it's for MacOS only. Now I look at the archives in the directory structure and I can't guess where the generic Makefile is that might help me compile the source code. I see no instructions that will help me figure out where the source code is.
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
(3) http://www.freepascal.org/ (inferior schema types)
Yours, Kevan
To List --
Greetings
I want to echo Mr. Hashemi very well written post to the list outlining the state of our binary and source compile depository for GPC.
As a recent member to the list I must acknowledge that my perspective is thereby limited to recent events here. However, I think it is time to seriously consider bringing our source/compile and binary code distribution of GPC forward with substantial improvements.
Such a recommendation is not meant as criticism of efforts so far, but it must have occurred to others who monitor this list that there seems no obvious and accessible, centralized repository for the GPC for each the supported platforms, including up-to-date documentation for compilation or installation.
I would like to open this thread of discussion with the goal of hearing from others on this topic. The goal can be by then end of Jan 2009 to have a plan to bring things on this topic to a better state of affairs with the help of the maintainers and members of the group.
Prince Rily
On Mon, Dec 15, 2008 at 11:16 AM, Kevan Hashemi hashemi@brandeis.eduwrote:
Dear GPC,
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2http://www.math.uni.wroc.pl/%7Ehebisch/gpc/gpc-20070904.tar.bz2
I have this archive decompressed on my desktop. It looks like I'll have to download another set of source files: those for GCC. The install instructions use GPC version 20041218 as an example and tell me to download GCC 3.4.3's source code. I don't know which version of GCC to download for the GPC version 20070904.
After that, there are seven steps to follow for compilation. From experience, I'm guessing this process is going to take me all morning. All kinds of things can go wrong. I may even break my existing GCC installation by mistake.
There is a 20041218 binary distribution on
http://www.gnu-pascal.de/binary/
but I can't find a newer version.
http://adriaan.biz/gpc/gpc346u2-sources.tar.bz2
On MacOS, I download this archive, is self-extracts, I run the build command, and off it goes. It's great.
I had to convert to .tar.gz before I could open the archive on my Linux machine. The build command aborts on Linux: it's for MacOS only. Now I look at the archives in the directory structure and I can't guess where the generic Makefile is that might help me compile the source code. I see no instructions that will help me figure out where the source code is.
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
(3) http://www.freepascal.org/ (inferior schema types)
Yours, Kevan
-- Kevan Hashemi, Electrical Engineer Physics Department, Brandeis University http://alignment.hep.brandeis.edu/
Dear GPC,
I think it is time to seriously consider bringing our source/compile and binary code distribution of GPC forward with substantial improvements.
I would be happy to open a SourceForge.net project for GPC and then figure out how we could upload files and arrange our documentation within the project, if that would be of any use to the community.
Yours, Kevan
On 15 Dec 2008 at 12:16, Kevan Hashemi wrote:
Dear GPC,
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2
I have this archive decompressed on my desktop.
On your "desktop" in Linux? That sounds odd to me.
It looks like I'll have to download another set of source files: those for GCC. The install instructions use GPC version 20041218 as an example and tell me to download GCC 3.4.3's source code. I don't know which version of GCC to download for the GPC version 20070904.
3.4.3 is fine - as is any later 3.x version.
After that, there are seven steps to follow for compilation. From experience, I'm guessing this process is going to take me all morning.
An exaggeration. On a modern PC, it should take no longer than 5 minutes.
All kinds of things can go wrong. I may even break my existing GCC installation by mistake.
If you don't know what you're doing, yes. If you set a "prefix" path that is well away from your system gcc's path (e.g., "--prefix=$HOME/gpc"), then there is no chance of breaking anything.
There is a 20041218 binary distribution on
http://www.gnu-pascal.de/binary/
but I can't find a newer version.
If you find one, it may not work. Much depends (unless everything is linked statically) on the system on which it was built, and how different that system (and its libraries) is from yours.
[...]
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
An exaggeration. As I said, on a modern PC (e.g., an Athlon XP 3800), it only takes a few minutes
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Hello
First my thanks to everyone who has responded so far to the post concerning making a more structured repository for the GPC project.
There's been a suggestion to have a repository set up on Sourceforge which is a very well known open source project repository. If anyone would like to suggest another site, please do so.
We have heard from members of the list that have either source or binaries for the IA32 (x86) processor platform for:
Fedora
Ubuntu
Mandravia
We also have one person so far who has offered source and a binary for the Apple Mac platform (OS X I think)
This gives us a good start in terms of code sources and binaries.. What we should think about adding to this are HOW-TO's and files for compiling and install on each of these platforms which the understanding that we are looking for people (at least two) for each platform to be 'maintainers' of the packages for these platforms.
Next, seeking comments and further feedback from the group on these possible additions:
Wiki pages for GPC packages and programming techniques
Specialized processor platform versions (ARM for example)
Comments on how to manage the PATCH process for the GPC source tree with test suites
A group to assume the role of suggesting a roadmap for future enhancements to the baseline GPC and packages.
I thank all of you whom I have not mentioned by name for your posts and e-mails, please continue to give this thread guidance of your experience and opinions .. on these ideas and any others that I have not mentioned which are relevant .
Prince
Prince Riley
making
On Mon, Dec 15, 2008 at 2:26 PM, Prof A Olowofoyeku (The African Chief) < chiefsoft@bigfoot.com> wrote:
On 15 Dec 2008 at 12:16, Kevan Hashemi wrote:
Dear GPC,
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2http://www.math.uni.wroc.pl/%7Ehebisch/gpc/gpc-20070904.tar.bz2
I have this archive decompressed on my desktop.
On your "desktop" in Linux? That sounds odd to me.
It looks like I'll have to download another set of source files: those for GCC. The install instructions use GPC version 20041218 as an example and tell me to download GCC 3.4.3's source code. I don't know which version of GCC to download for the GPC version 20070904.
3.4.3 is fine - as is any later 3.x version.
After that, there are seven steps to follow for compilation. From experience, I'm guessing this process is going to take me all morning.
An exaggeration. On a modern PC, it should take no longer than 5 minutes.
All kinds of things can go wrong. I may even break my existing GCC installation by mistake.
If you don't know what you're doing, yes. If you set a "prefix" path that is well away from your system gcc's path (e.g., "--prefix=$HOME/gpc"), then there is no chance of breaking anything.
There is a 20041218 binary distribution on
http://www.gnu-pascal.de/binary/
but I can't find a newer version.
If you find one, it may not work. Much depends (unless everything is linked statically) on the system on which it was built, and how different that system (and its libraries) is from yours.
[...]
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
An exaggeration. As I said, on a modern PC (e.g., an Athlon XP 3800), it only takes a few minutes
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Hello Everyone
The ideas being discussed on this list concerning setting up a project repository for finished, support binaries, RPM packages, and source tarballs and make/install scripts has been moving forward slowly.
Over the rest of this week, I am hoping that those of you who have not weighed in as yet will do so and then I can summarize the points that have been made in a single post from which we can move forward.
Once again, let me say thank you to all the members of this list who have already volunteer comments, suggestions, code, and other information.
Here are two links I found useful and informative on version management tools One of the key decisions that lie ahead will be setting up two public repositories. One for the code base for all the GPC versions and the other for released versions with addons-contributed by members of our community.
http://betterexplained.com/articles/intro-to-distributed-version-control-ill...
http://betterexplained.com/articles/a-visual-guide-to-version-control/
While I am sure most of you who are active on the GPC list already know how these systems work, this material does provide a common framework in an easy to understand and brief format that those who may not be as experienced can find helpful in understanding the topic.
Prince
On Mon, Dec 15, 2008 at 4:32 PM, Prince Riley wmarketing3@gmail.com wrote:
Hello
First my thanks to everyone who has responded so far to the post concerning making a more structured repository for the GPC project.
There's been a suggestion to have a repository set up on Sourceforge which is a very well known open source project repository. If anyone would like to suggest another site, please do so.
We have heard from members of the list that have either source or binaries for the IA32 (x86) processor platform for:
Fedora
Ubuntu
Mandravia
We also have one person so far who has offered source and a binary for the Apple Mac platform (OS X I think)
This gives us a good start in terms of code sources and binaries.. What we should think about adding to this are HOW-TO's and files for compiling and install on each of these platforms which the understanding that we are looking for people (at least two) for each platform to be 'maintainers' of the packages for these platforms.
Next, seeking comments and further feedback from the group on these possible additions:
Wiki pages for GPC packages and programming techniques
Specialized processor platform versions (ARM for example)
Comments on how to manage the PATCH process for the GPC source tree with test suites
A group to assume the role of suggesting a roadmap for future enhancements to the baseline GPC and packages.
I thank all of you whom I have not mentioned by name for your posts and e-mails, please continue to give this thread guidance of your experience and opinions .. on these ideas and any others that I have not mentioned which are relevant .
Prince
Prince Riley
making
On Mon, Dec 15, 2008 at 2:26 PM, Prof A Olowofoyeku (The African Chief) < chiefsoft@bigfoot.com> wrote:
On 15 Dec 2008 at 12:16, Kevan Hashemi wrote:
Dear GPC,
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2http://www.math.uni.wroc.pl/%7Ehebisch/gpc/gpc-20070904.tar.bz2
I have this archive decompressed on my desktop.
On your "desktop" in Linux? That sounds odd to me.
It looks like I'll have to download another set of source files: those for GCC. The install instructions use GPC version 20041218 as an example and tell me to download GCC 3.4.3's source code. I don't know which version of GCC to download for the GPC version 20070904.
3.4.3 is fine - as is any later 3.x version.
After that, there are seven steps to follow for compilation. From experience, I'm guessing this process is going to take me all morning.
An exaggeration. On a modern PC, it should take no longer than 5 minutes.
All kinds of things can go wrong. I may even break my existing GCC installation by mistake.
If you don't know what you're doing, yes. If you set a "prefix" path that is well away from your system gcc's path (e.g., "--prefix=$HOME/gpc"), then there is no chance of breaking anything.
There is a 20041218 binary distribution on
http://www.gnu-pascal.de/binary/
but I can't find a newer version.
If you find one, it may not work. Much depends (unless everything is linked statically) on the system on which it was built, and how different that system (and its libraries) is from yours.
[...]
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
An exaggeration. As I said, on a modern PC (e.g., an Athlon XP 3800), it only takes a few minutes
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Kevan Hashemi wrote:
On MacOS, I download this archive, is self-extracts, I run the build command, and off it goes. It's great.
I had to convert to .tar.gz before I could open the archive on my Linux machine. The build command aborts on Linux: it's for MacOS only. Now I look at the archives in the directory structure and I can't guess where the generic Makefile is that might help me compile the source code. I see no instructions that will help me figure out where the source code is.
I suggest we make the script, or another one written from scratch, suitable for Linux, MinGW and other targets.
Regards,
Adriaan van Os
Dear Adriaan,
I suggest we make the script, or another one written from scratch, suitable for Linux, MinGW and other targets.
I like that idea. That's what we do for my own code. We run the same build script (Makefile, actually) on all platforms and it figures everything out for you. I'll look at your build.command and see if I can figure out how to adapt it to Linux and MinGW.
Yours, Kevan
Kevan Hashemi wrote:
Dear GPC,
http://www.math.uni.wroc.pl/~hebisch/gpc/gpc-20070904.tar.bz2
I have this archive decompressed on my desktop. It looks like I'll have to download another set of source files: those for GCC. The install instructions use GPC version 20041218 as an example and tell me to download GCC 3.4.3's source code. I don't know which version of GCC to download for the GPC version 20070904.
If you do not know, then gcc-4.1.2 or gcc-3.4.6 -- the choice basically is which version of gcc _you_ prefer. The other gcc versions are supported for folks that for some reason really need to use different gcc version.
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
(3) http://www.freepascal.org/ (inferior schema types)
You forgot: (4) check your friendly Linux distribution. At least Debian provides gpc-20070904. If your distribution does not provide gpc package then one can try tools which convert package formats. Also, note that many distributions have contrib area, so if package is not in core distribution it is up to users to contribute package for others.
On 15 Dec 2008 at 12:16, Kevan Hashemi wrote:
[...]
So, the Linux user appears to be stuck with choosing between:
(1) GPC 20041218 binary distribution (10-minute install)
(2) Compiling new source code (4-hour install)
(3) http://www.freepascal.org/ (inferior schema types)
Linux binaries (based on gcc-4.1.2) are available here: http://gnu-pascal.de/contrib/chief/ubuntu/
It was built under ubuntu, where it works perfectly fine. Good luck with your Linux distro.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Dear Prof O,
Linux binaries (based on gcc-4.1.2) are available here: http://gnu-pascal.de/contrib/chief/ubuntu/
Thank you.
I downloaded to my Linux machine (home folder, not desktop). I extracted. I see the pascal folder. I run pascal/bin/gpc. It says it won't run because it's expecting libraries in the root structure. So I spent half an hour trying to persuade tar or to extract the files in the pascal folder into the root structure, so that gpc would be in /bin. I logged in as root. I consulted the tar manual pages. I resorted to cp, hoping to copy the files over.
Well, I still don't have gpc 20070904 in place, but at least I managed to break my 20041218 GPC, which is progress, I guess.
Meanwhile, I installed the FPC compiler with a couple of mouse clicks. The linux distribution comes with an install.sh script and it even asks me where I want FPC installed: /usr or /usr/local. Is there a reason why we don't have an install.sh for Linux?
Yours, Kevan
Kevan Hashemi wrote:
Dear GPC,
The African Chief maintains the Windows version of GPC, now using 20070904 sources.
Adriaan maintains the MacOS version, now using 20070904 sources.
I think the outstanding question for Prince and me is the Linux version. There is no binary distribution of the 20070904 GPC that I can find. I use the 20041218 version on Linux. I suppose most Linux users are happy to compile GPC from sources. But I'm not a Linux expert: I just port my code to Linux for my Linux users. So I'm stuck with 20041218, and my code has to remain compatible with the older GPC. (I have a bunch of compiler directives to get the module names right.)
Suppose I wanted to compile the 20070904 sources on Linux. How would I go about it?
The sources at my website http://www.microbizz.nl/gpc346u2-sources.dmg are in Mac OS X .dmg format and therefore difficult to read from another OS. I now uploaded a copy http://adriaan.biz/gpc/gpc346u2-sources.tar.bz2 in bzip2 compressed tar format.
Apart from sources and patches, this includes a generic gpc build script. Note that some of it is quite Mac OS X specific.
Regards,
Adriaan van Os
For what it's worth, I do have some gpc packages for Fedora. My efforts to get it into the distribution proper have stalled because I've had problems getting it to work properly on ppc64, but perhaps soon I can start working on it again. My efforts succeed, you'd just install the compiler as any other package.
If anyone wants those packages, I'll be happy to update them. The last thing I built was gpc 20070904 on gcc 4.1.2; I don't even know how current that is. Sorry if you're running a different distribution.
- J<