If you should still need this, I found my notes to get the 64 bit GPC working online:
https://sourceforge.net/p/pascal-p6/discussion/general/thread/e712a641/
Good luck.
Scott Franco
--------- Original Message --------- Subject: RE: Re: Installing on Debian Stretch? From: "scott andrew franco" samiam@moorecad.com Date: 6/24/19 1:00 pm To: "Ken Linder" kc7rad@gmail.com, gpc@gnu.de
I regularly run GPC 64 bit on linux. I seem to recall it took a bit of fun to get it to work. There might be some notes in the Pascal-P6 project regarding that:
https://sourceforge.net/projects/pascal-p6/
I used a stock 64 bit built (I think the African chief built).
Scott Franco
--------- Original Message --------- Subject: Re: Installing on Debian Stretch? From: "Ken Linder" kc7rad@gmail.com Date: 6/12/19 1:36 pm To: gpc@gnu.de
Thanks Matthias & Waldek My OS and machine are strictly 64 bit. I really don't want to mix architectures. I benchmarked a 32 bit Debian install against a 64 bit Debian install and the 64 bit version was significantly faster for my particular hardware mix. CPU is a little AMD C-70 APU.
Maybe I missed something. Had no idea the version of the binary I downloaded was the 32 bit. AH well. Apparently there are no 64 bit binary installs on the GPC website. Doesn't surprise me. That site hasn't been updated in a long time. Would love to give it a face lift, let people know that GPC isn't completely dead.
I wanted to start getting involved in GPC again by simply installing the most recent binary from the website and NOT do a complete build. Ah well!
I saw your repo on github, Waldek. I haven't built GPC from source in over 10 years! I incorrectly thought installing the binary from the website would be easier. Ah well!
Over the next few days I will try to build the source and perhaps see just how confused I can make myself!
Thanks again -Ken
On Wed, Jun 12, 2019 at 9:21 AM Matthias Klose doko@debian.org wrote: On 12.06.19 16:04, Waldek Hebisch wrote:
Ken Linder wrote:
Hello all,
Thought I would try installing the most recent version of GPC on my Debian
^^^^^^^^^^^
Stretch machine. I downloaded gpc-2.1-with-gcc.i686-pc-linux-gnu.tar.gz
^^^^^^^
gpc-2.1 is quite old and a lot developements happened after it was released
and expanded it as specified here: https://www.gnu-pascal.de/gpc/Binary-Distributions.html#Binary-Distributions
It doesn't matter what options I use when trying to run the GPC compiler. I always get the following error:
-bash: /usr/local/bin/gpc: No such file or directory
I think something is missing somewhere, just not certain what.
So the simple question before digging in: Has anyone successfully installed the 2.1 compiler on Debian Stretch? If so, was there something additional that needs to be done?
You skipped most important piece of information: is your system 32-bit? You fetched old 32-bit version of GPC. Vast majority of PC-s now are capable of running 64-bit system and there are definite advantages to doing so. So there is good chance that you have 64-bit system. In the past 64-bit systems had pretty good support for running 32-bit binaries. But new distributions by default are only capable of running 64-bit binaries. For example, Debian 7 on machine that I write this is neiter able to create 32-bit binary nor to run one if I fetch 32-bit binary from other machine. When trying to run binary error message is exactly the one you gave: before normal ELF binary runs kernel has to run appropriate version of 'ld-linux.so'. If 32-bit support is not installed needed version of 'ld-linux.so' is missing.
If you want to stick to old version you need to install support for 32-bit binaries, that is several packages which used to be installed by default, but now are in some obscure part of repository. Sorry, that I do not give you more details, but I do not remember more details. I gave you enough keywords so that you can search net yourself.
see https://wiki.debian.org/Multiarch/HOWTO, then you can install 32bit packages using apt install libc6:i386 ...
_______________________________________________ Gpc mailing list Gpc@gnu.de https://www.g-n-u.de/mailman/listinfo/gpc _______________________________________________ Gpc mailing list Gpc@gnu.de https://www.g-n-u.de/mailman/listinfo/gpc