I'm trying to compile a program that there is -ll
flag but gcc can't find. What is the l
after -l
really a library or is this a typo? is hard find information about this on google.Such term is "vague".
Turning on optimization flags makes the compiler attempt to improve the performance and/or code size at the expense of compilation time and possibly the ability to debug the program. The compiler performs optimization based on the knowledge it has of the program.
Compiler flags are options you give to gcc when it compiles a file or set of files. You may provide these directly on the command line, or your development tools may generate them when they invoke gcc. This section describes just the flags that are specific to Objective-C.
'f' stands for 'flag'. -fpic # flag to set position independent code -fno-builtin # don't recognize build in functions ... The technical definition is that 'f' defines "Control the interface conventions used in code generation".
gcc -Wall enables all compiler's warning messages. This option should always be used, in order to generate better code.
-ll
means to link against Solaris's libl lex library (available in /usr/lib/libl.so
).
(The -l
option takes the name of the library, minus the lib
prefix and the file extension.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With