Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
18 crawler(s) on-line.
 117 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 vox:  7 mins ago
 TarasKoval:  13 mins ago
 pixie:  15 mins ago
 Karlos:  17 mins ago
 yoodoo2:  50 mins ago
 amigakit:  1 hr 23 mins ago
 tlosm:  1 hr 25 mins ago
 21stcentury:  1 hr 32 mins ago
 bhabbott:  1 hr 41 mins ago
 BigD:  1 hr 52 mins ago

hardware OS4   hardware OS4 : Cross compiler toolchain for Linux and Amiga OS4.1
   posted by jeanluc72 on 3-Jan-2010 20:42:34 (4363 reads)
We are proud to announce our first little project for all Amiga developers.
Our goal was to develop some tools to get you started with "cross development for Amiga OS4.1".
As we have been working quite some while on it, we noticed the lack of a clean method to produce a cross compiler for the Amiga. For this reason, we created a special script which will build a complete cross compiler toolchain for you.

Read more...


As an extra, we added our second project "distcode" as freeware.
Distcode will automatically distribute binaries you have written from your Linux box to your Amiga RAM: disk!

Downloads can be obtained at os4depot.net (distcode.lha). Both projects are inside this archive, both documented with readme's.

We wish all developers a happy new year 2010, and good luck with our tools!

check out our sites for regular updates on what we are doing:

http://www.amiga4u.com (general announcements, which also will be made here)
http://www.amineat.net (a little supprise for Amiga developers in 2010!)
    

STORYID: 5244
Related Links
· More about hardware OS4
· News by jeanluc72


Most read story about hardware OS4
20 Answers with Alan Redhouse of Eyetech

Last news about hardware OS4
Sam460LE updates
Printer Friendly Page  Send this Story to a Friend

PosterThread
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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

@elwood

Linky.

 Status: Offline
Profile     Report this post  
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-

it seeems very interesting
thanks


_________________
GDG-Entertainment
OS4Games
Iksnet
Bitplane

 Status: Offline
Profile     Report this post  
_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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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

Cool


_________________
Courtesy of SAM440Flex & Amiga OS4.1 only
Flex is 800mhz
A1000 with Classic 520 Amiga OS3.2.1
AmiKit 12
MorphOS PowerBook G4 (which can play youtube vids)

https://blitterwolf.blogspot.com

 Status: Offline
Profile     Report this post  
[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle