Poster | Thread |
balis
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 3-Jan-2010 21:24:06
| | [ #1 ] |
|
|
|
Regular Member |
Joined: 22-Apr-2005 Posts: 139
From: Lille | | |
|
| @jeanluc72
Thanx for this tool. It's very welcome. How does it compare with AmiDevCpp? |
|
Status: Offline |
|
|
cppdragon
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 3-Jan-2010 21:33:14
| | [ #2 ] |
|
|
|
Member |
Joined: 8-Jan-2009 Posts: 11
From: Germany | | |
|
| Those are commandline tools you can integrate them in every configurable IDE. We made good experiences with codeblocks. http://www.codeblocks.org/ because it is very configurable.
And well jeanlucs program transports them to your amiga for runtime tests. |
|
Status: Offline |
|
|
elwood
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 3-Jan-2010 21:40:23
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 17-Sep-2003 Posts: 3428
From: Lyon, France | | |
|
| I don't understand. You did a script and then there is distcode, but then, where can I get the script? _________________ Philippe 'Elwood' Ferrucci Sam460 1.10 Ghz AmigaOS 4 betatester Amiga Translator Organisation
|
|
Status: Offline |
|
|
cppdragon
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 3-Jan-2010 21:42:49
| | [ #4 ] |
|
|
|
Member |
Joined: 8-Jan-2009 Posts: 11
From: Germany | | |
|
| We did a script that can build a cross compiler for amiga OS 4.1 for you. The second project was an amiga application that can copy your compiled binaries to your amiga ramdisk to test them. Be packed them into one single archive because they belong together. |
|
Status: Offline |
|
|
Samurai_Crow
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 4-Jan-2010 0:24:39
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 18-Jan-2003 Posts: 2320
From: Minnesota, USA | | |
|
| |
Status: Offline |
|
|
nubechecorre
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 4-Jan-2010 9:32:24
| | [ #6 ] |
|
|
|
Cult Member |
Joined: 21-Nov-2003 Posts: 895
From: San remo -Italy- | | |
|
| |
Status: Offline |
|
|
_ThEcRoW
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 4-Jan-2010 14:23:39
| | [ #7 ] |
|
|
|
Cult Member |
Joined: 12-Jan-2005 Posts: 834
From: Murcia (Spain) | | |
|
| How can the code generated be tested, and sure about errors, etc...? Has special funcs. I think it's interesting. _________________ Amiga 1200 desktop. Apollo 030/50 Mhz 8mb ram + ClassicWB + Wb 3.1 Amiga 500 + ACA500plus 8mb + 30gb CF Raspberry Pi 3b+ and Amibian 1.4 Mac Mini G4 1GB Ram with the butterfly!!
|
|
Status: Offline |
|
|
salass00
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 4-Jan-2010 14:51:33
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| Thanks. I just used this to build a cross compiler for Cygwin . |
|
Status: Offline |
|
|
cppdragon
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 4-Jan-2010 15:06:49
| | [ #9 ] |
|
|
|
Member |
Joined: 8-Jan-2009 Posts: 11
From: Germany | | |
|
| You can debug the generated binaries on your amiga box in a cli (abc-shell) So you have to install the SDK on your Amiga Box aswell. It is also possible to debug via serial.
> Thanks. I just used this to build a cross compiler for Cygwin . Oh that works also? Sweet didn't test that, thanks for the feedback. :) Last edited by cppdragon on 04-Jan-2010 at 03:07 PM.
|
|
Status: Offline |
|
|
jeanluc72
| |
testing code on Amiga Posted on 4-Jan-2010 15:18:39
| | [ #10 ] |
|
|
|
Member |
Joined: 27-Jan-2009 Posts: 27
From: Unknown | | |
|
| Well, this is something me and cppdragon also have been discussing a lot. For time beeing, we would sugest you do the following:
in IEXEC (proto/exec.h), you will find a function called "IEXEC->DebugPrintF()". If you use this function, and your U-Boot is configured for debug output = serial, you will find your SAM's serial port sending out these messages on 115200bps. Connect your Amiga to your linux box with a serial "null modem" cabel, open up putty (for instance), and you will see your debug output there.
Just to make live a bit easier: We have made a little QT application, with some extra features to show you this output in a more fashionable way, and we will put this program as soon after the testing period has endet in the new version of distcode.lha. I have some more work to do (documentation of using distcode and crosscompiler setup in code:blocks), but I hope I will get this all done this week (in my spare time .
Debugging will also be an issue in the Neat framework, which I also hope to push the first "sneak preview" on amineat.net.
We will announce the updates on distcode.lha here as soon as it's ready. (Perhaps a day of delay because reading all the nasty stuff about this new amiga machine hehehe).
Keep up to date also by reading amigau4.com! So long,
Jeanluc. |
|
Status: Offline |
|
|
Gebrochen
| |
Re: Cross compiler toolchain for Linux and Amiga OS4.1 Posted on 5-Jan-2010 14:22:00
| | [ #11 ] |
|
|
|
Super Member |
Joined: 23-Nov-2008 Posts: 1430
From: Australia | | |
|
| |
Status: Offline |
|
|