Compilation succeeded, but uses GPC don't work
Paul Dufresne <[email protected]> Sat, 06 Mar 2021 14:26:28 -0500
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
--===============8548028812645232241== Content-Type: multipart/alternative; boundary="----=_Part_138384_1810356572.1615058788174" ------=_Part_138384_1810356572.1615058788174 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ok, I'd like to report that with the patch you sent me privately, I was abl= e to compile https://github.com/hebisch/gpc=3D20 combined with ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core-3.4.6.tar.bz2 us= ing Ubuntu 20.10 compiler: was to say default but: gcc (GCC) 9.3.1 20200430 (for GNAT Community 2020 20200818) paul@jacko:~/gpc$ gpc --version gpc 20070904, based on gcc-3.4.6 paul@jacko:~/gpc$ /usr/local/bin/gcc --version gcc (GCC) 3.4.6 I did had to edit p/doc/hr/gpc.texi to begins: -------------------------------------------------- \input texinfo @setfilename gpc-hr.info @documentencoding iso-8859-2 @settitle GNU Pascal priru<E8>nik. @c We use Latin 2 charset for hr_HR language. @set charset iso-8859-2 ----------------- and p/doc/es/gpcs.texi to begins: ----------------------- \input texinfo @setfilename gpcs.info @documentencoding iso-8859-1 @settitle Est<E1>ndar de Codificaci<F3>n GNU Pascal @c Copyright (C) 2001-2006 Free Software Foundation, Inc. @c @c Authors: Frank Heckenbach <mailto:[email protected]> @c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Peter Gerwinski <m= ailto:[email protected]> @c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Nicola Girardi <ma= ilto:[email protected]> @c @c Remember to update this when you save @set lastupdate 2006-02-02 @direntry * Est<E1>ndares de Codificaci<F3>n Pascal: (gpcs).=C2=A0=C2=A0 Est<E1>ndare= s de codificaci<F3>n GNU Pascal. @end direntry ----------------------------- So I moved @documentencoding before @settitle when it was using some specia= l characters... but I now see emacs did transform the characters in the doc= ument too.=20 And now I can: paul@jacko:~/gpc$ rm a.out hello paul@jacko:~/gpc$ gpc -o hello ../gpc2/gcc-3.4.6/gcc/p/demos/hello.pas=20 paul@jacko:~/gpc$ ls -lh total 548K -rwxrwxr-x 1 paul paul 546K mar=C2=A0 6 14:21 hello paul@jacko:~/gpc$ ./hello Hello, world. paul@jacko:~/gpc$ gpc ../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas=20 ../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas:31: erreur: module/unit inter= face `GPC' could not be imported paul@jacko:~/gpc$ LANG=3DC gpc ../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pa= s=20 ../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas:31: error: module/unit interf= ace `GPC' could not be imported paul@jacko:~/gpc$=20 Will need to figure out what to do to make that working. ------=_Part_138384_1810356572.1615058788174 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>= <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"></h= ead><body ><div style=3D"font-family: Verdana, Arial, Helvetica, sans-serif= ; font-size: 10pt;"><div>Ok, I'd like to report that with the patch you sen= t me privately, I was able to compile <a target=3D"_blank" href=3D"https://= github.com/hebisch/gpc=3D20">https://github.com/hebisch/gpc</a><br></div><d= iv>combined with <a target=3D"_blank" href=3D"ftp://ftp.gnu.org/gnu/gcc/gcc= -3.4.6/gcc-core-3.4.6.tar.bz2">ftp://ftp.gnu.org/gnu/gcc/gcc-3.4.6/gcc-core= -3.4.6.tar.bz2</a> using Ubuntu 20.10 compiler:<br></div><div>was to say de= fault but:<br></div><div>gcc (GCC) 9.3.1 20200430 (for GNAT Community 2020 = 20200818)<br></div><div><br></div><div>paul@jacko:~/gpc$ gpc --version<br><= /div><div>gpc 20070904, based on gcc-3.4.6<br></div><div><br></div><div>pau= l@jacko:~/gpc$ /usr/local/bin/gcc --version<br></div><div>gcc (GCC) 3.4.6<b= r></div><div><br></div><div>I did had to edit p/doc/hr/gpc.texi to begins:<= br></div><div>--------------------------------------------------<br></div><= div>\input texinfo<br></div><div>@setfilename gpc-hr.info<br></div><div>@do= cumentencoding iso-8859-2<br></div><div>@settitle GNU Pascal priru<E8>= ;nik.<br></div><div>@c We use Latin 2 charset for hr_HR language.<br></div>= <div>@set charset iso-8859-2<br></div><div>-----------------<br></div><div>= and p/doc/es/gpcs.texi to begins:<br></div><div>-----------------------<br>= </div><div>\input texinfo<br></div><div>@setfilename gpcs.info<br></div><di= v>@documentencoding iso-8859-1<br></div><div>@settitle Est<E1>ndar de= Codificaci<F3>n GNU Pascal<br></div><div><br></div><div><br></div><d= iv>@c Copyright (C) 2001-2006 Free Software Foundation, Inc.<br></div><div>= @c<br></div><div>@c Authors: Frank Heckenbach <<a target=3D"_blank" href= =3D"mailto:[email protected]">[email protected]</a>><br></div><div>@= c Peter Gerwinski <= ;<a target=3D"_blank" href=3D"mailto:[email protected]">[email protected]= </a>><br></div><div>@c &n= bsp; Nicola Girardi <<a target=3D"_blank" href=3D"mailto:[email protected]= ">[email protected]</a>><br></div><div>@c<br></div><div>@c Remember to upd= ate this when you save<br></div><div>@set lastupdate 2006-02-02<br></div><d= iv><br></div><div><br></div><div>@direntry<br></div><div>* Est<E1>nda= res de Codificaci<F3>n Pascal: (gpcs). Est<E1>ndare= s de codificaci<F3>n GNU Pascal.<br></div><div>@end direntry<br></div= ><div>-----------------------------<br></div><div><br></div><div>So I moved= @documentencoding before @settitle when it was using some special characte= rs... but I now see emacs did transform the characters in the document too.= <br></div><div><br></div><div>And now I can:<br></div><div>paul@jacko:~/gp= c$ rm a.out hello<br></div><div>paul@jacko:~/gpc$ gpc -o hello ../gpc2/gcc-= 3.4.6/gcc/p/demos/hello.pas <br></div><div>paul@jacko:~/gpc$ ls -lh<br></di= v><div>total 548K<br></div><div>-rwxrwxr-x 1 paul paul 546K mar 6 14:= 21 hello<br></div><div>paul@jacko:~/gpc$ ./hello<br></div><div>Hello, world= .<br></div><div>paul@jacko:~/gpc$ gpc ../gpc2/gcc-3.4.6/gcc/p/demos/readdir= demo.pas <br></div><div>../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas:31: e= rreur: module/unit interface `GPC' could not be imported<br></div><div>paul= @jacko:~/gpc$ LANG=3DC gpc ../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas <b= r></div><div>../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas:31: error: modul= e/unit interface `GPC' could not be imported<br></div><div>paul@jacko:~/gpc= $ <br></div><div><br></div><div>Will need to figure out what to do to make = that working.<br></div><div><br></div></div><br></body></html> ------=_Part_138384_1810356572.1615058788174-- --===============8548028812645232241== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gpc mailing list [email protected] https://www.g-n-u.de/mailman/listinfo/gpc --===============8548028812645232241==--