Poster | Thread |
MagicSN
| |
Looking for OS includes for WarpOS code output (gcc) Posted on 11-Jun-2024 5:23:15
| | [ #1 ] |
|
|
|
Hyperion |
Joined: 10-Mar-2003 Posts: 707
From: Unknown | | |
|
| Hi!
Anyone got OS-includes for WarpOS code output for gcc (not vbcc, not StormC, the ones with inline/ files for gcc and the needed - if i remember right - pragma pack stuff).
Thanks in advance!
(I was asked if i can do a WarpOS compile of Gorky 17 too when i do the 68k version, but i do not have includes anymore, compiler i have a working one, just with only the basic includes, OS includes missing)
MagicSN |
|
Status: Offline |
|
|
MagicSN
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 12-Jun-2024 5:09:25
| | [ #2 ] |
|
|
|
Hyperion |
Joined: 10-Mar-2003 Posts: 707
From: Unknown | | |
|
| Managed to find the inlines now.
Still following problems:
1. Need a libSDL.a for WarpOS (for recompiling the dynamic linker library magicsoundsystem I am using for Gorky17) 2. Still need the pragma pack adapted OS includes (in worst case I can do this adaption myselves) 3. Linking crashes currently (for now I just compiled it without the pragma pack stuff, to see if it compiles at all, which it did) the 68k Emu of OS4 (I am running a WarpOS-hosted gcc on OS4), probably has to get linked on a real WarpOS-system then, but I will look at that last
The biggest immediate problem is the need for a libSDL.a. I found the source-code of one, but it relies on some MorphOS-based compiler for Fat Binary stuff. Cannot remember how this was done with AmigaOS-hosted compiler (which I need to use), I think somehow the compiled code (done with 68k compiler) was done into an array, and this provided to it, but I cannot remember how this was done exactly. If someone could refresh my memory on it this would be great (or even better provide me a working libSDL.a for WarpOS)
Thanks in advance.
Best regards, Steffen |
|
Status: Offline |
|
|
MagicSN
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 13-Jun-2024 5:20:14
| | [ #3 ] |
|
|
|
Hyperion |
Joined: 10-Mar-2003 Posts: 707
From: Unknown | | |
|
| Got now a WOS compiler that fully works, pragma-adaptions to includes at all.
Does not have a working SDL (due to different syntax of pragma pack in the old 2.95.2 based compiler) but someone will try to compile magicsoundsystem (the only exe were i need SDL) for me.
Linker crash does not happen with this 2.95.2 gcc ;) only the 2.95.3 one had it.
Asides from that i still need to work out a few things but need to do this myselves
- adapt g17 code to compiler not able to do unnamed unions - adapt to some missing functions in linker libs like vsnprintf
But i will be able to do this. Most likely wos version will not be available together with 68k version but at a later time though |
|
Status: Offline |
|
|
HammerD
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 16-Jun-2024 1:46:45
| | [ #4 ] |
|
|
|
Cult Member |
Joined: 31-Oct-2003 Posts: 935
From: Ontario, Canada | | |
|
| @MagicSN
Thank you for this! Anything else you can update/compile for WOS would be appreciated!
_________________ AmigaOS 4.x Beta Tester - Classic Amiga enthusiast - http://www.hd-zone.com is my Amiga Blog, check it out! |
|
Status: Offline |
|
|
MagicSN
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 16-Jun-2024 12:28:57
| | [ #5 ] |
|
|
|
Hyperion |
Joined: 10-Mar-2003 Posts: 707
From: Unknown | | |
|
| @HammerD
It is not yet guaranteed that it works.
Currently it compiles but crashes on linking.
If anyone could get this
https://github.com/AmigaPorts/morphos-cross-toolchain/blob/master/toolchain-morphos
(It can be configured during setup to produce a Compiler for WarpOS instead of Morphos)
Working this would help! Best a compiler hosted on cygwin, but linux-x86 would also work for me.
I could not get it running. First there seemed to be (Trivial) changes to the mos2wos archive but after fixing those the compiling of binutils gave only cryptic error messages from the script.
Best regards, Steffen |
|
Status: Offline |
|
|
Hedeon
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 13-Nov-2024 11:00:01
| | [ #6 ] |
|
|
|
New Member |
Joined: 23-May-2016 Posts: 9
From: Unknown | | |
|
| For those who wonder: everything was fixed.
|
|
Status: Offline |
|
|
kolla
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 13-Nov-2024 16:32:45
| | [ #7 ] |
|
|
|
Elite Member |
Joined: 20-Aug-2003 Posts: 3234
From: Trondheim, Norway | | |
|
| PHEW!!! _________________ B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC |
|
Status: Offline |
|
|
MagicSN
| |
Re: Looking for OS includes for WarpOS code output (gcc) Posted on 13-Nov-2024 18:30:30
| | [ #8 ] |
|
|
|
Hyperion |
Joined: 10-Mar-2003 Posts: 707
From: Unknown | | |
|
| @Hedeon
Thanks for your help with it also!
For all others (Hedeon is Betatester for my WarpOS ports now so he knows already):
I got Gorky 17 for WarpOS running. Betatest is still running but I expect to release it in December. People who bought the 68k Version get the WarpOS version free.
Tests:
BPPC 175 MHz -> Too slow BPPC 300 MHz -> works fine CSPPC 233 MHz -> works fine Apocalypse 450 MHz G4 -> works fantastic SonnetPPC 800 MHz -> works fantastic MacMini (using MorphOS WOS Emulation) -> works fantastic (one system had trouble with the Movie Files - we tried on several systems with MOS, the others ran everything fine - but I think this was a setup problem of that system - the trouble was also reproducable when calling the VideoPlayer - we used mplayer for MOS by default - was called from the shell without the game)
I also have a WOS version of my next game ("Secret Project #1") in the meantime. Speed results are similar to G17 WOS. Probably runs a bit faster than G17.
Best regards, Steffen |
|
Status: Offline |
|
|