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
17 crawler(s) on-line.
 120 guest(s) on-line.
 3 member(s) on-line.


 NutsAboutAmiga,  kolla,  matthey

You are an anonymous user.
Register Now!
 NutsAboutAmiga:  5 secs ago
 kolla:  1 min ago
 matthey:  4 mins ago
 OneTimer1:  5 mins ago
 Swisso:  10 mins ago
 pixie:  10 mins ago
 Mobileconnect:  11 mins ago
 gonegahgah:  14 mins ago
 Karlos:  23 mins ago
 vox:  35 mins ago

Software News   Software News : New AmigaOS 4.1 SDK available
   posted by EntilZha on 26-Jan-2009 13:33:12 (11045 reads)
Leuven, Belgium - 26. January, 2009

Hyperion Entertainment is proud to announce the availability of the Software Development Kit Version 53.13 for AmigaOS 4.1.

The new SDK features the gcc 4.2.4 compiler, binutils 2.18 (with support for the PowerPC 440ep), as well as updated header files and autodocs for AmigaOS 4.1.

The SDK download is available for all interested parties via anon access at Hyperions FTP Server:
ftp://hyperion-entertainment.biz/SDK

The SDK is available in two versions: A "noncontrib" version that only contains the compiler and tools plus the documentation and header files for AmigaOS 4.1, and a "Lite" version that contains additional contributions.
    

STORYID: 4733
Related Links
· More about Software News
· News by EntilZha


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Hollywood APK Compiler 4.0 released
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 | 3 )

PosterThread
abalaban 
Re: New AmigaOS 4.1 SDK available
Posted on 27-Jan-2009 17:35:21
#41 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

@xeron

given that the Sam440ep does not have altivec wouldn't an Altivec optimized binary crash ? (Just a question).


_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
Templario 
Re: New AmigaOS 4.1 SDK available
Posted on 27-Jan-2009 18:03:47
#42 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3670
From: Unknown

Interesting, now I shall compile my codes for my Sam and maybe programming some dockies for Sam.

 Status: Offline
Profile     Report this post  
xeron 
Re: New AmigaOS 4.1 SDK available
Posted on 27-Jan-2009 18:36:58
#43 ]
Elite Member
Joined: 22-Jun-2003
Posts: 2440
From: Weston-Super-Mare, Somerset, England, UK, Europe, Earth, The Milky Way, The Universe

@abalaban

If it doesn't detect Altivec presence, it would crash, yes. The fix is to provide a non-altivec build. Not a 440ep optimised binary. Like I said, there are reasons why 440ep optimisation is useful, but for the most part there is really no point in using it.


_________________
Playstation Network ID: xeron6

 Status: Offline
Profile     Report this post  
Tomppeli 
Re: New AmigaOS 4.1 SDK available
Posted on 27-Jan-2009 20:34:56
#44 ]
Super Member
Joined: 18-Jun-2004
Posts: 1652
From: Home land of Santa, sauna, sisu and salmiakki

@everybody involved


_________________
Rock lobster bit me. My Workbench has always preferences. X1000 + AmigaOS4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." -Seymour Cray

 Status: Offline
Profile     Report this post  
broadblues 
Re: New AmigaOS 4.1 SDK available
Posted on 27-Jan-2009 23:59:10
#45 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4447
From: Portsmouth England

Downloaded installed and everything working, except that I can't seem to build and amiga library (not a sobj a 'proper' amiga one )

I'm getting link errors, along the lines of duplicate _start symbol, and if I use -nostartfiles I get linker errors as the constructors aren't inlcuded.

In my old SDK I was using a specs file based on the one made by Entzila ( I think) for the asobjs package on os4depot, this drew in the needed the files without having to add explicit paths to the start up objects in the make file.

Now the -shared option has been used for making sobjs and I can find an alternate opion mentioned in the docs. Nor can I find the new specs file to have a butchers at it. (I suspect there aint one)

What am I missing?


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
AlexC 
Re: New AmigaOS 4.1 SDK available
Posted on 28-Jan-2009 0:53:27
#46 ]
Super Member
Joined: 22-Jan-2004
Posts: 1300
From: City of Lost Angels, California.

@broadblues

Works here with my Commander.blanker but I don't know if it qualifies as a "shared" library.

It compiles with: CFLAGS = -D__NOLIBBASE__ -D__NOGLOBALIFACE__
And links with: LINK = -nostartfiles -lm

Not sure that's any help though.


_________________
AlexC's free OS4 software collection

AmigaOne XE/X1000/X5000/UAE-PPC OS4 laptop/X-10 Home Automation

 Status: Offline
Profile     Report this post  
broadblues 
Re: New AmigaOS 4.1 SDK available
Posted on 28-Jan-2009 1:27:46
#47 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4447
From: Portsmouth England

I think the problem may be that I'm using clib2 threadsafe for my library. And the calls to _lib_init() need the constructors, thus nostartfiles removes to much.

I may be behind the times though can you use newlib for shared libraries these days?

