Welcome, Guest. Please login or register.

Author Topic: GCC Installation info...  (Read 2260 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
GCC Installation info...
« on: September 12, 2003, 08:59:51 PM »
Hi,

Due to my increasing demand for better C++ support, I've recently decided to move my entire code base from StormC / VBCC to gcc 2.95.3.

I have downloaded the following files:

binutils-2.9.1-bin.tgz
cvs-1.10-bin.tgz
gcc-2.95.3-4-bin.tgz
make-3.77-bin.tgz

In addition, I have obtained the WarpOS 2.95.3 archives:

binutils_ppc-2.9.1.lzx
gcc-2.95.3-wos.lzx
libnixppc.lzx
newinc.lha
pgcc-2.95.3-base.lzx
pgcc-2.95.3-m68k.lzx
pgcc-2.95.3-wos.lzx
warpcollect.lha

Finally I got the v48 ixemul library.


Humiliating though it is to have to admit,  installation of gcc 2.95.3 from the above archives has me stumped. I'm afraid I'm a bit too used to point and click installation...


It seems there are lots of bin/ directories etc buried in odd places, platform folders etc. No matter what I extract or where to, attempting to compile anything always results in 'gcc installation error' - ususally it cant find files and such.

I have looked at the guide files that came in the m68k archives but how to recompe gcc for solaris and what not, isn't exacltly what I need to know just now ;-)

Can anybody send me a list of what exactly is supposed to go where and in which order (assuming some files get overwritten) and what paths/assigns/env vars are needed to get it working correctly?

My basic requirement is to create m68k and warpos executables and linker libraries from C++ code (with the occasional assembler file)...

I did have this set up a while ago (and remembered making a mess of it at least twice then), but I recently changed hard drives and need to reinstall. This time I figured I'd ask for help to get it set up :-)

Thanks in advance...

Dufus P. Numbnutz (no way related to the Glaswegian Mr. Numbnutz)
int p; // A
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: GCC Installation info...
« Reply #1 on: September 12, 2003, 09:25:55 PM »

lamer as I am, I downloaded Louise's gcc distro and copied the assigns and ADE directories and some files from s:

It works and it's easy. I wonder why no one has written a proper installer...
Hopefully Olaf's gcc should be quite easier to install :-)
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: GCC Installation info...
« Reply #2 on: September 12, 2003, 09:38:31 PM »
@karlos

Hmmmmm, now let me try to remember how that worked for me.

I downloded the whole geekgadgets (minus the alpha stuff  ;-)  ).

There was a file called boot.lha (or something like that).

This has to be unpacked,as it includes all needed for the
final install.

In there is a readme, which also includes a small shell-script.
Edit that to fit your pathes (and you might need to include
the dir into your path).

Now type "sh" in shell,this should bring up a "$" as prompt as
you are now in some kind of unix-shell.

Execute the install-script, and watch the tar.gz-files being
unpacked.

Copy the assigns from the readme (the one in boot.lha), reboot
and you should be ready to compile simple console-apps.

Now you need the OS-includes from the NDK3.9 or a DEV-CD, which
go into include/os-include,and you should be all set.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #3 on: September 12, 2003, 09:59:05 PM »
Ok, I'll hunt for boot...So what about the warpos gcc archives?

-edit-

Is there some unwritten rule that says all C++ coders must be Unix obssesed? A normal install isn't too much to ask for :-)
int p; // A
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: GCC Installation info...
« Reply #4 on: September 12, 2003, 10:09:56 PM »
@Karlos

GCC is UNIX,sono suprise that it feels like unix  .....

The GG-installdoes include a ppc-compiler,I'm just not sure wether
it's for WuP or PuP ....

Want an installer ?

Get yourself the 1st Geekgadget-CD by Cronus (not related) aka.Fred Fish
and you get one. Only prob is that the CD isfrom 97 or so ....

Or get the pure PPC-compiler as that will also come with installer,
and even a special version of GoldED for free.


I know you want it, and you should know it to,there is no way of
escaping the smurf-armada  :-P  :-D  ;-)
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline TurboLaban

  • Newbie
  • *
  • Join Date: May 2002
  • Posts: 21
    • Show only replies by TurboLaban
    • http://home.c2i.net/ghisdal/
