This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: (?)
- To: egcs-bugs at egcs dot cygnus dot com, ja_uribe at hotmail dot com
- Subject: Re: (?)
- From: Mike Stump <mrs at windriver dot com>
- Date: Tue, 9 May 2000 19:31:26 -0700 (PDT)
> From: "juan uribe" <ja_uribe@hotmail.com>
> To: egcs-bugs@egcs.cygnus.com
> Date: Tue, 09 May 2000 19:02:06 PDT
> I plan to build the current gcc version but have one question.
> What is the difference between native and cross compiler?
A native compiler is a compiler that generates code for the same
machine that one is running the compiler on. A Linux box that you
also want to run compile code on, would be an example of a native
compiler.
A cross compiler, is when the system you want to run the software on
isn't the one that you compile the software on. For example, you want
to compile on Linux, but run on Windows, that would be a cross
compiler.
> What I really want is to be able to compile Fortran, c and c++, should I
> just build a native compiler?
Yes.