Greetings,
I just came into possession of a laptop. My very first, for free!
It's a Dell inspiron 1525. I installed LinuxMint 13 and was wondering if it will be possible to get a working build environment for AOS4. It uses Eclipse 3.7.1-1 as its default IDE with CDT 8.0.2-1 plugin.
I have no idea how to set it up for Amiga and thought I would ask first. Any help is appreciated.
AmigaOS development on Linux (Help!)
AmigaOS development on Linux (Help!)
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
Re: AmigaOS development on Linux (Help!)
You should find almost everything necessary to setup a cross compilation environment on Zero Hero's homepage...
AmigaOne X1000 running AOS 4 beta
AmigaOne XE/G4
Amiga 1200/PPC 603e + BVision PPC
AmigaOne XE/G4
Amiga 1200/PPC 603e + BVision PPC
Re: AmigaOS development on Linux (Help!)
@ abalaban
That works.
Thanks for the info.
That works.
Thanks for the info.

A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
Re: AmigaOS development on Linux (Help!)
Hm,
I re-installed everything twice now and can only build C stuff, nothing AmigaOS specific. For example ReAction related.
Did I miss something
I re-installed everything twice now and can only build C stuff, nothing AmigaOS specific. For example ReAction related.
Did I miss something

A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
Re: AmigaOS development on Linux (Help!)
I guess you mean building on the laptop and then trying to run it on your AmigaOS3.x, or 4.x computer(s)?mechanic wrote:Hm,
I re-installed everything twice now and can only build C stuff, nothing AmigaOS specific. For example ReAction related.
Did I miss something
Your missing the Amiga specific header files and includes for ReAction?
Edit: Sorry, I am just beginning to learn "C", so I should not comment in this thread.
Proud owner of 10+ Commodore Amiga 680x0 computers
First Contact AmigaOne X1000 Dual Core 1.8GHz PA6T w/OS4.1FE
Dual 2.7GHz G5 PowerMac w/MorphOS3.7
1.5GHz G4 PMac MDD w/MorphOS3.7
1.5GHz G4 MacMini w/MorphOS3.7
17" 1.67GHz G4 PBooks w/MorphOS3.7
Efika 5200b w/MorphOS3.7
FPGA Arcade Replay w/AmigaOS3.x
First Contact AmigaOne X1000 Dual Core 1.8GHz PA6T w/OS4.1FE
Dual 2.7GHz G5 PowerMac w/MorphOS3.7
1.5GHz G4 PMac MDD w/MorphOS3.7
1.5GHz G4 MacMini w/MorphOS3.7
17" 1.67GHz G4 PBooks w/MorphOS3.7
Efika 5200b w/MorphOS3.7
FPGA Arcade Replay w/AmigaOS3.x
Re: AmigaOS development on Linux (Help!)
Same here.AmigaDave wrote:
Your missing the Amiga specific header files and includes for ReAction?
Edit: Sorry, I am just beginning to learn "C", so I should not comment in this thread.
It was a silly error on my part. All sorted out on amigans net in a thread with same title. I hope to get some play time today to see if everything works. I only tried one of the example ReAction progs and it worked fine on the X1000.

A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
Re: AmigaOS development on Linux (Help!)
Now that I have a working environment for Amiga programming on Linux
I am wondering if it is possible to install the whole thing in the user
directory instead of /usr/local ?
I know the build configuration calls for /usr/local, but what else would
need change to move it all to /home/user/ ?
I am wondering if it is possible to install the whole thing in the user
directory instead of /usr/local ?
I know the build configuration calls for /usr/local, but what else would
need change to move it all to /home/user/ ?
A-Eon A1X1000 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
- Hans-Joerg Frieden
- AmigaOS Core Developer
- Posts: 223
- Joined: Wed Dec 08, 2010 3:52 pm
Re: AmigaOS development on Linux (Help!)
The question would be, why would you want to?mechanic wrote:I know the build configuration calls for /usr/local, but what else would
need change to move it all to /home/user/ ?
AFAIR, you need to rebuild the compiler and tools yourself if you want to move it. The tools use a prefix specified during compile time, and I don't think there is any way to relocate them without recompilation.
Alternatively, you could use a soft link, I don't know what you want to achieve exactly.
NOTICE: If you want to contact me, use E-Mail. I cannot be contacted via the forum/private messages anymore
Re: AmigaOS development on Linux (Help!)
Actually, gcc is pretty good at detecting that it has been moved from the predefined location and adapting accordingly. I think the only problems are these declarations from the specs file:
These are used to setup various lib and include paths (for the SDK, as well as clib2/newlib), so they need to be overridden with the new location. But that should just be a question of dropping in a custom specs file (use 'ppc-amigaos-gcc -dumpspecs', edit the paths, and you have an updated specs file).
Code: Select all
*base_gcc:
/usr/local/amiga/
*base_sdk:
/usr/local/amiga/ppc-amigaos/SDK/