public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-2.95.2
@ 2001-03-16  7:29 Jumblat, Ghassan
  0 siblings, 0 replies; 27+ messages in thread
From: Jumblat, Ghassan @ 2001-03-16  7:29 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Hi..
I downloaded the file gcc-2.95.2.tar.gz
gunzip the file and untar.

I am trying to install gcc compiler on my system.
I am following the instructions from the documents on the following site:
http://gcc.gnu.org/install/index.html

Tough at the configuration level when running ./configure I keep getting
error messages such as:
Configuring for a sparc-sun-solaris2.8 host.
Created "Makefile" in /usr/objdir using "mh-frag"
/tmp/gcc-2.95.2/configure: /tmp/gcc-2.95.2/gcc: cannot execute
*** The command '/tmp/gcc-2.95.2/gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

I think my problem is I do not have a native compiler on my system and
therefore
I get the error messages.

How do I install gcc on my system from scratch  ??

Thank you

regards,
ghassan
System Engineer
w: 416-682-6428
c: 416-985-8300

Warning:  All e-mail sent to or from this address will be received by the
Charles Schwab corporate e-mail system and is subject to archival and review
by someone other than the recipient.

^ permalink raw reply	[flat|nested] 27+ messages in thread
* gcc-2.95.2
@ 2001-10-29 20:09 sachin lamsoge
  0 siblings, 0 replies; 27+ messages in thread
From: sachin lamsoge @ 2001-10-29 20:09 UTC (permalink / raw)
  To: help-gcc

hi 
i am getting the following error while installing
gcc-2.95.2 on redhat 6.2 kernel 2.2.14-5.0
kindly help

../../../../../libstdc++/src/string-inst.cc:64:  
instantiated from here
../../../../../libstdc++/bits/basic_string.h:675:
warning: can't inline call to `class
std::basic_string<char,st
d::char_traits<char>,std::allocator<char> > &
std::basic_string<char,std::char_traits<char>,std::allocator<char>
 >::replace<std::__normal_iterator<char
*,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >
 >(std::__normal_iterator<char
*,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >, std::__
normal_iterator<char
*,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >, std::__normal_ite
sic_string<char,std::char_traits<char>,std::allocator<char>
> &, unsigned int, unsigned int)':
../../../../../libstdc++/src/string-inst.cc:64:  
instantiated from here
../../../../../libstdc++/bits/basic_string.h:541:
warning: can't inline call to `class
std::basic_string<char,std::char_traits<char>,std::allocator<char>
> &
std::basic_string<char,std::char_traits<char>,std::allocator<char>
>::assign<std::__normal_iterator<char
*,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >
>(std::__normal_iterator<char
*,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >, std::__normal_iterator<char
*,std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >)'
../../../../../libstdc++/bits/basic_string.h:523:
warning: called from here
make[4]: *** [stringMAIN.lo] Error 1
make[4]: Leaving directory
`/root/gcc-2.95.2/build/object/i686-pc-linux-gnu/libstdc++/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/root/gcc-2.95.2/build/object/i686-pc-linux-gnu/libstdc++'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/root/gcc-2.95.2/build/object/i686-pc-linux-gnu/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory
`/root/gcc-2.95.2/build/object'
make: *** [bootstrap] Error 2
[root@gateway object]#

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

^ permalink raw reply	[flat|nested] 27+ messages in thread
* RE: gcc-2.95.2
@ 2001-03-16  8:13 David Korn
  0 siblings, 0 replies; 27+ messages in thread
From: David Korn @ 2001-03-16  8:13 UTC (permalink / raw)
  To: 'Jumblat, Ghassan', 'gcc-help@gcc.gnu.org'

>-----Original Message-----
>From: Jumblat, Ghassan [ mailto:Ghassan.Jumblat@schwabcanada.com ]
>Sent: 16 March 2001 15:27


>Tough at the configuration level when running ./configure I 
>keep getting
>error messages such as:
>Configuring for a sparc-sun-solaris2.8 host.
>Created "Makefile" in /usr/objdir using "mh-frag"
>/tmp/gcc-2.95.2/configure: /tmp/gcc-2.95.2/gcc: cannot execute
>*** The command '/tmp/gcc-2.95.2/gcc -o conftest -O2   
>conftest.c' failed.
>*** You must set the environment variable CC to a working compiler.
>
>I think my problem is I do not have a native compiler on my system and
>therefore

  You are absolutely 100% right; you do need some kind of compiler to get
started with.  If you don't have the Sun development tools to install,
your best bet is to download a precompiled version of Gcc from 

http://www.sunfreeware.com/

        DaveK
-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

