* GCC Front-ends?
@ 2019-06-02 15:53 esoteric escape
2019-06-02 19:27 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: esoteric escape @ 2019-06-02 15:53 UTC (permalink / raw)
To: gcc-help
I was reading this page: https://www.gnu.org/software/gcc/frontends.html
> Currently the main GCC distribution contains front ends for C (gcc), C++
> (g++), Objective C, Fortran, Ada (GNAT), Go, and D.
Can you tell if gcc and g++ are front ends here? or are they complete
compilers?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC Front-ends?
2019-06-02 15:53 GCC Front-ends? esoteric escape
@ 2019-06-02 19:27 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2019-06-02 19:27 UTC (permalink / raw)
To: esoteric escape; +Cc: gcc-help
On Sun, 2 Jun 2019 at 16:53, esoteric escape <manips88@gmail.com> wrote:
>
> I was reading this page: https://www.gnu.org/software/gcc/frontends.html
>
>
> > Currently the main GCC distribution contains front ends for C (gcc), C++
> > (g++), Objective C, Fortran, Ada (GNAT), Go, and D.
>
>
> Can you tell if gcc and g++ are front ends here? or are they complete
> compilers?
Does it matter?
How do you define a "complete compiler"?
Strictly speaking they're driver programs which can perform any step
of a compilation, from preprocessing to linking. But the different
drivers have different defaults, e.g. g++ defaults to running the C++
front end.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-02 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 15:53 GCC Front-ends? esoteric escape
2019-06-02 19:27 ` Jonathan Wakely
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).