RE: Re: Installing on Debian Stretch?
"scott andrew franco" <[email protected]> Mon, 24 Jun 2019 13:05:59 -0700
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <20190624130559.6c61c97e98fe7bb02193b2d6dca4a85a.aa86cf01ca.mailapi@email03.godaddy.com> |
--===============0127085760== Content-Type: multipart/alternative; boundary="=_67b08a708a9d3b83a3cc546d74de6db3" --=_67b08a708a9d3b83a3cc546d74de6db3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 If you should still need this, I found my notes to get the 64 bit GPC worki= ng online: =20 https://sourceforge.net/p/pascal-p6/discussion/general/thread/e712a641/ =20 Good luck. =20 Scott Franco =20 --------- Original Message --------- Subject: RE: Re: Installing on Debian = Stretch? From: "scott andrew franco" <[email protected]> Date: 6/24/19 1:00 pm To: "Ken Linder" <[email protected]>, [email protected] 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: =20 https://sourceforge.net/projects/pascal-p6/ =20 I used a stock 64 bit built (I think the African chief built). =20 Scott Franco =20 --------- Original Message --------- Subject: Re: Installing on Debian Stre= tch? From: "Ken Linder" <[email protected]> Date: 6/12/19 1:36 pm To: [email protected] Thanks Matthias & Waldek =20 My OS and machine are strictly 64 bit. I really don't want to mix architec= tures. I benchmarked a 32 bit Debian install against a 64 bit Debian inst= all and the 64 bit version was significantly faster for my particular hardw= are mix. CPU is a little AMD C-70 APU. =20 Maybe I missed something. Had no idea the version of the binary I download= ed was the 32 bit. AH well. Apparently there are no 64 bit binary install= s 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 GP= C isn't completely dead. =20 I wanted to start getting involved in GPC again by simply installing the mo= st 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 wo= uld be easier. Ah well! =20 Over the next few days I will try to build the source and perhaps see just = how confused I can make myself! =20 Thanks again -Ken =20 On Wed, Jun 12, 2019 at 9:21 AM Matthias Klose <[email protected]> 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 Deb= ian > ^^^^^^^^^^^ >> Stretch machine. I downloaded gpc-2.1-with-gcc.i686-pc-linux-gnu.tar= =2Egz > ^^^^^^^ >=20 > gpc-2.1 is quite old and a lot developements happened after it was > released >=20 >> and expanded it as specified here: >> https://www.gnu-pascal.de/gpc/Binary-Distributions.html#Binary-Distribu= tions >> >> It doesn't matter what options I use when trying to run the GPC compile= r. >> 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 insta= lled >> the 2.1 compiler on Debian Stretch? If so, was there something additio= nal >> that needs to be done? >=20 > 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. >=20 > 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. =20 see https://wiki.debian.org/Multiarch/HOWTO, then you can install 32bit pa= ckages using apt install libc6:i386 ... =20 _______________________________________________ Gpc mailing list [email protected] https://www.g-n-u.de/mailman/listinfo/gpc=20 _______________________________________________ Gpc mailing list [email protected]= https://www.g-n-u.de/mailman/listinfo/gpc --=_67b08a708a9d3b83a3cc546d74de6db3 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <div>If you should still need this, I found my notes to get the 64 bit GPC = working online:</div> <div> </div> <div><a href=3D"https://sourceforge.net/p/pascal-p6/discussion/general/thre= ad/e712a641/">https://sourceforge.net/p/pascal-p6/discussion/general/thread= /e712a641/</a></div> <div> </div> <div>Good luck.</div> <div> </div> <div>Scott Franco</div> <div> </div> <blockquote class=3D"threadBlockQuote" style=3D"border-left: 2px solid #C2C= 2C2; padding-left: 3px; margin-left: 4px;">--------- Original Message -----= ---- <div>Subject: RE: Re: Installing on Debian Stretch?<br />From: "scott andre= w franco" <[email protected]><br />Date: 6/24/19 1:00 pm<br />To: "= Ken Linder" <[email protected]>, [email protected]<br /><br /> <div>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</div> <div>notes in the Pascal-P6 project regarding that:</div> <div> </div> <div><a href=3D"https://sourceforge.net/projects/pascal-p6/">https://source= forge.net/projects/pascal-p6/</a></div> <div> </div> <div>I used a stock 64 bit built (I think the African chief built).</div> <div> </div> <div>Scott Franco</div> <div> </div> <blockquote class=3D"threadBlockQuote" style=3D"border-left: 2px solid #C2C= 2C2; padding-left: 3px; margin-left: 4px;">--------- Original Message -----= ---- <div>Subject: Re: Installing on Debian Stretch?<br />From: "Ken Linder" <= ;[email protected]><br />Date: 6/12/19 1:36 pm<br />To: [email protected]<br /><= br /> <div dir=3D"ltr">Thanks Matthias & Waldek <div> </div> <div>My OS and machine are strictly 64 bit. I really don't want to mi= x 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.</div> <div> </div> <div>Maybe I missed something. Had no idea the version of the binary = I downloaded was the 32 bit. AH well. Apparently there are no 6= 4 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.</div> <div> </div> <div>I wanted to start getting involved in GPC again by simply installing t= he most recent binary from the website and NOT do a complete build. A= h well!<br /><br />I saw your repo on github, Waldek. I haven't built= GPC from source in over 10 years! I incorrectly thought installing t= he binary from the website would be easier. Ah well!</div> <div> </div> <div>Over the next few days I will try to build the source and perhaps see = just how confused I can make myself!</div> <div> </div> <div>Thanks again</div> <div>-Ken</div> <div> </div> </div> <br /> <div class=3D"gmail_quote"> <div class=3D"gmail_attr" dir=3D"ltr">On Wed, Jun 12, 2019 at 9:21 AM Matth= ias Klose <<a href=3D"mailto:[email protected]">[email protected]</a>> wr= ote:</div> <blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; borde= r-left: 1px solid #cccccc; padding-left: 1ex;">On 12.06.19 16:04, Waldek He= bisch wrote:<br /> > Ken Linder wrote:<br /> >><br /> >> Hel= lo all,<br /> >><br /> >> Thought I would try installing the mo= st recent version of GPC on my Debian<br /> > = &nbs= p; ^^^^^^^^^^^<br /> >> Stretch machine= =2E I downloaded gpc-2.1-with-gcc.i686-pc-linux-gnu.tar.gz<br /> >=  = ; ^^^^^^^<br /> > <br /> > = gpc-2.1 is quite old and a lot developements happened after it was<br /> &g= t; released<br /> > <br /> >> and expanded it as specified here:<b= r /> >> <a href=3D"https://www.gnu-pascal.de/gpc/Binary-Distributions= =2Ehtml#Binary-Distributions" rel=3D"noreferrer" target=3D"_blank">https://= www.gnu-pascal.de/gpc/Binary-Distributions.html#Binary-Distributions</a><br= /> >><br /> >> It doesn't matter what options I use when tryin= g to run the GPC compiler.<br /> >> I always get the following error:= <br /> >><br /> >> -bash: /usr/local/bin/gpc: No such file or d= irectory<br /> >><br /> >> I think something is missing somewhe= re, just not certain what.<br /> >><br /> >> So the simple ques= tion before digging in: Has anyone successfully installed<br /> >> th= e 2.1 compiler on Debian Stretch? If so, was there something addition= al<br /> >> that needs to be done?<br /> > <br /> > You skipped= most important piece of information: is your system 32-bit?<br /> > You= fetched old 32-bit version of GPC. Vast majority of PC-s now<br /> &= gt; are capable of running 64-bit system and there are definite advantages<= br /> > to doing so. So there is good chance that you have 6= 4-bit system.<br /> > In the past 64-bit systems had pretty good support= for running<br /> > 32-bit binaries. But new distributions by def= ault are only<br /> > capable of running 64-bit binaries. For exam= ple, Debian 7 on<br /> > machine that I write this is neiter able to cre= ate 32-bit binary<br /> > nor to run one if I fetch 32-bit binary from o= ther machine.<br /> > When trying to run binary error message is exactly= the one you<br /> > gave: before normal ELF binary runs kernel has to r= un<br /> > appropriate version of 'ld-linux.so'. If 32-bit support= is<br /> > not installed needed version of 'ld-linux.so' is missing.<br= /> > <br /> > If you want to stick to old version you need to instal= l support<br /> > for 32-bit binaries, that is several packages which us= ed to be<br /> > installed by default, but now are in some obscure part = of repository.<br /> > Sorry, that I do not give you more details, but I= do not remember<br /> > more details. I gave you enough keywords = so that you can search<br /> > net yourself.<br /> <br /> see <a href=3D= "https://wiki.debian.org/Multiarch/HOWTO" rel=3D"noreferrer" target=3D"_bla= nk">https://wiki.debian.org/Multiarch/HOWTO</a>, then you can install 32bit= packages<br /> using apt install libc6:i386 ...<br /> <br /> _____________= __________________________________<br /> Gpc mailing list<br /> <a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]</a><br /> <a href=3D"https:= //www.g-n-u.de/mailman/listinfo/gpc" rel=3D"noreferrer" target=3D"_blank">h= ttps://www.g-n-u.de/mailman/listinfo/gpc</a></blockquote> </div> _______________________________________________ Gpc mailing list [email protected]= https://www.g-n-u.de/mailman/listinfo/gpc</div> </blockquote> </div> </blockquote> --=_67b08a708a9d3b83a3cc546d74de6db3-- --===============0127085760== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR3BjIG1haWxp bmcgbGlzdApHcGNAZ251LmRlCmh0dHBzOi8vd3d3Lmctbi11LmRlL21haWxtYW4vbGlzdGluZm8v Z3Bj --===============0127085760==--