Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
0 crawler(s) on-line.
 80 guest(s) on-line.
 2 member(s) on-line.


 amigakit,  eliyahu

You are an anonymous user.
Register Now!
 eliyahu:  2 mins ago
 amigakit:  3 mins ago
 pixie:  7 mins ago
 minator:  22 mins ago
 Birbo:  24 mins ago
 OlafS25:  1 hr 12 mins ago
 clint:  1 hr 22 mins ago
 Frank:  2 hrs 14 mins ago
 tonyw:  2 hrs 21 mins ago
 zipper:  3 hrs 8 mins ago

/  Forum Index
   /  Amiga Development
      /  Looking for OS includes for WarpOS code output (gcc)
Register To Post

PosterThread
MagicSN 
Looking for OS includes for WarpOS code output (gcc)
Posted on 11-Jun-2024 6:23:15
#1 ]
Hyperion
Joined: 10-Mar-2003
Posts: 674
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
Profile     Report this post  
MagicSN 
Re: Looking for OS includes for WarpOS code output (gcc)
Posted on 12-Jun-2024 6:09:25
#2 ]
Hyperion
Joined: 10-Mar-2003
Posts: 674
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
Profile     Report this post  
MagicSN 
Re: Looking for OS includes for WarpOS code output (gcc)
Posted on 13-Jun-2024 6:20:14
#3 ]
Hyperion
Joined: 10-Mar-2003
Posts: 674
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
Profile     Report this post  
HammerD 
Re: Looking for OS includes for WarpOS code output (gcc)
Posted on 16-Jun-2024 2: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
Profile     Report this post  
MagicSN 
Re: Looking for OS includes for WarpOS code output (gcc)
Posted on 16-Jun-2024 13:28:57
#5 ]
Hyperion
Joined: 10-Mar-2003
Posts: 674
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
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle