Hello Gnu Pascal programmers,
are some of you also using freeBSD ?
I found no binary for FreeBSD on your homepage, However I found this gpc-2.0_1 A free 32-bit Pascal compiler Long description | Sources | Main Web Site Maintained by: antonz@library.ntu-kpi.kiev.ua Requires: autoconf213-2.13.000227, gcc-2.8.1, gettext-0.10.35, gmake-3.79.1, m4-1.4_1
under http://www.freebsd.org/ports/lang.html
And this is prepared for freeBSD,
gpc version 19990118, is my version, and I downloaded ist quite recently, So I have no reason to believe that my version is newer than the FreeBSD prepared port ?
I use to download my freeBSD ports from http://www.freebsd.org/ports/lang.html.
My problem is comparing gpc version 19990118 with gpc-2.0_1. Let me guess ?
Is 19990118 similar to year = 1999 and version 0118 = 1.1_8 after disregarding the Most Significant Bit ? And can I compare gpc-2.0_1 as the current release and my 1.1_8 as not quite up to date ?
And you have a GPC for FreeBSD maintainer in kiev ? If antonz is reading this, please tell me the outcome of your gpc -v ?
Please give me a feedback on this, so that I can solve my eoln problem. My patch simply won't apply. And I run FreeBSD.
under this url ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/current/binary/
I would have expected to find some binary for FreeBSD, Or at least a README.FreeBSD
Yours Sincerely
Morten Gulbrandsen
Frank Heckenbach wrote:
Morten Gulbrandsen wrote:
Frank Heckenbach wrote:
Morten Gulbrandsen wrote:
Hello pascal programmers, this is interesting for me, it solves some problems I have.
I have unzipped gpc.fiff-emil2.gz but I don't know how to apply the patch.
You probably need GNU patch (since I made a unidiff; maybe other diffs understand it too, but I'm not sure).
Then go into the .../p directory and do `patch -p1 < gpc.diff-emil2' (options for GNU patch, if you're trying another diff, options might vary, or you might have to go one directory above).
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
Thank you, I tried.
su-2.04# pwd /usr/ports/lang/gpc/work/gpc/p
Just to be sure: This is the directory where, e.g., gpc.c and subdirectories like doc and rts are?
Hmm... Looks like a unified diff to me... The text leading up to this was:
|diff -p -r -U3 -N -X /home/gpc/p/script/gpcdiff.exclude orig/p/doc/en/todo.texi p/doc/en/todo.texi |--- orig/p/doc/en/todo.texi Thu Dec 20 21:07:45 2001 |+++ p/doc/en/todo.texi Fri Dec 28 05:49:06 2001
File to patch:
what do I type now ?
You could enter doc/en/todo.texi. But if this file exists, patch should have found it by itself (I don't know what's wrong then), and if it doesn't, you're in the wrong directory, anyway.
BTW, you did this in the source directory, not in the build directory (with the object files), didn't you?
Oh, I see in your other mail:
gpc version 19990118, based on gcc-2.8.1
This is a rather old version. Of course, the patch won't apply against that version. You need the current GPC sources first.
What kind of version for GNU Patch do you have ?
I have 2.5.4 here.
Do I have to compile, ./configure, make or install after patching ?
I general, all of them. In this particular case, a new ./configure is not required. Just make and install.
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html