I'm trying to follow the setup docs for gcc cross compiler on Linux for OS4-ppc target, so I can try some stuff on my PC laptop. (When oh when will we get a high-end Amiga laptop?!)
Following Nico's Utilitybase doc as linked to by ZeroHero's howto page for installing Hyperion SDK 53.20 which is current at the moment, and I suppose different in this way from whatever version was current at the time they wrote about this.
ZeroHero says to get clib2-1.205 from sourceforge but there is a clib-1.204 in the current Hyperion SDK. Is the slightly newer rev from Sourceforge better, or should I use what's in Hyperion's SDK?
The Utilitybase doc talks about extracting SDK_Install/clibs.lha from Hyperions SDK archive. This file does not seem to be present in current SDK from Hyperion. Is that OK, or do I need it from an old SDK archive? Or ust use the clib2 file (either Hyperion or Sourceforge) and newlib-53.9 from current Hyperion SDK?
Anyone have any other advice on cross-compiling from Linux-x86?
Easiest way IMO is to just install the SDK on an Amiga running AmigaOS 4.x using the install script and then copy over the relevant drawers to your cross compiler setup (SDK:newlib, SDK:clib2, SDK:local/newlib, SDK:local/common, SDK:local/clib2).
That may be, but it's hard to do with Amiga stuff buried in storage. All I have to use these days is my laptop until we are able to make time and parse the storage room and offsite storage facility into a workable office/hobby room. Amiga stuff is at least in the house, I think, mostly anyway, but I don't have any place to put or set it up just now.
OK, how about a weirdish question then. I know I can't run the OS4 gcc in winuae, but would the install script and stuff run well enough in 3.9 under emulation, and I can copy dirs as you say that way? And once they are copied, remove the SDK from 3.9? Or would 3.9 installer not work with OS4 SDK install script to give me something to copy over to Linux?
The easy way (i do it like this for my winxp/cygwin setup), its just create directory /usr/local/amiga/ppc-amigaos/SDK/ And just unarchive every archive from SDK archive manually to that directory. Thne just install cross-compiler env (all those gcc ,etc), and add to .bashrc
export PATH=/usr/local/amiga/bin:$PATH
. No need to worry about all that auto-installs, all will works without as well (i do not remember, maybe there still will be some issues, but as far as i remember none).