Best approach to make a release/port from OS4 to OS3 ?

5 posts / 0 new
Last post
marko
marko's picture
Offline
Last seen: 8 years 8 months ago
Joined: 2010-11-30 15:48
Best approach to make a release/port from OS4 to OS3 ?

Hi, say I would like to make a OS3 release of some OS4 software I have. And given that I use gcc and the programs are without GUI (to start with)...

What and how would the best approach be:

* Would it be to fire up WinUAE and get some C compiler. Bring the OS4 code to OS3 and go from there..?
* Or use DevC on a Win-box and make an OS3 compilation somehow..?
* Or make it within OS4 environment somehow..?

Or what, I'm not sure/I don't know really..? Any pointers welcome thanks :P

(PS: sorry if this in wrong forum)

kas1e
kas1e's picture
Offline
Last seen: 1 year 7 months ago
Joined: 2010-11-30 15:30
@Marko The easy way will to

@Marko
The easy way will to to just setup os3 cross-compiler on some linux or cygwin environment. It can be done in few steps without hassle, and you will have os3 gcc compiler. All the info here:
http://kas1e.mikendezign.com/zerohero_crosscompilers_backup/cross-compiler_os3.html

You also can go more heavy: use VBCC instead of gcc. But that can bring you additional problems, as code may need some changes there and there (mostly trivial, but still). And you can use vbcc directly on os4 to make os3 binaries, as well as can setup os3 vbcc on winuae/uae.

But from all my expirience with all those compilers and porting between all amiga flawors, the best way is usage of crosscompiler on linux and/or cygwin. Easy to setup and easy to use.

marko
marko's picture
Offline
Last seen: 8 years 8 months ago
Joined: 2010-11-30 15:48
@kas1e Thank you, very

@kas1e

Thank you, very useful information, I will give it a try later and make it via CygWin on my Win-box and see how it goes :P...

__________________
m4rko.com/AMIGA

kas1e
kas1e's picture
Offline
Last seen: 1 year 7 months ago
Joined: 2010-11-30 15:30
@Marko There is one more

@Marko
There is one more detailed txt from dopus5 project which i do for myself and to show other ones how easy to build it:

http://sourceforge.net/p/dopus5allamigas/code/HEAD/tree/branches/68k-gcc_cross_cygwin_ndk/

There is "how to build.txt" + all necessary archives (they of course also placed on first link i give you before).

marko
marko's picture
Offline
Last seen: 8 years 8 months ago
Joined: 2010-11-30 15:48
@kas1e Thanks :)

@kas1e

Thanks :)

__________________
m4rko.com/AMIGA

Log in or register to post comments