public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems with gcc installation
@ 2000-04-14  9:07 Carlos Puigdomenech
  2000-04-14 10:18 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Carlos Puigdomenech @ 2000-04-14  9:07 UTC (permalink / raw)
  To: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

Hi there 
I have problems installing gcc (2.8.0) at SUN (Release 
5.5.1 Generic (sun4m sparc)). The configure file send me the following 
message:
 
configure: error: no acceptable cc found in 
$PATH
 
I'm installing from the following directory:
 
/export/home/carlosp/gcc-2.8.0
 
and I'm using configure defaults 
parameters.
 
Best Regards
CarlosP - Argentina

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

* Re: Problems with gcc installation
  2000-04-14  9:07 Problems with gcc installation Carlos Puigdomenech
@ 2000-04-14 10:18 ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2000-04-14 10:18 UTC (permalink / raw)
  To: Carlos Puigdomenech; +Cc: help-gcc

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

On Apr 14, 2000, "Carlos Puigdomenech" <carlosp_@uol.com.ar> wrote:

> configure: error: no acceptable cc found in $PATH

So, do you have some working C compiler that you can use to build gcc?
If not, you'll have to download a pre-compiled one.  Try
www.sunfreeware.com

And, unless you really need the ancient 2.8.0, grab a newer release,
such as 2.95.2.

-- 
Alexandre Oliva    Enjoy Guaraná, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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

* Re: problems with gcc installation
  2009-10-15 14:10 problems " yzysea
@ 2009-10-16 14:37 ` Ian Lance Taylor
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 2009-10-16 14:37 UTC (permalink / raw)
  To: yzysea; +Cc: gcc-help

yzysea <yangjing47686@163.com> writes:

>   I need to intall gcc-2.5.8 on opensolaris. In the "make" step, I get  the
> following message: 
>
>   root@opensolaris:/export/home/sea/Desktop/gcc-2.5.8# make 
> cc  -DIN_GCC   -g     -I. -I. -I./config \ 
>  
> -DGCC_INCLUDE_DIR=\"/usr/local/gcc258/lib/gcc-lib/i386-sun-sunos5.11/2.5.8/include\"
> \ 
>   -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/gcc258/lib/g++-include\" \ 
>   -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ 
>  
> -DCROSS_INCLUDE_DIR=\"/usr/local/gcc258/lib/gcc-lib/i386-sun-sunos5.11/2.5.8/sys-include\"
> \ 
>   -DTOOL_INCLUDE_DIR=\"/usr/local/gcc258/i386-sun-sunos5.11/include\" \ 
>   -DTOOLDIR=\"/usr/local/gcc258/i386-sun-sunos5.11/\" \ 
>   -c `echo ./cccp.c | sed 's,^\./,,'` 
> cccp.c: In function `bzero': 
> cccp.c:8966: error: argument "b" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c: In function `bcopy': 
> cccp.c:8976: error: argument "b1" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c:8976: error: argument "b2" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c: In function `bcmp': 
> cccp.c:8986: error: argument "b1" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> cccp.c:8986: error: argument "b2" doesn't match prototype 
> cccp.c:240: error: prototype declaration 
> *** Error code 1 
> make: Fatal error: Command failed for target `cccp.o'
>
> I am trapped in this problem for ages.
> Can anyone give me some help?  Thanks a great deal 


Thanks for sending this message to gcc-help@gcc.gnu.org.  A message of
this sort should not be sent to gcc@gcc.gnu.org.  Please keep similar
messages to gcc-help in the future.  Thanks.

gcc 2.5.8 is very very old.  The current release is 4.4.1, and 4.4.2
is about to go out the door.  Is there any reason that you want to use
such an old release?

I don't have a copy of that ancient release, but the fix should be
pretty obvious for anybody who knows C: look at the lines in cccp.c,
and make the functions match the declarations.

Ian

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

* problems with gcc installation
@ 2009-10-15 14:10 yzysea
  2009-10-16 14:37 ` Ian Lance Taylor
  0 siblings, 1 reply; 4+ messages in thread
From: yzysea @ 2009-10-15 14:10 UTC (permalink / raw)
  To: gcc-help


Hi, 
  I need to intall gcc-2.5.8 on opensolaris. In the "make" step, I get  the
following message: 

  root@opensolaris:/export/home/sea/Desktop/gcc-2.5.8# make 
cc  -DIN_GCC   -g     -I. -I. -I./config \ 
 
-DGCC_INCLUDE_DIR=\"/usr/local/gcc258/lib/gcc-lib/i386-sun-sunos5.11/2.5.8/include\"
\ 
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/gcc258/lib/g++-include\" \ 
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ 
 
-DCROSS_INCLUDE_DIR=\"/usr/local/gcc258/lib/gcc-lib/i386-sun-sunos5.11/2.5.8/sys-include\"
\ 
  -DTOOL_INCLUDE_DIR=\"/usr/local/gcc258/i386-sun-sunos5.11/include\" \ 
  -DTOOLDIR=\"/usr/local/gcc258/i386-sun-sunos5.11/\" \ 
  -c `echo ./cccp.c | sed 's,^\./,,'` 
cccp.c: In function `bzero': 
cccp.c:8966: error: argument "b" doesn't match prototype 
cccp.c:240: error: prototype declaration 
cccp.c: In function `bcopy': 
cccp.c:8976: error: argument "b1" doesn't match prototype 
cccp.c:240: error: prototype declaration 
cccp.c:8976: error: argument "b2" doesn't match prototype 
cccp.c:240: error: prototype declaration 
cccp.c: In function `bcmp': 
cccp.c:8986: error: argument "b1" doesn't match prototype 
cccp.c:240: error: prototype declaration 
cccp.c:8986: error: argument "b2" doesn't match prototype 
cccp.c:240: error: prototype declaration 
*** Error code 1 
make: Fatal error: Command failed for target `cccp.o'

I am trapped in this problem for ages.
Can anyone give me some help?  Thanks a great deal 
-- 
View this message in context: http://www.nabble.com/problems-with-gcc-installation-tp25905693p25905693.html
Sent from the gcc - Help mailing list archive at Nabble.com.

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

end of thread, other threads:[~2009-10-15 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-14  9:07 Problems with gcc installation Carlos Puigdomenech
2000-04-14 10:18 ` Alexandre Oliva
2009-10-15 14:10 problems " yzysea
2009-10-16 14:37 ` Ian Lance Taylor

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).