Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: darkcoder on July 02, 2008, 01:29:57 PM
-
Hi all
I would like to try cross development (on a Win machine) of programs for Amiga (68k, 0s4, morphos and AROS) using SDL.
I downloaded AmiDevCpp, and I am able to compile the examples.
Unfortunately, it seems that AmiDevCpp does not come with all necessary stuff to depelop SDL applications. What do I need to install? And where should I install?
any help appreciated
-
Problem is that SDL for AOS3.x is way too old and buggy. We would need a new and more advanced port. SDL for OS4 and MOS seems to be good enough.
-
I have the 3.x port but I can't find the OS4, AROS and MorphOS version of the SDL. Can you help me?
-
For OS4, the main SDL library is here:
rcdrummond.net (http://www.rcdrummond.net/sdl/)
Download the static clib2 and newlib archives:
http://www.rcdrummond.net/sdl/SDL-1.2.11-20080130-AmigaOS4_clib2.tar.bz2 (http://www.rcdrummond.net/sdl/SDL-1.2.11-20080130-AmigaOS4_clib2.tar.bz2)
http://www.rcdrummond.net/sdl/SDL-1.2.11-20080130-AmigaOS4_newlib.tar.bz2 (http://www.rcdrummond.net/sdl/SDL-1.2.11-20080130-AmigaOS4_newlib.tar.bz2)
The shared version requires a newer SDK and, maybe, a newer gcc crosscompiler too.
On OS4Depot.net (http://os4depot.net/index.php?function=browse&cat=development/library&mode=flat&sort=filename) you'll find the latest version of many additional SDL libraries, like SDL_Mixer (http://os4depot.net/index.php?function=showfile&file=development/library/audio/sdl_mixer.lha).
Varthall
-
The MorphOS version of the library is called PowerSDL. You can find it on the Aminet (http://aminet.net/search?query=power+sdl).
As for the AROS version, you can find it on the Aros-Exec archives (http://archives.aros-exec.org/index.php?function=showfile&file=development/library/libsdl.a).
-
Hi Varthall
sorry for silly questions but i ma completely new to OS4 development:
about SDL: can I unpack the SDL devel files directy into the appropriate dirs of the AmiDevCpp directory tree?
aboud SDK:
there are specific OS4 SDK versions for different development platform (i.e. native SDK, SDK for cross development on linux ,SDK for cross development on windows, etc) ? I would like to use both Windows and macOS X as developing platform, where can i find SDKs?
br
-
darkcoder wrote:
Hi Varthall
sorry for silly questions but i ma completely new to OS4 development:
about SDL: can I unpack the SDL devel files directy into the appropriate dirs of the AmiDevCpp directory tree?
Yes you can, but it is not such a good idea, because you risk to mess up you entire installation.
You better create a DevPak yourself. (http://amidevcpp.amiga-world.de/CMS/index.php?option=com_content&task=view&id=12)
The nice thing is, that you can install and uninstall this devpak with the package manager, to make sure you remove everything properly if it did not york as expected.
Uploading the Devpak here, (http://amidevcpp.amiga-world.de/devpakupload.php) would be appreciated ;)