Remember me

Lost Password?

Register now!


Who's Online
86 user(s) are online (68 user(s) are browsing Forums)

Members: 1
Guests: 85

khayoz, more...

Support us!


Report message:*

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Capehill on 2019/10/28 17:53:53


For creating a shared object:
-fPIC is need to compile files for a shared object (library parts)
-shared is needed when linking the shared object file itself

For using a shared object:
-use-dynld is needed when you want to link an executable file with some shared object (.so instead of .a)

I will check the files at some point but they are really the ones that came with the GCC.

You can try to use -athread=single and I think linker will give you errors if that's a no-go. Generally it's not usable for SDL games, for example, because audio runs in its own thread.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project