This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (?)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]