answersLogoWhite

0

Native code is simply machine-dependent code (machine code). It is the only language "understood" by the machine, however the code is non-portable; the code will only execute correctly upon the platform (the architecture and operating system) for which it was specifically intended.

A cross-compiler is a compiler which is capable of producing machine code for machines other than (or in addition to) the one upon which the compiler is executing. This is useful for creating software for systems which cannot be programmed directly, such as SmartPhones. Instead, the software is developed on another system (such as a PC or Mac) and compiled with a cross-compiler.

A compiler is simply a software program which converts high-level code into a lower-level code. The lower-level code is typically native machine code but there are exceptions. For example, the Java compiler compiles to Java byte code which is suitable for interpretation by any Java virtual machine implementation. There are also compilers that can convert C++ to C. However, it is not possible to increase the amount of abstraction using a compiler -- this can only be done manually.

User Avatar

Wiki User

7y ago

What else can I help you with?

Related Questions

Difference between native and non native species?

The difference between native and non-native species is that native species are from that area and non-native species are not from that area.


Which compiler compiles the IL code to native code?

Just-In-Time compiler


How can you tell the difference between a fire ant and a native fire ant?

What


How can you tell the difference between the native fire ant and a imported fire ant?

What


How can you tell the difference between a native fire ant and a imported fire ant?

What


What is this native code and what is difference between native code and machine code?

They are the same thing. Every machine type has its own version of machine code, the native language of the machine (native machine code). All high-level code must be converted to native machine code before it can execute. Machine code is machine dependent but high-level code is generally machine-independent, thus the same source code can generally be converted to suit any type of machine using a suitable compiler or interpreter.


What is the difference between native cigarettes and brand name cigarettes?

Native cigs are for poor people and brand name are for white people


Is there a major difference between puerto ricans and brazilians?

* Language: Spanish is PR's native tongue, Portuguese is Brazil's native tongue


What is the difference between native Americans and Australian aboriginals?

ones American ones Australian


What is the difference between birth place and native place?

Native place where ones race belongs to. Birth place is where one takes birth not necessarily in native place


What is the difference between a native compiler and a cross compiler?

A native compiler is one that compiles programs for the same architecture or operating system that it is running on. For instance, a compiler running on an x86 processor and creating x86 binaries. A cross-compiler is one that compiles binaries for architectures other than its own, such as compiling SPARC binaries on a PowerPC processor.A cross compiler executes in one environment and generates code for another. A "native compiler" generates code for its own execution environment. For example, Microsoft Visual Studio includes a native compiler. It is used on the Windows platform to create applications that are run on the windows platform. A cross compiler could also execute on the Windows operating system, but possibly generate code aimed at a different platform. Many embedded devices, such as mobile phones or wasching machines, are programed in such way. Compilers generating cross-platform hyper code such as compilers for Java or any of the .NET languages fall somewhere in between these two basic compiler categories. Their nature depends on the exact use-case, and the angle under which you look at those when categorizing.


What is the difference between a turkey and a chicken like a turkey has a gobble and a chicken doesn't?

Turkeys are native to the Americas, and chickens are native to India and Asia.