This is a discussion on what does COMPILE mean? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> i am curious to know what this term really means in linux. could someone explain it without being too ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| i am curious to know what this term really means in linux. could someone explain it without being too technical? does it just mean to change it? i know i had to download a modem driver file, untar make clean, make ham, make install as root, and the modem worked. i hope it will in slack 9.1 by the way. is that called compiling? or do you do something to totally modify the original kernel? thanks from a newbie, that is used to a dos command line, just not linux jargon. |
| |||
| * joe <joe@aol.com> writes: > i am curious to know what this term really means in linux. Google is your friend... http://www.google.com/search?q=define%3Acompile -- |---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---| | Ashes to ashes, dust to dust. | | The proof of the pudding, is under the crust. | |----------------------------------<steve@youngs.au.com>---| |
| |||
| On Wed, 21 Apr 2004 09:31:45 +1000, Steve Youngs <steve@youngs.au.com> wrote: > > > * joe <joe@aol.com> writes: > > > i am curious to know what this term really means in linux. > > Google is your friend... > > http://www.google.com/search?q=define%3Acompile > > > -- > |---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---| > | Ashes to ashes, dust to dust. | > | The proof of the pudding, is under the crust. | > |----------------------------------<steve@youngs.au.com>---| And YOU obviously aren't. http://slackware.asshole.net/gradeA.html ------------------------------------------------------------------ Compiling is the process of turning C code into assembler instructions. Assembler instructions are the program code that your 80?86/SPARC/RS6000CPU understands directly. The change is from an ascii text file to a binary executable. You do it with a (hold on to your hat) *compiler* :-) Like gcc. AC -- Pass-List -----> Block-List ----> Challenge-Response The key to taking control of your mailbox. Design Parameters: http://tinyurl.com/2t5kp http://tinyurl.com/3c3ag Challenge-Response links -- http://tinyurl.com/yrfjb |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alan Connor wrote: | | Compiling is the process of turning C code into assembler instructions. Are you a complete imbecile or do you really believe that C is the only high level programming language that can be compiled ? Never mind, I just saw the posters name and it answered my question. Bye now PLONK Billy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQD1AwUBQIW/oG2aRmqinBtGAQI+1AcAjeCB3f3AIW0B8+XI7goC6T6hVUdszM SN YG2Uu8khvHSVbsmNNOicDAtYxE/LOAdY5fTbgrqpmGAQ5YHz6fQ/hH5I7ciWHSkZ H/s5krkjSPvOAMsh0greG2+0eAEF/GqrKnWIEiXkwi8b+o3iDji1w5jd26UncrGw EuZSXDnljkme5re3k3BB5pMqIcAljzug++fYLwY+NZOsSdVkG9 9nYqPzHSHFdC2B bM/ck3nDTm/cRgpBpsQP+k9Jv8TCzaY9f/ReOxO47skzR7Gh8Kk6+4A5FiMTRa+Z nsHlMq2pZIM= =pCGu -----END PGP SIGNATURE----- |
| |||
| On 2004-04-21, Alan Connor <zzzzzz@xxx.yyy> wrote: > On Wed, 21 Apr 2004 09:31:45 +1000, Steve Youngs <steve@youngs.au.com> wrote: >> >> >> * joe <joe@aol.com> writes: >> >> > i am curious to know what this term really means in linux. >> >> Google is your friend... >> >> http://www.google.com/search?q=define%3Acompile >> >> >> -- >> |---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---| >> | Ashes to ashes, dust to dust. | >> | The proof of the pudding, is under the crust. | >> |----------------------------------<steve@youngs.au.com>---| > > And YOU obviously aren't. > > http://slackware.asshole.net/gradeA.html > > > ------------------------------------------------------------------ > > > Compiling is the process of turning C code into assembler instructions. I think a more correct term is turning any code into machine language. > Assembler instructions are the program code that your 80?86/SPARC/RS6000CPU > understands directly. As far as i know, no cpu can handle assembly, it is just a intermediate stage before machine instructions wich a cpu can handle. - Roar |
| |||
| joe@aol.com wrote: > i am curious to know what this term really means in linux. > could someone explain it without being too technical? Compiling is the process of translating codes written in a higher level language[1] to binary instructions which cpu would understand and could use to do something[2]. In Linux and open source we use gcc[3] to do this. Basically you have: Binary codes(programs) | | kernel | Hardware You would compile higher level programs[1] into binary code. Binary code communicates with kernel. Kernel tells the hardware to do something[2] Binary code sits on top of (and communicates with) kernel which sits on top (and communicates with) hardware which does something[2]. [1] Higher level languages are like c, c++, java, basic, FORTRAN, cobol, etc. The syntax of these languages are much closer to everyday English and instructions are much easier for humans to write but are *NOT* understandable by CPU, by computer hardware. They have been invented to make programming easier for humans. [2] play an mp3 or add some text to a text file. [3]stands for GNU C Compiler; program for compiling codes. In a console type: "ls /var/log/packages/gcc* to see all modules of your gcc compiler. Also; It is also not necessary to do "untar", "configure" and "make" as root and is recommanded NOT to do so. You only need root for "make install". |
| |||
| joe@aol.com wrote: > i am curious to know what this term really means in linux. > could someone explain it without being too technical? > does it just mean to change it? > i know i had to download a modem driver file, untar > make clean, make ham, make install as root, and the modem worked. > i hope it will in slack 9.1 by the way. is that called compiling? > or do you do something to totally modify the original kernel? > thanks from a newbie, that is used to a dos command line, just not > linux jargon. The word often gets used in a sloppy way. Technically, it's building assembly code from source code (like C source, for example, the .c and .h files you can open in a text editor and read). Trouble is, folks often use the word "compile" when they mean *build*, i.e. to turn source code into a binary executable. Really, to turn C source code into a binary, the "compiler": - preprocesses the source code - compiles it into assembly - assembles it into binary object files - then links those objects with other crucial system object files so you end up with what most folks call "binaries". "make" is the program that automates all those steps for all the myriad source code files in a given project (e.g. Linux). |
| |||
| * Alan Connor <zzzzzz@xxx.yyy> writes: > On Wed, 21 Apr 2004 09:31:45 +1000, Steve Youngs <steve@youngs.au.com> wrote: >> >> >> * joe <joe@aol.com> writes: >> >> > i am curious to know what this term really means in linux. >> >> Google is your friend... >> >> http://www.google.com/search?q=define%3Acompile > And YOU obviously aren't. Inciting a desire to learn is one of the greatest gifts you can give another person. When my children (who aren't quite reading age yet) start coming to me with "Daddy, what does this word mean?" type of questions, what should I do? a) Just tell them the answer. b) Point them to a dictionary suitable for their age and understanding and teach them how to use it. On the surface, `a' is easier. In reality, `b' is better. What I did for the OP was a combo special[tm], he got `a' & `b'. You couldn't ask for a sweeter deal. Or was I supposed to throw in a free set of steak knives as well? > http://slackware.asshole.net/gradeA.html I'm disappointed... $ host slackware.asshole.net Host slackware.asshole.net not found: 3(NXDOMAIN) > Compiling is the process of turning C code into assembler instructions. > Assembler instructions are the program code that your 80?86/SPARC/RS6000CPU > understands directly. Are you _really_ sure about that? Why this definition of compiling is misleading and wrong, is left as an exercise for the reader. -- |---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---| | Ashes to ashes, dust to dust. | | The proof of the pudding, is under the crust. | |----------------------------------<steve@youngs.au.com>---| |
| |||
| On Wed, 21 Apr 2004 11:30:39 +1000, Steve Youngs <steve@youngs.au.com> wrote: > > > * Alan Connor <zzzzzz@xxx.yyy> writes: > > > On Wed, 21 Apr 2004 09:31:45 +1000, Steve Youngs <steve@youngs.au.com> wrote: > >> > >> > >> * joe <joe@aol.com> writes: > >> > >> > i am curious to know what this term really means in linux. > >> > >> Google is your friend... > >> > >> http://www.google.com/search?q=define%3Acompile > > > And YOU obviously aren't. > > Inciting a desire to learn is one of the greatest gifts you can give > another person. When my children (who aren't quite reading age yet) > start coming to me with "Daddy, what does this word mean?" type of > questions, what should I do? > > a) Just tell them the answer. > > b) Point them to a dictionary suitable for their age and > understanding and teach them how to use it. > > On the surface, `a' is easier. > > In reality, `b' is better. > > What I did for the OP was a combo special[tm], he got `a' & `b'. You > couldn't ask for a sweeter deal. Or was I supposed to throw in a free > set of steak knives as well? > You are an arrogant prick. I feel sorry for your kid. When he's 15 he will kick your ass and leave home and never look back. There isn't anyone on the Usenet that doesn't know what google is and how to use it, so you are STUPID too. Almost every question that is asked on this group has an answer that could be found on google, yet you don't tell this to everyone, do you? So you have a screw or two loose also. > > http://slackware.asshole.net/gradeA.html > > I'm disappointed... > I don't give a fuck. > $ host slackware.asshole.net > Host slackware.asshole.net not found: 3(NXDOMAIN) > > > Compiling is the process of turning C code into assembler instructions. > > Assembler instructions are the program code that your 80?86/SPARC/RS6000CPU > > understands directly. > > Are you _really_ sure about that? Why this definition of compiling is > misleading and wrong, is left as an exercise for the reader. > You are anticipated, ASSHOLE. That is direct quote from one of Linux's Gurus, Paul Sheer, from http://rute.sourceforge.net. I am so fucking sick of pathetic twerps like you playing troll games on the Usenet. Another fucking loser throwing shit at people while he hides behind the Internet. But you are obviously stupid enough to use your real name, aren't you? I'm not. And I post through a shell account in Germany. Can't you tell? No you can't. You have no idea where I live....Maybe right down the block from you. Or maybe a friend or a friend of a friend does. Perhaps a relative. Perhaps I have friends that are truckers that go through or by your town on a regular basis.... Don't you ever wonder why creeps like you vanish from the Usenet with some regularity? Here's a clue: It involves ski masks and baseball bats. Are you a sports fan? AC |
| ||||
| On Wed, 21 Apr 2004 02:02:44 GMT, Alan Connor <zzzzzz@xxx.yyy> wrote: > http://www.icon.co.za/~psheer/book/n...00000000000000 AC |