public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Compiler for gcc
@ 2009-08-08 13:13 Harshal Jain
  2009-08-08 20:58 ` Harshal Jain
  2009-08-09 16:10 ` Michael Hope
  0 siblings, 2 replies; 4+ messages in thread
From: Harshal Jain @ 2009-08-08 13:13 UTC (permalink / raw)
  To: gcc, gcc

As we know gcc is used 2 compile c programs n also gcc is used 2
compile linux kernels also bt i wanted 2 know who is d compiler of
gcc?
means in which programming language compiler for gcc is written???
-- 
Regards ,
Harshal Jain

“UNIX is simple.  It just takes a genius to understand its simplicity.”
– Dennis Ritchie

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

* Compiler for gcc
  2009-08-08 13:13 Compiler for gcc Harshal Jain
@ 2009-08-08 20:58 ` Harshal Jain
  2009-08-09 16:10 ` Michael Hope
  1 sibling, 0 replies; 4+ messages in thread
From: Harshal Jain @ 2009-08-08 20:58 UTC (permalink / raw)
  To: gcc, gcc

As we know gcc is used 2 compile c programs n also gcc is used 2
compile linux kernels also bt i wanted 2 know who is d compiler of
gcc?
means in which programming language compiler for gcc is written???
-- 
Regards ,
Harshal Jain

“UNIX is simple.  It just takes a genius to understand its simplicity.”
– Dennis Ritchie

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

* Re: Compiler for gcc
  2009-08-08 13:13 Compiler for gcc Harshal Jain
  2009-08-08 20:58 ` Harshal Jain
@ 2009-08-09 16:10 ` Michael Hope
  2009-08-09 17:45   ` Michael Hope
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Hope @ 2009-08-09 16:10 UTC (permalink / raw)
  To: Harshal Jain; +Cc: gcc, gcc

Hi Harshal.  I'm no expert, but GCC can be built by another C
compiler.  If you have a look at how GCC builds you'll see that it
goes through a few stages - the first is where the local C compiler
builds a first version of GCC, and then this new version of GCC is
used to build itself.  The same technique is used to build newer
versions of GCC. If your machine currently has GCC version 3 and you
want to build version 4 then the first step uses GCC 3 to build a
temporary version of GCC 4, and then this temporary version is used to
build the final version.

-- Michael

2009/8/9 Harshal Jain <harshaldjain@gmail.com>:
> As we know gcc is used 2 compile c programs n also gcc is used 2
> compile linux kernels also bt i wanted 2 know who is d compiler of
> gcc?
> means in which programming language compiler for gcc is written???
> --
> Regards ,
> Harshal Jain
>
> “UNIX is simple.  It just takes a genius to understand its simplicity.”
> – Dennis Ritchie
>

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

* Re: Compiler for gcc
  2009-08-09 16:10 ` Michael Hope
@ 2009-08-09 17:45   ` Michael Hope
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Hope @ 2009-08-09 17:45 UTC (permalink / raw)
  To: Harshal Jain; +Cc: gcc, gcc

Hi Harshal.  I'm no expert, but GCC can be built by another C
compiler.  If you have a look at how GCC builds you'll see that it
goes through a few stages - the first is where the local C compiler
builds a first version of GCC, and then this new version of GCC is
used to build itself.  The same technique is used to build newer
versions of GCC. If your machine currently has GCC version 3 and you
want to build version 4 then the first step uses GCC 3 to build a
temporary version of GCC 4, and then this temporary version is used to
build the final version.

-- Michael

2009/8/9 Harshal Jain <harshaldjain@gmail.com>:
> As we know gcc is used 2 compile c programs n also gcc is used 2
> compile linux kernels also bt i wanted 2 know who is d compiler of
> gcc?
> means in which programming language compiler for gcc is written???
> --
> Regards ,
> Harshal Jain
>
> “UNIX is simple.  It just takes a genius to understand its simplicity.”
> – Dennis Ritchie
>

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

end of thread, other threads:[~2009-08-08 21:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-08 13:13 Compiler for gcc Harshal Jain
2009-08-08 20:58 ` Harshal Jain
2009-08-09 16:10 ` Michael Hope
2009-08-09 17:45   ` Michael Hope

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