Partner sites: Aminet - Amiga downloadsIntuitionBase - Amiga guidesAmigaNN - Amiga newsAmiFund - Sponsor projects

[Y]UtilityBase
Your guide to Amiga development
Sign up at our provider 
and get $50 off!
Not logged in
  HomeProjectsForumArticlesResourcesLinksChatAbout 
Search
Login
Username:
Password:
Register now!
Forgot your password?
Aminet - Development
ruby-1.8.7.i386-aros.tar.bz2 (dev/lang)
TilesScrollDemo.lha (dev/amos)
Blitz_SGC.lha (dev/basic)
MCC_TextEditor-15.34.lha (dev/mui)
FlexCat-2.7.lha (dev/misc)
ecx222_upd.lha (dev/e)
fd2sfd_68k.lha (dev/misc)
Blitz_lucy.lha (dev/basic)
AWNP_2-54.lha (dev/misc)
sfd2inc.lha (dev/basic)
More...
Newest users
chris (Chris Young)
root9885
dmjones (Kristian Poul Herkild)
graffias79 (Jamie)
yogi35

Pending:
ZebraZeem, Mad_Dog, hhjoker, voxel, JosDuchIt, MarcB, MarBo, Sollaris, sara, species
More...
Who's Online
Online members:

kas1e 16 min(s) ago
Georg 47 min(s) ago

12 guests are online.

You are an Anonymous user. You can register for free by clicking here.
News sites
Amiga-News.de
Amiga.org
AmigaNN
Amigans.net
Amigaweb.net
AmigaWorld.net
AROS-Exec
MorphOS-News.de
MorphZone
polarBoing
Tutorials
Change Graphics cards in AmigaOS 4.
Installing the latest OS4 SDK in Cubic IDE
Writing Installer scripts for AmiUpdate
Cross Compiling for OS4 or OS3 using MS Visual Studio 2005
Installing an AmigaOS 4 cross compiler
More...
Sources
How to open and use the exec debug interface
How to install a hardware interrupt
Install SObjs with Installer
How to make clean picture datatypes
Most of the old ClassACT examples converted to OS4
More...
Documentations
How to write portable code for Amiga (english)
Comment écrire du code portable pour Amiga (français)
Development How to with OS3.9 SDK
The PartyPack Hack
The Amiga PDA Programming Guidelines
More...
DreamHost

Support
UtilityBase

[Valid RSS]

UtilityBase needs your help!

Installing the latest OS4 SDK in Cubic IDE
by Trixie

This is a step-by-step description of how to install the latest OS4 SDK (53.15) for use with Cubic IDE. Please note that Cubic must be installed prior to installing the SDK, together with the compiler suite including GCC 4.0.4 for OS4 (we will update this with the new GCC from the SDK).

1. Download SDK 53.15 from Hyperion's website.

2. Create drawer "devkits:sdk/amigaos4/53.15". (If there is no devkits: assign in your system, then you haven't installed the C/C++ Add-On package - you MUST do it before installing the SDK).

3. Unpack the SDK archive and run "Install SDK". As your install path choose "devkits:sdk/amigaos4/53.15". Unselect the option "Create drawer "SDK" in destination drawer" located below the install path selection gadget. Make sure the GNU files are among the files selected for installation. Install the SDK.

4. Open a text editor, load "s:user-startup", comment out the entire SDK-related section the installer has added at the end of the file, and save it.

5. Load the file "devkits:sdk/amigaos4/53.15/S/sdk-startup" and comment out the GCC startup section, as follows:

;if exists SDK:s/gcc-startup
; execute SDK:s/gcc-startup
;endif

Save the file.

6. Load the file "devkits:scripts/user-startup". If you have installed SDK 51.22 previously (the last SDK version officially supported by Cubic IDE), modify the respective lines to look as follows:

if exists devkits:sdk/amigaos4/53.15
assign SDK: devkits:sdk/amigaos4/53.15
execute >nil: SDK:s/sdk-startup
endif

If the 53.15 is the first OS4 SDK you install with Cubic, just add the four lines above. Save the file.

7. Create drawer "devkits:compilers/gcc/amigaos4/4.2.4".

8. Go to the "devkits:sdk/amigaos4/53.15/gcc" drawer and move or copy its entire contents to "devkits:compilers/gcc/amigaos4/4.2.4".

9. Load the file "devkits:devkits.config" and locate the compiler section "gcc for amigaos4/ppc". Modify the compiler home directory line to read

(home "devkits:compilers/gcc/amigaos4/4.2.4")

Then modify the includes section, to look as follows:

(includes
"devkits:sdk/amigaos4/53.15/include/include_h"
"devkits:sdk/amigaos4/53.15/local/common/include"
"devkits:sdk/amigaos4/53.15/local/clib2/include"
)
Save the file.

10. Reboot your Amiga. The SDK and the latest GCC compiler (4.2.4) should now be ready for use with Cubic IDE.

You'll notice that when Cubic is in the C/C++ mode, the "Change Compiler" menu
still shows "Target: amigaos4 (gcc 4.0.4)" for the GCC compiler. You may want to
edit this menu item in Cubic's settings (Extras/Customize...) for file
type "gcc".

Rate this item
12345678910



:: Your comment
Bold Style  Italic Style  Underlined Style  Image Link  Insert URL  Email Link  Quote  C/C++ Source  Disable *What`s that?


Before posting non-english message, check your browser`s encoding!
» Name » Password

UtilityBase is a site focused on development for Amiga systems,
spanning over all different Amiga clones, that be AmigaOS 3.x, 4.x, MorphOS, AROS or AmigaDE/Anywhere.
News syndication: RSS
Contact address: mail@utilitybase com