473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

c compilation

how and where does the c compilation takes place?

Mar 9 '07 #1
4 2086
ra*********@gmail.com wrote:
how and where does the c compilation takes place?
Whenever the compiler is invoked and wherever it is present.

Mar 10 '07 #2
<ra*********@gmail.comwrote in message
how and where does the c compilation takes place?
If you are going to post homework questions at least put them into your own
words. No one talks like that outside of an examination paper.

You need to understnad the difference between machine language, assembly
language, and high-level languages such as C, Java, or Basic.

Then understand the difference between an interpreted and a compiled
language. To help you, an interpreter is a program that accepts the source
code to a high level language, and executes the instructions in it. It
doesn't create another program, and you cannot run the high level language
without the interpreter.

C works on an entirely different principle.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm
Mar 10 '07 #3
Malcolm McLean wrote:
<ra*********@gmail.comwrote in message
how and where does the c compilation takes place?
<snip>
Then understand the difference between an interpreted and a compiled
language. To help you, an interpreter is a program that accepts the source
code to a high level language, and executes the instructions in it.
No. The JVM is a counterexample.
It doesn't create another program, [ ... ]
It might in memory. Again, the JVM compiles portions of it's input
into native machine code.
and you cannot run the high level language
without the interpreter.
Lisp-machines, and IIRC, there was an experimental CPU that directly
executed Java bytecode.
C works on an entirely different principle.
Yes, but you've not addressed OP's question at all.

Mar 10 '07 #4
On 10 Mar 2007 01:34:48 -0800, "santosh" <sa*********@gmail.com>
wrote:
Malcolm McLean wrote:
<ra*********@gmail.comwrote in message
how and where does the c compilation takes place?
<snip>
and you cannot run the high level language
without the interpreter.

Lisp-machines, and IIRC, there was an experimental CPU that directly
executed Java bytecode.
Although Java bytecode is not "the high level language". Similarly
there was a machine that hardware (I think actually firmware) executed
the P-code used by UCSD Pascal (and I believe other front-ends).

Strictly speaking LISP machines executed a parsed (and in particular
intern'ed) form of the source, but I think most people would count
that as a non-semantically-significant difference.

And the IBM 5100 ran in firmware either BASIC (I suspect, similarly
preparsed) or APL (for which parsing would be nearly trivial).
C works on an entirely different principle.

Yes, but you've not addressed OP's question at all.
I suspect intentionally not, since he assessed it as homework.

Apr 15 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: konf | last post by:
Hallo, I tried to compile PGSQL 7.4 and I got error (durring make): ar: command not found What is it? Whe I can found it? I have: $ uname -a SunOS ... 5.8 Generic_108528-03 sun4u sparc...
10
by: Sune | last post by:
Hi, previously I used Eclipse CDT for compiling my files just to get started with C and leave C++ behind. Now it's time to get a little more serious so I've moved my files to a new workplace and...
2
by: FireStarter | last post by:
Guys, in the code that follows, why does the method F() still compile, even if DBG is undefined? Inside method G(), the code inside <#if DBG> does not compile (notice that I can write whatever I...
3
by: Dan | last post by:
Hi, I have a problem using an aspx page with a Control on it. I get the following error message Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple places; using definition...
3
by: ktrvnbq02 | last post by:
Hi, We have an ASP.NET application built in Release mode via Visual Studio. All of the C# code is in the code-behind files (i.e. *.aspx.cs files) and there is no C# in the *.aspx files...
6
by: thomson | last post by:
Hi all, I have compiled by .net web applicaion in my local machine , and a dll has been created on the bin Directory, And i have copied the entire application using xcopy deployment to a...
3
by: Robert | last post by:
I have a number of web projects converted from 1.1 to 2.0 in VS2005. I am methodically seeing the error below: The element 'compilation' has invalid child element 'compilers'. List of...
6
by: alban | last post by:
Hello I have got some problems of compilation on a AIX IBM, I use the XLC compilator (And I can't install another one). I try to compile code Pro*c ".pc" (oracle), I need do a pre-compilation...
4
by: Bob | last post by:
Hi, In VS2003 conditional compilation constants and their state could be defined at project level. I was using this to control what features where offered by various builds. i.e....
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.