Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
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 KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #1 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 KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #2 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: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #3 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 KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #4 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: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #5 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 KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #6 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 KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #7 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
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: GCC Installation info...
« Reply #8 on: September 21, 2003, 11:12:01 AM »
:-)

Thanks, but I'm actually headed the other way. StormC's existing C++ support is too poorly implemented for my requirements..
int p; // A