^ permalink raw reply	[flat|nested] 27+ messages in thread
* gcc-2.95.2
@ 2001-02-21 22:29 Agung Yogaswara
  2001-02-21 23:12 ` gcc-2.95.2 Alexandre Oliva
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Agung Yogaswara @ 2001-02-21 22:29 UTC (permalink / raw)
  To: gcc-help

I have gcc-2.95.2 installed with glibc-2.2 updated for Red Hat 7.0 plus
the patch. But I got this error when compiling a program:

In file included from
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream.h:31,
                 from
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream:6,
                 from ../include/JTC/Types.h:58,
                 from Cond.cpp:11:
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h: In
method `struct streampos streambuf::pubseekoff(long long int,
ios::seek_dir, int = 3)':
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:362: conversion
from `__off64_t' to non-scalar type `streampos' requested
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h: In
method `struct streampos streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:364: `struct
streampos' used where a `long long int' was expected

In file included from Cond.cpp:28:
/usr/include/sys/time.h: At top level:
/usr/include/sys/time.h:69: two or more data types in declaration of
`__tz'


Any ideas?

Thanks

^ permalink raw reply	[flat|nested] 27+ messages in thread
* gcc-2.95.2
@ 1999-11-06 13:08 Inferno
  1999-11-06 14:50 ` gcc-2.95.2 Tim Prince
  1999-11-30 23:28 ` gcc-2.95.2 Inferno
  0 siblings, 2 replies; 27+ messages in thread
From: Inferno @ 1999-11-06 13:08 UTC (permalink / raw)
  To: help-gcc

I was just trying to install gcc-2.95.2 on my cygwin b20.1 system and
got the following errors on compile:
  /root/gcc-2.95.2/gcc/xgcc -B/root/gcc-2.95.2/gcc/
-B/H-i586-cygwin32/i686-pc-cygwin32/bin/ -I/H-i5
86-cygwin32/i686-pc-cygwin32/include -O2 -I./../winsup/include
-DIN_GCC     -g -O2 -I./include   -g
1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I./config
-I./../include -c -DL${name} \
       ./libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
./libgcc2.c:41: stdlib.h: No such file or directory
./libgcc2.c:42: unistd.h: No such file or directory
make[1]: *** [libgcc2.a] Error 1
make: *** [all-gcc] Error 2
#


I was using the configure --prefix=/H-i586-cygwin32    program
configuration.  I let it do defaults for the rest.  What went wrong?

Thanks,
Inferno

--
"Life is the whim of several billion cells to be you for a while."
                                            --Inferno


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2001-10-29 20:09 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-16  7:29 gcc-2.95.2 Jumblat, Ghassan
  -- strict thread matches above, loose matches on Subject: below --
2001-10-29 20:09 gcc-2.95.2 sachin lamsoge
2001-03-16  8:13 gcc-2.95.2 David Korn
2001-02-21 22:29 gcc-2.95.2 Agung Yogaswara
2001-02-21 23:12 ` gcc-2.95.2 Alexandre Oliva
2001-02-22 17:50   ` gcc-2.95.2 Agung Yogaswara
2001-02-22 18:08     ` gcc-2.95.2 Agung Yogaswara
2001-02-21 23:18 ` gcc-2.95.2 Jerry Miller
2001-02-22 17:50   ` gcc-2.95.2 Agung Yogaswara
2001-02-22 18:00     ` gcc-2.95.2 Jerry Miller
2001-02-22 18:08     ` gcc-2.95.2 Agung Yogaswara
2001-02-22 10:46 ` gcc-2.95.2 sherry
2001-02-22 10:50 ` gcc-2.95.2 sherry
1999-11-06 13:08 gcc-2.95.2 Inferno
1999-11-06 14:50 ` gcc-2.95.2 Tim Prince
1999-11-06 17:09   ` gcc-2.95.2 Inferno
1999-11-07 22:52     ` gcc-2.95.2 Mumit Khan
1999-11-08  5:55       ` gcc-2.95.2 Inferno
1999-11-30 23:28         ` gcc-2.95.2 Inferno
1999-11-08  5:58       ` gcc-2.95.2 Inferno
1999-11-08 19:09         ` gcc-2.95.2 Tim Prince
1999-11-30 23:28           ` gcc-2.95.2 Tim Prince
1999-11-30 23:28         ` gcc-2.95.2 Inferno
1999-11-30 23:28       ` gcc-2.95.2 Mumit Khan
1999-11-30 23:28     ` gcc-2.95.2 Inferno
1999-11-30 23:28   ` gcc-2.95.2 Tim Prince
1999-11-30 23:28 ` gcc-2.95.2 Inferno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).