Tools to Actually Compile From Workbench | |
---|
|
---|
| | Adam Whittaker (Needs Verification) Posts 270/ 1 12 Sep 2018 08:48
| I would like to start developing and compiling code from within my amiga workbench on my vamped miggy - does anybody have any idea what I need to do? up until I have always done any programming on my pc and compiled it there before transfering the binary to the target system.
| |
| | Gunnar von Boehn (Apollo Team Member) Posts 6207 12 Sep 2018 08:52
| If you code in C then GCC might be a choice. GCC runs very good on AMIGA
| |
|
| | Vojin Vidanovic (Needs Verification) Posts 1916/ 1 12 Sep 2018 10:16
| If you do know or can convert to 68k ASM, VASM that officially supports Apollo, and also can be used to port ASM code to almost any desired 8/16/32-bit/some 64-bit CPU. Main website (download and info) EXTERNAL LINK Crash Course EXTERNAL LINK Its made in Germany! EXTERNAL LINK (west I suppose, even both were democratic and peoples republics at least inna name :-) ... while harboring ex-nazis, US and USSR military, CIA, KGB and NKVD lookalikes and Stalinists, poor and brave Germans. Love to see Deustuchland 83+)
| |
| | Ronnie Beck (Apollo Team Member) Posts 199 12 Sep 2018 12:24
| I would be interested to know what solution you take in the end because I am interested in a more optimal approach to what I did. I tried initially to write C code directly on Amiga. I started with Cubic IDE as the environment with VBCC as the compiler. This worked well enough. But after years of luxury treatment on Linux and windows, where the tools are feature rich and make development very convenient, I struggled to find Cubic IDE in anyway satisfying. It is cumbersome to configure. In the end I stuck with writing code on my Linux box in Eclipse with VBCC as the compiler. A simple Samba share allowed me to run the code compiled on my Linux machine, directly on my Amiga. Also, being an Amiga coding n00b, I found I needed to refer to lots of online material and simply having reference material on the left, coding environment on the right of my 40" 4K monitor was hard to beat. This ended up being the most convenient approach in my case. And I can already hear the hard core coders screaming at me "All you need is GoldED, commandline and a compiler! You whimp!!" ;-) @Gunnar: GCC and not VBCC?
| |
| | Gunnar von Boehn (Apollo Team Member) Posts 6207 12 Sep 2018 12:55
| Ronnie Beck wrote:
| @Gunnar: GCC and not VBCC?
|
Yes both work.
| |
| | Adam Whittaker (Needs Verification) Posts 270/ 1 12 Sep 2018 14:00
| Vojin Vidanovic wrote:
| If you do know or can convert to 68k ASM, VASM that officially supports Apollo, and also can be used to port ASM code to almost any desired 8/16/32-bit/some 64-bit CPU. Main website (download and info) EXTERNAL LINK Crash Course EXTERNAL LINK Its made in Germany! EXTERNAL LINK (west I suppose, even both were democratic and peoples republics at least inna name :-) ... while harboring ex-nazis, US and USSR military, CIA, KGB and NKVD lookalikes and Stalinists, poor and brave Germans. Love to see Deustuchland 83+)
|
I use SN68K version 2.53 when doing 68k Sega stuff its very easy to compile a sega binary from source and a build.bat its this kind of approach id be looking for to use on the amiga workbench... however I do have experiance with C too so perhaps I should experiemnt with both?
| |
| | Vojin Vidanovic (Needs Verification) Posts 1916/ 1 12 Sep 2018 15:25
| Adam Whittaker wrote:
| I use SN68K version 2.53 when doing 68k Sega stuff its very easy to compile a sega binary from source and a build.bat its this kind of approach id be looking for to use on the amiga workbench... however I do have experiance with C too so perhaps I should experiemnt with both? |
I will end my participation here, since I cant code in Hoolywood (social sciences only, a social worker). I am just thrilled VASM supports Apollo natively + allows so many exports. In my "theoretical" knowledge C++ was most used on Amiga and portable, but ASM was most efficient. With VASM you can have both.Ronnie Beck wrote:
| And I can already hear the hard core coders screaming at me "All you need is GoldED, commandline and a compiler! You whimp!!" ;-) @Gunnar: GCC and not VBCC?
|
Make that latest CygnusEd :-)
| |
| | Thellier Alain
Posts 141 12 Sep 2018 15:44
| I am using WinUAE with a shared directory for sources The compiler is Gcc Egcs 2.90.27 All code is typed in Scite (text editor) on the PC side Documentation is found via Google or via AgentRansack for searching includes/sources/autodoc that are in Amiga-Docs directory ExamDiff and Kdiff3 are used PC side to check source revisions/différences Amiga side a simple tool to create simple makefiles is gccopts (found with gcc packages) and MakeProject can build them
| |
| | Adam Whittaker (Needs Verification) Posts 270/ 1 13 Sep 2018 09:00
| thellier alain wrote:
| I am using WinUAE with a shared directory for sources The compiler is Gcc Egcs 2.90.27 All code is typed in Scite (text editor) on the PC side Documentation is found via Google or via AgentRansack for searching includes/sources/autodoc that are in Amiga-Docs directory ExamDiff and Kdiff3 are used PC side to check source revisions/différences Amiga side a simple tool to create simple makefiles is gccopts (found with gcc packages) and MakeProject can build them
|
Thank you for the info :)
| |
|