I think the issue would not occur with alibrary that solely used dos.library etc but as I need to link againstt things like libjpeg I need a C-library as well.


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
zerohero 
Re: New AmigaOS 4.1 SDK available
Posted on 28-Jan-2009 5:55:31
#48 ]
Team Member
Joined: 4-May-2004
Posts: 2524
From: Uddevalla, Sweden

@broadblues

There are no problems when using newlib for shared libraries, I do that with dopus.library. Here's a code snippet I think Joerg posted somewhere about using newlib with amiga type .libraries:

Quote:

struct Interface *INewlib;
struct ExecIFace *IExec;
BPTR g_seglist;

static struct Library *LIB_Init(struct Library *library, BPTR seglist, struct ExecIFace *exec)
{
struct Library *newlibbase;
IExec = exec;

library->lib_Revision = REVISION;
newlibbase = IExec->OpenLibrary("newlib.library", 52);
if (newlibbase)
{
INewlib = IExec->GetInterface(newlibbase, "main", 1, NULL);
}
if (INewlib)
{
g_seglist = seglist;
return library;
}
else
{
IExec->DebugPrintF("foobar.library couldn't open newlib.library V52\n");
IExec->Alert(AT_Recovery|AG_OpenLib|AO_NewlibLib);
return NULL;
}
}

static BPTR LIB_Expunge(struct LibraryManagerInterface *Self)
{
BPTR result;
struct Library *library = Self->Data.LibBase;

if (0 == library->lib_OpenCnt)
{
struct Library *newlibbase = INewlib->Data.LibBase;
result = g_seglist; /* Undo what the init code did */
IExec->DropInterface(INewlib);
IExec->CloseLibrary(newlibbase);
IExec->Remove(&library->lib_Node);
IExec->DeleteLibrary(library);
}
else
{
result = 0;
library->lib_Flags |= LIBF_DELEXP;
}
return result;
}


Regards,
Joachim Birging


_________________
Common sense - So rare it's almost like a super power

 Status: Offline
Profile     Report this post  
abalaban 
Re: New AmigaOS 4.1 SDK available
Posted on 28-Jan-2009 16:05:39
#49 ]
Super Member
Joined: 1-Oct-2004
Posts: 1114
From: France

Wasn't newlib using the Task's UserData to store some own datas ?


_________________
AOS 4.1 : I dream it, Hyperion did it !
Now dreaming AOS 4.2...
Thank you to all devs involved for this great job !

 Status: Offline
Profile     Report this post  
Georg 
Re: New AmigaOS 4.1 SDK available
Posted on 29-Jan-2009 16:31:41
#50 ]
Regular Member
Joined: 14-May-2003
Posts: 451
From: Unknown

Quote:
There are no problems when using newlib for shared libraries, I do that with dopus.library. Here's a code snippet I think Joerg posted somewhere about using newlib with amiga type .libraries:


I don't know about OS4/newlib, but in AROS using it's shared c lib (not based on newlib) in another library can cause problems, for example when running an app from shell. Example:

- App (Dopus) is started from Shell. Apps run directly in shell task (app task == shell task).

- App loads lib (dopus.library) which loads shared c lib which connects clib context data to
app task (== shell task).

- App quits, but shared c lib is not closed, because that happens only when dopus.library is expunged (not just closed).

- clib context data stays connected to shell task, although it shouldn't, because app is gone.

- Shared clib using apps started after that from same shell may try to re-use already existing clib context, although they shouldn't (should init/create their own one).

 Status: Offline
Profile     Report this post  
Hypex 
Re: New AmigaOS 4.1 SDK available
Posted on 1-Feb-2009 6:13:44
#51 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

Excellent news! Thankyou!! Been waiting so long for this!

Hopefully now I can finally compile my own AHI driver from the Emu10k source.

Quote:
The SDK is available in two versions: A "noncontrib" version that only contains the compiler and tools plus the documentation and header files for AmigaOS 4.1, and a "Lite" version that contains additional contributions.


Now this confuses me. It looked to me as if the Lite version was the full one and nonocontrib was cut down. At leat here Lite is ~86MB and noncontrib ~54MB. And noncontrib appears to be a cutdown version of Lite.

So does that mean that Lite is the first release and a bugger and more complete one is coming after? IOW will there be a Full version?

BTW I got an error when installing. Something about the SOBJS: nit being able to be copiied. But apart from that it seems fine. Except that the AHI header files are out of date. Doh!

 Status: Offline
Profile     Report this post  
Hypex 
Re: New AmigaOS 4.1 SDK available
Posted on 14-Feb-2009 6:04:23
#52 ]
Elite Member
Joined: 6-May-2007
Posts: 11329
From: Greensborough, Australia

@xeron

Quote:
If something crashes that has been compiled for PowerPC, the fix is not to enable 440ep optimisations, the fix is the fix the bug in the software.


How can we be sure it's a big in the software? It runs fine on my G3 without AV. I have also noticed erratic behaviour as sometimes there is no crash. But mostly things like UAE crash.

And Rogue has stated the 440ep doesn't use a full PowerPC IIRC, he said it was a BookE CPU. That was comparing the 603/G2? to a Sam CPU SoC.

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 | 3 )

[ 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