Installing egcs-1.1.2

c958179@student.dtu.dk c958179@student.dtu.dk
Wed Nov 29 02:31:00 GMT 2000


I did the following(which are from installationsinstruction) for
installing egcs-1.1.2 to my SGI IRIX 6.5 computer:
#mkdir objdir
#cd objdir
#srcdir/configure [target] [options]

with the respons:

#No match

I have some questions her.
Why am I making a directory witk name objdir?
In which directory should objdir be placed?
Where is srcdir comming from?

Then I tried to configure without making any directory, like this:

#./configure

And I got the following:

"Configuring for a mips-sgi-irix6.5 host.
Created "Makefile" in /usr/home/robcad/Sabit/egcs-1.1.2 using "mh-frag"

cc ERROR: cannot exec /usr/lib32/cmplr/fec
***The command 'cc -o conftest -g conftest.c' failed
***You must set the environment variable CC to a working compiler  "

How can I set the environment variable CC to a working compiler?


I am using egcs-1.1.2 because it is recommanded for the C++ program I am
gonna work with.

Do you think I can use GCC 2.95 for the same purpose?


Thanks in advance.

Regards from Sabit







On Tue, 28 Nov 2000, Erik Mouw wrote:

> On Tue, Nov 28, 2000 at 08:33:16PM +0100, c958179@student.dtu.dk wrote:
> > I tried to install egcs-1.1.2 on a SGI IRIX 6.5 machine but without
> > succes.
> 
> Any specific reason why you would like to install egcs-1.1.2 on this
> system? IMHO you'd better use gcc-2.95.2, which compiles right out of
> the box on IRIX 6.x systems.
> 
> > I did following like in the INSTALL file:
> > 
> > configure:
> > %mkdir _objdir_
> > %cd _objdir_
> > %_srcdir_/configure _[target]_ _[options]_
> > And I got the following respons:
> > % Don't match
> 
> Try to do without a target. The configure is smart enough to guess the
> target OS when you're using the system's native compiler.
> 
> > I tried this command afterwards:
> > %./configure
> > and it failled in the makefile.
> > 
> > What did I do wrong?
> 
> I have no idea, please supply some more information on what you're
> doing, and some more error messages.
> 
> BTW: SGI has a gcc-2.95.2 binary on their "SGI Freeware" CD or website.
> Check out the "Freeware" CDs or http://freeware.sgi.com/ .
> 
> 
> Erik
> 
> -- 
> J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
> of Electrical Engineering, Faculty of Information Technology and Systems,
> Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
> Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
> WWW: http://www-ict.its.tudelft.nl/~erik/
> 



More information about the Gcc mailing list