OS/2, eCS & ArcaOS - Technical > Programming
Compiling a PM sample with GCC (2023)
Martin Iturbide:
Hi
I had setup a new Dev ArcaOS 5.0.7 VM to keep going with the "fun" of trying to compile some old Presentation Manager samples with GCC and other open source tools.
This is my Vanilla ArcaOS VM with:
- yum install git gcc make libc-devel binutils watcom-wrc watcom-wlink-hll
And I made sure that I have on the config.sys
SET INCLUDE=C:\usr\include
SET EMXOMFLD_LINKER=wl.exe
SET EMXOMFLD_TYPE=WLINK
I'm very happy that the samples we checked before are now compiling and working.
- https://github.com/OS2World/DEV-SAMPLES-PM-PMWalker2
- https://github.com/OS2World/DEV-SAMPLES-PM-BitCat
- https://github.com/OS2World/DEV-SAMPLES-PM-PMHello
My new compile attempts, questions and cry for help come next.
Regards
Martin Iturbide:
Hi
Now, I'm trying to compile VectFont
https://github.com/OS2World/DEV-SAMPLES-PM-VectFont
But checking the included makefile (VECTFONT) against the makefile I did, I'm not sure if missing some source code here.
I'm attaching my build attempt and the errors on make.out. I don't care about the warnings yet, just the errors to try to compile the sample as it is includes first and later go after the warnings.
Regards
Dave Yeo:
Missing code? Look at VECTFONT and VECTFONT.LNK, seems there are various vf**.c files expected.
Lars:
--- Quote from: Martin Iturbide on April 22, 2023, 03:43:34 am ---Hi
Now, I'm trying to compile VectFont
https://github.com/OS2World/DEV-SAMPLES-PM-VectFont
But checking the cnluded makefile (VECTFONT) against the makefile I did, I'm not sure if missing some source code here.
I'm attaching my build attempt and the errors on make.out. I don't care about the warnings yet, just the errors to try to compile the sample as it is includes first and later go after the warnings.
Regards
--- End quote ---
Martin, I seem to remember that the Petzold book builds one example upon the other. As Dave said, you will need to find the missing source files on the floppy disk (?) and add them to the GitHub repo.
Martin Iturbide:
Hi
I found the full version:
https://archive.org/download/OS2BBS/08-Other.zip/S12219.ZIP
Now I have to check out how to recreate the makefile with all those.
Regards
Navigation
[0] Message Index
[#] Next page
Go to full version