473,378 Members | 1,470 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,378 software developers and data experts.

Assembler vs Compiler vs Linker

Hi all,

I would like to know what is the difference between asembler ,
compiler , linker & loader. I am new to programming.
Sunil.

Nov 15 '05 #1
4 14117
Sunil wrote:
I would like to know what is the difference between asembler ,
compiler , linker & loader. I am new to programming.


Unfortunately, you seem also to be new to Usenet.
This newsgroup only deals with the C language, not with
implementations, programming tools etc.

If you have no clue at all, wikipedia.org may be a good first
address. The article about C is IMO not perfect but if you want
to know more about C, you can always ask here -- after reading
the FAQ.

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Nov 15 '05 #2
This newsgroup only deals with the C language

yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.

Nov 15 '05 #3
Sunil wrote:
This newsgroup only deals with the C language

yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.


1) Please do quote context in a way that it is clear you are quoting
2) Please do not snip attributions when quoting

Without context and attributions you make it harder for people
who have not (yet) received all previous messages to help you
as they do not know what you are referring to and how the
discussion developed.

3) You did not check wikipedia on compilers: C is not a compiler.
There are C compilers but an implementation could work without
compiling. (The difference between C being a compiler and there
being compilers compiling C is the same as between all water being
rivers and having rivers containing water.)

You did not read the FAQ or the Welcome Message (both can easily
be found using google), so your opinion is unnecessarily uninformed
and wrong.

-Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Nov 15 '05 #4
Sunil wrote:
This newsgroup only deals with the C language
Please quote properly using quote markers and proper attribution as
shown in this article. The above line was not, I believe, written by you
however the way you have posted makes it look like it was. I believe
that if you press the options button above the message and then hit the
reply button that reveals, rather than the reply button shown by
default, Google will do most of the work for you so all you have to do
is snip text you are not replying to.
yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.


C is *not* a compiler, it is a *language*. Just as the English is not a
dictionary (or, for a closer comparison the part of your brain that
processes language), it is a language.

How compilers work is *not* on topic for this group, there is a group
dedicated to this complex topic called comp.compilers. If you want to
know how compilers work and what the division is between compilers and
assemblers that would be a place to start, not here. Obviously you
should read their FAQ first, and a few days worth of posts (I know you
did not do that here or you would have known how to reply properly).
There are also groups dedicated to specific implementations where you
will get help on how to use those implementations.

Also, you don't need to know the relationship between compilers,
assemblers and linkers to program in C, and indeed many modern
implementations don't actually produce and actual assembler code or use
an assembler. Some implementations don't use a separate linker either,
or the linking is done when you run the program rather than when you
build it.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 15 '05 #5

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

Similar topics

4
by: Jeremy Watts | last post by:
Hi, I'm completely new to C++ and wondered if anyone has a recommendation for a C++ compiler Thanks
28
by: Skybuck Flying | last post by:
Hi, I think I understand now a bit better what the difference is between a c compiler and a pascal compiler. For example: When compiling source code with a pascal compiler. The pascal...
2
by: Mary | last post by:
Hello, I am having a problem with the cl compiler. I have written a C class (RegConnect.c) which uses Win32 API functions such as RegOpenKey, RegCloseKey etc. Initially when I was trying to...
5
by: Ondrej Spanel | last post by:
I though that inline functions should be always visible only in the compilation unit where they are defined - meaning if compiler cannot inline them, they should be handled as if declared static....
3
by: fade | last post by:
Good afternoon Is there a way to tell the compiler and linker where to look for my header files and libraries directly on the code? (I'm not talking about changing project properties, linker,...
42
by: jacob navia | last post by:
http://slashdot.org/ "The leaner, lighter, faster, and most importantly, BSD Licensed, Compiler PCC has been imported into OpenBSD's CVS and NetBSD's pkgsrc. The compiler is based on the...
20
by: Nickolai Leschov | last post by:
Hello all, I am programming an embedded controller that has a 'C' library for using its system functions (I/O, timers, all the specific devices). The supplied library has .LIB and .H files. ...
8
by: Grizlyk | last post by:
To continue some ideas of "C++ Archeology: Limits of OO paradigm", i want to ask about C++ development. There are C++ compilers, that has been written in old good C. Are C or pascal perfect...
1
by: jason.cipriani | last post by:
Here is an example with 3 files, containing a template structure and also a template function. The header A.h declares a template structure A with a default (i.e. for any template parameter),...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.