Re: GCC Installation info...
« Reply #5 on: September 12, 2003, 11:37:39 PM »
There are PPC binaries here:
http://www.kolumbus.fi/jami.laakkonen/ppc/

--
Glenn Hisdal
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #6 on: September 13, 2003, 12:45:41 PM »
Heh, I must remember to log out of here next time....

This 'pure ppc' version with installer, where would I that from, then? Does it still compile m68k code too?
Realistically I need to be able to create both m68k and ppc (wos) targets.

I did download golded from their site recently too. The installer mentions gcc but as the archive did not inlude it, it simply skips it.

It's not that I mind manually installing the files from the archives I downloaded, I just need to know where the hell to put them all, and what assigns etc. are required.

There are bin folders under the root folder as well as under the m68k and ppc folders. Does this mean that I'm supposed to put those in the main bin/ folder or what?

The organisation of the directory tree seems utterly bonkers, possibly one of the most counter intuitive things I've ever seen...

There must be an idiot proof guide somewhere :-)
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #7 on: September 13, 2003, 12:51:53 PM »
Quote

TurboLaban wrote:
There are PPC binaries here:
http://www.kolumbus.fi/jami.laakkonen/ppc/

--
Glenn Hisdal


Thanks - I did actually get the 2.95.3 ppc archives from Jami's page anyway. Same problem as the main archives, I don't actually know where I'm meant to put all this stuff :-)
int p; // A
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: GCC Installation info...
« Reply #8 on: September 13, 2003, 12:57:50 PM »
@Karlos

With "pure ppc-gcc" I tried to lure you into going the "blue road"  :-P

GoldED:
GCC isincluded in the CD-version, and that should give you
an instant ready-to-run setup including os-includes.

Not sure howto update/upgrade that into the download-version  ;-)
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #9 on: September 13, 2003, 01:00:50 PM »
The blue road :lol: I getcha..

I'm afraid there is no point, I don't own a Peggy and I'm far too 'middle of the road' to be swayed into the A1 v Pegasos thing.

Gee, and there was me thinking there was another ppc install out there...

I can't believe I didn't make a list of my old gcc installation. What was I thinking?
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #10 on: September 13, 2003, 07:31:44 PM »
Quote

Crumb wrote:
I downloaded Louise's gcc distro and copied the assigns and ADE directories and some files from s:


So where's that from then? Thing is still defeating me.

@Kronos,

Couldn't find that boot.lha archive you mentioned... Still, after being up most of the night I couldn't find my own ass with both hands and a map just now :-)
int p; // A
 

Offline Ami603

  • Full Member
  • ***
  • Join Date: Jul 2002
  • Posts: 180
    • Show only replies by Ami603
Re: GCC Installation info...
« Reply #11 on: September 13, 2003, 07:38:28 PM »
http://www.innoidea.hu/subsites/amiga/developer/phpwebdev.php

http://www.innoidea.hu/subsites/amiga/developer/FILES/HardFiles/gcc111-files.tgz

here is a complete os3.1 plus gcc plus other bits partition lhaed.
Hope it helps you.

[Edit]: there are another lha file intended to use it within WinUAE[/Edit]
AmigaOne X1000
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #12 on: September 13, 2003, 07:42:56 PM »
Cheers dude.

With OS3.1 you say..Is that legal?

In any event, I'll get it cause right now I'm up fed to my eyeballs with it!
int p; // A
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: GCC Installation info...
« Reply #13 on: September 13, 2003, 07:46:41 PM »
ftp://ftp.geekgadgets.org/pub/geekgadgets/amiga/m68k/snapshots/current/



Mmmmmhh,there you have your boot.lha  :-D

Just didn't remember it was THAT old  :-o

But atleast it should give a good place to start.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: GCC Installation info...
« Reply #14 on: September 13, 2003, 10:43:59 PM »
@Ami603...

phew, that took a while over 56k, let me tell ya :-)

@Kronos

seems that link is down for the moment :-(
int p; // A