On Fri, 15 Sep 1995, Peter Gerwinski wrote:
Hello, folks!
I have done the patch of GPC for EMX. It was not straightforward but not more work than I had expected. I upload the binaries and the source patch to kampi.hut.fi.
Have fun with it!
Peter
Folks,
The EMX binaries made by Peter are now available in kampi.hut.fi directory jtv/gnu-pascal/EMX
There is a README file, please read it.
Contents of the EMX directory:
-r--r--r-- 1 jtv 35231 Sep 15 16:57 tar.exe -r--r--r-- 1 jtv 167476 Sep 15 16:57 tar-os2.exe -r--r--r-- 1 jtv 5468 Sep 15 16:55 README -r--r--r-- 1 jtv 188138 Sep 15 16:54 make-gpc.zip -r--r--r-- 1 jtv 39910 Sep 15 16:53 gzip.exe -r--r--r-- 1 jtv 1005157 Sep 15 16:52 gpc-263b.zip
If I understood correctly, the make-gpc.zip contains a couple of modified source files (compared to gpc-2.6.3 sources you can find from jtv/gnu-pascal/gpc-1.1-2.6.3.tar.gz)
The file gpc-263b.zip contains binaries for gpc driver program, gpc1 compiler, the gpc-cccp preprocessor and the gpc library.
Juki
ps. I don't have any systems around with emx in it, so I am unable to verify if these programs work...
Hi Jukka and Peter,
do you think (or mind) announcing this os/2 port of gpc in the appropriate news groups, like comp.os.os2.announce, comp.os.os2.programming, and comp.lang.pascal.ansi-iso? There are still rumors that there would be no os/2 port, you know, eventhough I have downloaded it already ... :-)
Later. Stefan
PS: I you give me the go-ahead I don't mind doing it.
On Tue, 19 Sep 1995 sad@utkux.utcc.utk.edu wrote:
Hi Jukka and Peter,
do you think (or mind) announcing this os/2 port of gpc in the appropriate news groups, like comp.os.os2.announce, comp.os.os2.programming, and comp.lang.pascal.ansi-iso? There are still rumors that there would be no os/2 port, you know, eventhough I have downloaded it already ... :-)
Later. Stefan
PS: I you give me the go-ahead I don't mind doing it.
I don't mind, I just hope it works :-)
Juki
On Mon, 18 Sep 1995, Jukka Virtanen wrote:
The EMX binaries made by Peter are now available in kampi.hut.fi directory jtv/gnu-pascal/EMX
I just downloaded them and tried it out. Unfortunatly, I was a little disappointed with it. The resulting object files seemed to be highly unoptimized.
I compiled a simple "Hello, world" program using GPC with the "-Zomf" option to produce OS/2 .OBJ files instead of UNIX a.out. The resulting executable was 68363 bytes. I compiled a similar "Hello, world" program using GCC (a direct translation) also with the "-Zomf" option and the resulting executable file was only 21809 bytes.
Is there anything I can do to fix this? I know probably the EMX translation was a "rush job", but maybe y'all can give me some pointers as to how to optimize it a bit. (Or maybe I can get somebody else if Peter is too busy ...). Also, for some reason when I use the "-O3" switch, the resulting object file actually becomes bigger! Why is that?
At first when I converted the GPC.A file to OMF format, I didn't strip any debugging info or anything. The resulting executable was pretty huge (90k) for such a small program. After stripping the debug info and what not, the exe was "only" 68k ... so that helped a bit. Is there anything else I can do?
At least I can use this compiler for my CMSC112 class ... "Introduction to Computer Science with Pascal" ... oohh ... tough class :-). I found out that Virtual Pascal doesn't do ISO Pascal and probably Borland is the same, so this compiler will come in handy as then I don't have to work on projects at school .. I can do it in the privacy of my room.
Later ...
Arcadio