public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: gcc compile?
@ 2003-04-23  4:05 Xu, Qiang (XSSC SGP)
  2003-04-23 18:20 ` Joe Buck
  0 siblings, 1 reply; 7+ messages in thread
From: Xu, Qiang (XSSC SGP) @ 2003-04-23  4:05 UTC (permalink / raw)
  To: Phil Edwards, Zack Weinberg; +Cc: gcc

i found this link:
http://www.linuxfromscratch.org/view/3.3/chapter06/gcc.html 
the article says: 

Dependencies
GCC-2.95.3 needs the following to be installed:


bash: sh
binutils: ar, as, ld, nm, ranlib
diffutils: cmp
fileutils: chmod, cp, ln, ls, mkdir, mv, rm, touch
find: find
gcc: cc, cc1, collect2, cpp0, gcc
grep: egrep, grep
make: make
patch: patch
sed: sed
sh-utils: basename, dirname, echo, expr, hostname, sleep, true, uname
tar: tar
texinfo: install-info, makeinfo
textutils: cat, tail, tr


so it seems to compile gcc2.95.3, the installation of previous version is
necessary, right?

i got a little confused. 

Regards,
Xu Qiang


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: gcc compile?
@ 2003-04-22  3:02 Xu, Qiang (XSSC SGP)
  2003-04-22  3:27 ` Zack Weinberg
  0 siblings, 1 reply; 7+ messages in thread
From: Xu, Qiang (XSSC SGP) @ 2003-04-22  3:02 UTC (permalink / raw)
  To: Zack Weinberg; +Cc: gcc

hi, Zack: 

you mean gcc 2.95.3 is supposed to be compiled without the existence of any
previous version of gcc? But for most solaris system, it can't actually,
because the defect in the binded cc compiler to these systems? you mean
actually, we need to "pkgadd" the binary directly in solaris systems? 

i won't install it now, for it has been "pkgadd"ed to my system already. i
am just curious about this problem. 

thanks, 

Regards,
Xu Qiang


-----Original Message-----
From: Zack Weinberg [mailto:zack@codesourcery.com]
Sent: Tuesday, April 22, 2003 10:19 AM
To: Xu, Qiang (XSSC SGP)
Cc: gcc@gcc.gnu.org
Subject: Re: gcc compile?


"Xu, Qiang (XSSC SGP)" <Xu.Qiang@xssc.sgp.xerox.com> writes:

> hi, all: 
> i have downloaded the full package of gcc 2.95.3, if i want to install it
by
> the method of "make" and "make install", is any previous gcc version
before
> 2.95.3 is required? 
...
> is there any stand-alone version of gcc? (stand-alone here means if there
is
> only the inborn cc compiler with a UNIX system, and this UNIX system
hasn't
> installed any version of gcc before, can i compile gcc2.95.3 on it?)

All released versions of GCC are intended to be stand-alone, in the
sense you are using (with the unfortunate exception of the Ada front
end).  However, there are a number of problems that can arise, most
common is that the 'inborn cc compiler' doesn't actually work at all
(this is the case on most Solaris systems, for instance).

If you would care to be more specific about what sort of Unix system
you have, and the nature of its bundled compiler, we can be more
helpful.

zw

^ permalink raw reply	[flat|nested] 7+ messages in thread
* gcc compile?
@ 2003-04-22  2:47 Xu, Qiang (XSSC SGP)
  2003-04-22  2:58 ` Zack Weinberg
  0 siblings, 1 reply; 7+ messages in thread
From: Xu, Qiang (XSSC SGP) @ 2003-04-22  2:47 UTC (permalink / raw)
  To: gcc

hi, all: 
i have downloaded the full package of gcc 2.95.3, if i want to install it by
the method of "make" and "make install", is any previous gcc version before
2.95.3 is required? 
and which version is the minimal requirement to compile v2.95.3? 

and to compile this previous version, is any version before it is a
requirement? 

if yes, it seems an endless chain. 

is there any stand-alone version of gcc? (stand-alone here means if there is
only the inborn cc compiler with a UNIX system, and this UNIX system hasn't
installed any version of gcc before, can i compile gcc2.95.3 on it?)

i checked the installation notes in the gcc 2.95.3 package, but it didn't
talk of the minimal requirements. 

any idea?

thanks, 

Regards,
Xu Qiang

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

end of thread, other threads:[~2003-04-23 17:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-23  4:05 gcc compile? Xu, Qiang (XSSC SGP)
2003-04-23 18:20 ` Joe Buck
  -- strict thread matches above, loose matches on Subject: below --
2003-04-22  3:02 Xu, Qiang (XSSC SGP)
2003-04-22  3:27 ` Zack Weinberg
2003-04-22 21:21   ` Phil Edwards
2003-04-22  2:47 Xu, Qiang (XSSC SGP)
2003-04-22  2:58 ` Zack Weinberg

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