From owner-freebsd-questions Sun May 27 10:36:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 0B95637B422 for ; Sun, 27 May 2001 10:36:47 -0700 (PDT) (envelope-from dleimbac@earthlink.net) Received: from 1Cust4.tnt1.starkville.ms.da.uu.net (1Cust4.tnt1.starkville.ms.da.uu.net [63.30.107.4]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA25091; Sun, 27 May 2001 10:36:16 -0700 (PDT) Message-Id: <200105271736.KAA25091@falcon.mail.pas.earthlink.net> Date: Sun, 27 May 2001 12:39:28 CDT From: dave To: Erik Trulsson , dave Cc: questions@FreeBSD.ORG Subject: Re: building gcc Reply-To: dleimbac@earthlink.net X-Mailer: Spruce 0.6.5 for X11 w/smtpio 0.7.9 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you for the clarification... I knew you guys wouldn't fail me.... I apologize for my possibly nasty sounding follow-ups. I should really learn to rephrase and re-read my email so I don't come off so crappy. Dave On Sun, 27 May 2001, Erik Trulsson wrote: > Date: Sun, 27 May 2001 19:34:29 +0200 > To: dave > From: Erik Trulsson > Subject: Re: building gcc > > On Sun, May 27, 2001 at 12:23:29PM -0500, dave wrote: > > > > > > I also don't understand how the gcc tarred source doesn't have the > glibc > > library.. > > > > I just downloaded and built it on some Alpha linux machines at work and > it > > was compiling stuff from stdio. Stdio is a part of glibc. Obviously > gcc > > comes with glibc. > > > > glibc is the standard C library on *Linux*. FreeBSD doesn't use glibc > but has its own libraries. > Gcc does not include the various standard libraries but uses those of > the host OS. (In terms of ANSI C, gcc is a freestanding compiler, not a > hosted compiler.) > > Again: gcc does not, never has, and hopefully never will, come with > glibc not require it. > > > Has anyone actually upgraded gcc on a FreeBSD or am I just getting > > speculative uninformed answers? > > > > You are getting quite correct answers. > > One thing to note though : Although g77 is included with the base > FreeBSD system it is invoked as 'f77' (and not as 'g77'). > > > > > > On Sat, 26 May 2001, Kris Kennaway wrote: > > > Date: Sat, 26 May 2001 16:10:33 -0700 > > > To: dave > > > From: Kris Kennaway > > > Subject: Re: building gcc > > > > > > On Sat, May 26, 2001 at 04:54:05PM -0500, dave wrote: > > > > > > > > > > > > I have not done this yet as I realize the importance of the C > library > > > to > > > > any UNIX system. Am I safe to download the same version of gcc I > > > currently > > > > have in source form and build the compilers I want > from > > > that > > > > collection? > > > > > > > > I'd like g77 and gnat specifically. [mostly gnat... want to play > with > > > Ada]. > > > > > > gcc is included in the base FreeBSD system, and g77 is built by > > > default. gnat is available in the ports collection. > > One thing to note here : Although g77 is included with the base > FreeBSD system it is invoked as 'f77' (and not as 'g77'). > > > > > > > > > Will this replace the C library that comes with FreeBSD with glibc? > > > > > > No, glibc is separate (Linux-only) software. > > > > > > Kris > > > -- > > Erik Trulsson > ertr1013@student.uu.se > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message