View previous topic :: View next topic
|
Author |
Message |
sandy_mcs
New User
Joined: 01 Apr 2006 Posts: 17 Location: Pune
|
|
|
|
I want to know what is a "compiler option" and how one can use it in practice. |
|
Back to top |
|
|
Hanfur
Active User
Joined: 21 Jun 2006 Posts: 104
|
|
|
|
Your programme once finshed should be transalated to some thing which tha mchine understands(Assembly language).For this process we would go for compilation.
Coming to the compilation option there plenty in fact which would be changing(options) with System to System and with versions .
Compile options would be specifying the type of code which your compiling along with other info about running above line or below lines,Array bounderies checking required or not ,in addition to doing the syntax checking etc.
The Compilation steps creates object module which would be subsequently need to undergo a Link edit step to get the actual Load module. when I mean load module that is instruction that computers could understand.
By specifiying a programming language and for specific version you could get the different compiler options just by doing a Google..
-Han. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Well, let me put it in simple words.
Every program takes some parameters as input. These parameters might govern the way program does it processing.
Compiler after all is a program.
Compiler options are nothing but parameters being passed to the compiler ( in a way, input to the compiler) to advise/instruct the compiler as to How it should compile the program
There are various compiler option which differs from compiler to compiler, system to system |
|
Back to top |
|
|
|