Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Ratto on March 02, 2003, 10:45:11 AM

Title: Gcc, problem whith install
Post by: Ratto on March 02, 2003, 10:45:11 AM
Someone have tried to install Gcc for Amiga?
I've downloaded all file, (well i think), but when i try to compile something, Gc give me error, it doesn't fing ctr0.o oer somenthing like this.....

If you can help me, you can tell me what file i need for installation and the metod of the installation..

Thanks so much :-D
Title: Re: Gcc, problem whith install
Post by: on March 02, 2003, 11:29:27 AM
Did you follow the instructions in BOOT.README and INSTALL in GG-docs-0.9-bin.tgz?
Look into GG:bin. Is there a soft link "sh"?
If not, repeat extracting the tgz files exactly as described.

I installed gcc 2.5.3-4 yesterday from scratch, and everything worked as described in the INSTALL document.
For generating proto and inline files for NDK3.9 I used fdinline 1.21.
I wrote two shell scripts to do the job. If you want them, I could send them to you.
Title: Re: Gcc, problem whith install
Post by: Ratto on March 03, 2003, 11:03:33 AM
I've tried to follow the installation file, but it doesn't work...

But i whant install gcc only for coding generic c++ code not for the mui, so i havent include the file relative to mui... can be this the problem?

Thank
Title: Re: Gcc, problem whith install
Post by: voxel on March 03, 2003, 12:29:48 PM
Hi :-)

Installing GCC too, can you send me your scripts?

Thanx,

Amigalement,
Jean-François.
Title: Re: Gcc, problem whith install
Post by: Mr_Capehill on March 03, 2003, 03:06:44 PM
Get the GeekGadgets files. Get the BOOT.lha and read the readme file. Put gunzip and tar into C: and follow the instructions in readme. Use an FFS partition.

Or get the latest GoldED Studio AIX.

Oh yes, and you need to use fd2pragma (from Aminet) to create correct header files. If you have problems with the automatic scripts (missing files), raise FailAt, probably FailAt 40 is ok.
Title: Re: Gcc, problem whith install
Post by: on March 03, 2003, 03:07:03 PM
If you follow the readme with GeekGadgets properly you shouldn't have any problems ..

You probably aren't running the GG-Startup script in your user-startup , it's required to setup the correct paths and environment variables.
Title: Re: Gcc, problem whith install
Post by: on March 03, 2003, 05:30:22 PM
@voxel

You have mail.
Title: Re: Gcc, problem whith install
Post by: voxel on March 03, 2003, 07:38:27 PM
Yes, I found it!

Thaaaaanx :-D
Title: Re: Gcc, problem whith install
Post by: on March 03, 2003, 09:13:45 PM
Download from here, http://zerohero.brutalt.com/gg-os39.lzx
Compleat GeekGadgets arc.


Installing GCC too, can you send me your scripts?
Title: Re: Gcc, problem whith install
Post by: on March 03, 2003, 11:29:31 PM
@MH2

You have mail, too;-)
Title: Re: Gcc, problem whith install
Post by: ikepgh on March 04, 2003, 01:31:39 AM
I'd like to point out the tutorial that I began that covers this very topic.  Any feedback would be much appreciated.  

http://www.ezcyberspace.com/gcc/

Thanks,  
IKE

Title: Re: Gcc, problem whith install
Post by: olegil on March 04, 2003, 08:57:03 AM
Hey, nice tutorial. I noticed one thing, though. You mention AOS includes, and refer to the developer and GG CDs. The 3.9 versions are downloadable from http://www.amiga.com/3.9/download/NDK3.9.lha (http://www.amiga.com/3.9/download/NDK3.9.lha)

Possibly worth a mention as well, I dunno. Ok, ok. I admit it. I have only read the first tutorial in there :-)
Title: Re: Gcc, problem whith install
Post by: Ratto on March 04, 2003, 11:07:16 AM
Quote

I wrote two shell scripts to do the job. If you want them, I could send them to you.


OOO very very good   :-D

Can you send me the script? :-D

The mail is:   whamoo@libero.it

Thz
Title: Re: Gcc, problem whith install
Post by: on March 04, 2003, 05:42:03 PM
Title: Re: Gcc, problem whith install
Post by: sgm on March 04, 2003, 05:45:48 PM
Just a suggestion... why don't you make those scripts available in the Downloads section?
Title: Re: Gcc, problem whith install
Post by: on March 04, 2003, 05:48:11 PM
@olegil

Nice Work!

I would install the following packages, too:

GG-docs-0.9-bin.tgz (long install document)
GG-misc-bin.tgz (several .guide documents)
hunk2aout-2.0-bin.tgz  (NDK3.9 amiga.lib -> libamiga.a)
libm-5.4-bin.tgz  (math routines (wo atan2))

and i would replace fd2inline 1.1 by 1.21,
otherwise you will encounter problems creating
cybergraphics proto file.
Title: Re: Gcc, problem whith install
Post by: voxel on March 04, 2003, 06:02:36 PM
@ MH2 :

Thanx for the link :-)
Title: Re: Gcc, problem whith install
Post by: on March 04, 2003, 06:03:34 PM
Hi!

I'have istalled gcc 2.95.3.
Make command don't work!
I get "bus error" also is I set stack to 2500000 and
I put ixemul library 48.2 for my cpu (68060).
Any idea?

Bye
Title: Re: Gcc, problem whith install
Post by: on March 04, 2003, 07:08:34 PM
sorry, my last posting was meant for ikepgh
Title: Re: Gcc, problem whith install
Post by: ikepgh on March 05, 2003, 01:41:29 AM
Thanks for everyone's feedback thus far.  I will incorporate your suggestions.

Thanks Again!
IKE
Title: Re: Gcc, problem whith install
Post by: Cluke on March 11, 2003, 04:05:45 PM
@ikepgh

Excellent tutorial, thanks for making it!