[Scummvm-devel] Shared objects exe

Jordi Vilalta jvprat at gmail.com
Tue Feb 3 15:33:28 CET 2009


Hi,

2009/2/3 Hubert Maier <raziel_nosgoth at web.de>:
> Hi John,
>
>>> > I have no idea what a "SO exe" is, or how one would build one. If SO =
>>> > Shared Object (as it seems to be on Linux?), then maybe what you are
>>> > looking for is
>>> >   ./configure --enable-plugins --default-dynamic
>>>
>>> By using this command i get a
>>> Requested to build plugins ... yes
>>> Ability to build plugins ... no
>>>
>>> Hmm, i don't know if this is what i want anyway
>
>> What you are trying to do is just simply create a dynamic linked executable
>> (the ScummVM engine plugins are, in this case, another matter all together).
>
>>> SO are shared objects, yes, sorry for being misleading
>>> I'd like to build the exe without linking e.g. SDL static, but to make
>>> ScummVM
>>> use the shared object of SDL i have flying around on my machine.
>>>
>>> Main reason is size of the exe and (i think) easier to stay up-to-date
>>> with third
>>> party apps, like e.g. SDL
>
>> The ability to create a dynamically linked ScummVM is largely dependent on
>> your build environment and platform but in the majority of cases (Linux/SDL
>> etc.) this will be the default state. You would usually require
>> configuration work to change the build to a static build (there are a few
>> cases where static builds are default like the GP2X for technical reasons
>> but they are in the minority).
>
>> If you could specify what your build platform is then we would be able to
>> advice you on the default build state.
>
> AmigaOS4
> SDL backend
>
> Target: ppc-amigaos
> Thread model: single
> gcc version 4.2.4 (adtools build 20090118)

According to this:
http://www.friedenhq.org/index.php5?title=Shared_Object_on_AmigaOS_4.0
you probably need to add -use-dynld to your LDFLAGS. If it works we
can add it to the configure script.




More information about the Scummvm-devel mailing list