13 June 2016, 13:07 | #1 |
Ya' like it Retr0?
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
|
Cross Compiling / Environment Info
Hello my friends - my hope is that you can help me - I have been wanting to get back into some serious Amiga coding for sometime and recently I have received a Vampire V2 for the A600 - this is quite the game changer.
Anyway, it has been decades since I have low-level programmed for the Amiga so if I could be so bold as to ask for a few pointers about porting games from a Linux environment to 68k environment. Initially what coding / compiling environment you would recommend - what cross sources (i.e. SDL) would I need to review / read up on. Currently installing this tool chain - http://fengestad.no/m68k-amigaos-toolchain/ I am going to *hopefully* have a crack at this game https://www.wesnoth.org/ With a bit of luck it might work on an 040/060 with RTG =) Any thoughts, recommendations would be great! |
13 June 2016, 20:02 | #2 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
If you are in favor of IDEs, eclipse does work nice with cross-compiling. You know, the autocompletion works, you can jump to symbol definition and stuff like that.
Emacs could be also nice if you are not in favor of IDEs. |
13 June 2016, 20:41 | #3 |
Ya' like it Retr0?
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
|
Thanks for the info alkis -
I would like to know if there is an Amiga environment for porting software - this I can emulate via WinUAE, alternatively there is cross-compilation and any hints / tips or set ups on compilers / libraries etc would be very useful =) |
13 June 2016, 21:05 | #4 | |
Code Kitten
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
|
Quote:
It should lead you to the threads containing the information you need. |
|
14 June 2016, 10:57 | #5 |
Ya' like it Retr0?
Join Date: Jul 2005
Location: United Kingdom
Age: 49
Posts: 9,768
|
Thanks ReadOnlyCat (ROC)! I shall do this!
|
14 June 2016, 11:16 | #6 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
As far as tools go, you might find Amitools useful:
https://github.com/cnvogelg/amitools Amitools is written in Python, and I would also recommend looking at using it for small tools and other bits, it's much more comfortable and faster to write stuff in than C or C++. |
14 June 2016, 11:29 | #7 | |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Quote:
|
|
14 June 2016, 12:38 | #8 | |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Quote:
Unfortunately I have doubts that even the fastest m68k Amiga will be able to manage Wesnoth. The m68k implementation of SDL is slow and/or incomplete. The MorphOS port on my 600MHz G3 is nearly unplayable. Also don't underestimate the many additional tools and dependencies you need to build a project like BfW. I would select something else for a start, to make it less frustrating. |
|
14 June 2016, 12:46 | #9 |
Registered User
Join Date: Aug 2014
Location: Szeged
Posts: 219
|
Would be nice to have for a Vampire. Good luck.
|
14 June 2016, 22:02 | #10 | ||
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
http://sun.hasenbraten.de/vbcc/ The newer version of vbcc is more compatible with C99 which is a big help with porting but vbcc does not support C++ which Wesnoth needs. The version of GCC included in that tool chain is good but ancient. It should support C++ but there will likely be problems with modern sources due to how old it is. GCC after the unofficial 3.4.0 for the Amiga has no Amiga support so ELF2HUNK is needed for cross-compiling to the 68k and there may be problems with the A4-A6 registers being used. Besides various online cross-compilers for the 68k Amiga, there is the AROS development environment and AmiDevCpp (newer GCC 3.x but still old) which are tested and working. Quote:
|
||
09 November 2016, 20:28 | #11 |
Apollo Team
Join Date: May 2014
Location: not far
Posts: 379
|
Any news on this ?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get an environment set up?? | BvdW | Coders. C/C++ | 9 | 16 May 2014 07:18 |
cross-compiling Basic for Amiga | nitrofurano | Coders. Language | 4 | 19 November 2013 20:47 |
LouiSe's GCC Environment | Morbane | request.Apps | 0 | 27 December 2011 08:02 |
def_disk.info, def_Kick.info and def_CF0 | fc.studio | support.Apps | 4 | 09 January 2010 23:49 |
info on creating info files icons ? | Dimlow | New to Emulation or Amiga scene | 10 | 16 July 2008 19:28 |
|
|