Recent

Author Topic: OS/2 Warp 4 problem with compilation.  (Read 832 times)

mika

  • Full Member
  • ***
  • Posts: 132
OS/2 Warp 4 problem with compilation.
« on: December 11, 2025, 12:06:05 pm »
OS/2 Warp 4 with FixPack 15 have problem with compilation while assembling.  Assembler return code is -1, but running same assembler on same *.s file from command line it works just fine. Any ideas how to solve issue?

I use official release instantiation of fpc 3.2.2 for OS/2.

Wanted to have some fun with retro computing got stuck.

Thaddy

  • Hero Member
  • *****
  • Posts: 18712
  • To Europe: simply sell USA bonds: dollar collapses
Re: OS/2 Warp 4 problem with compilation.
« Reply #1 on: December 11, 2025, 01:35:10 pm »
Well, - and I know that might not be very helpful - the compiler has an option to just generate the .s files and no binaries.
As you wrote that the .s files compile, you just found your workaround.  :o
It may be just a case of adapting a linker script.
At least you should be able to prevent generation of binaries and then compile the .s files.
I am not familiar with the default warp linker, but it can also be a case of the proper -k option to pass to the linker.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

PascalDragon

  • Hero Member
  • *****
  • Posts: 6284
  • Compiler Developer
Re: OS/2 Warp 4 problem with compilation.
« Reply #2 on: December 12, 2025, 08:30:23 pm »
OS/2 Warp 4 with FixPack 15 have problem with compilation while assembling.  Assembler return code is -1, but running same assembler on same *.s file from command line it works just fine. Any ideas how to solve issue?

I use official release instantiation of fpc 3.2.2 for OS/2.

Wanted to have some fun with retro computing got stuck.

If you compile with -sh and execute the resulting ppas.bat does that work? If not, can you fiddle around with the script to find out what the difference might be?

mika

  • Full Member
  • ***
  • Posts: 132
Re: OS/2 Warp 4 problem with compilation.
« Reply #3 on: January 03, 2026, 08:54:49 pm »
If you compile with -sh and execute the resulting ppas.bat does that work? If not, can you fiddle around with the script to find out what the difference might be?

ppas.bat does work without changes.

There is this OS/2 console in full screen and OS/2 console in window.  Oddly, but fpc in console in window works, but in full screen does not. As I found that dos.Exec function is failing with Dos error 206 within full screen mode.

d2010

  • Full Member
  • ***
  • Posts: 247
Re: OS/2 Warp 4 problem with compilation.
« Reply #4 on: January 05, 2026, 12:16:33 am »
OS/2 Warp 4 with FixPack 15 have problem with compilation while assembling. 
Wanted to have some fun with retro computing got stuck.

Please, please how to downloading Os/2 live Os ?. I need operating system Os/2
running into my win8 x32.,, I do not have Os/2 or Deskview Os/2,,

mika

  • Full Member
  • ***
  • Posts: 132
Re: OS/2 Warp 4 problem with compilation.
« Reply #5 on: January 06, 2026, 10:59:17 am »
Please, please how to downloading Os/2 live Os ?. I need operating system Os/2
running into my win8 x32.,, I do not have Os/2 or Deskview Os/2,,

Search "OS/2 Warp download". Maybe? There is no "live" iso or something like that. OS/2 is a legacy.
Installation is a handful thou. If you gonna install on real hardware you will need working floppy disks (three of them).
« Last Edit: January 06, 2026, 11:01:44 am by mika »

finchley

  • Newbie
  • Posts: 4
Re: OS/2 Warp 4 problem with compilation.
« Reply #6 on: January 06, 2026, 12:00:07 pm »
For what it's worth:  https://winworldpc.com/product/os-2-warp-4/os-2-warp-452
No idea if it works. Just searching the web...

Thaddy

  • Hero Member
  • *****
  • Posts: 18712
  • To Europe: simply sell USA bonds: dollar collapses
Re: OS/2 Warp 4 problem with compilation.
« Reply #7 on: January 06, 2026, 02:31:19 pm »
Yes, that will work. If it is legal is a different matter.

BTW:
Under windows 10/11, you can mount the "floppies" binaries by just right clicking from the explorer and choose mount. It will show up as a mounted floppy.
Change to it and run.

(mount all 3 floppies)
« Last Edit: January 06, 2026, 02:35:56 pm by Thaddy »
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

 

TinyPortal © 2005-2018