Top "Linker-flags" questions

Linker flags are arguments passed to a linker to specify options, for instance to link the code with a certain library, etc

Appending to CMAKE_C_FLAGS

I'm using CMake for a project that comes in two versions, one of which requires -lglapi and the other does …

c++ c cmake compiler-flags linker-flags
Difference between pic Vs pie

I am looking the options for Binary Encryption Code generation and found two options available that are PIC and PIE. …

c++ c shared-libraries linker-flags
What are gcc linker map files used for?

What are the ".map" files generated by gcc/g++ linker option "-Map" used for ? And how to read them ?

gcc linker g++ linker-flags
CMAKE for /DEF and /NODEFAULTLIB

How do I add linker-flags "DEF" and "NODEFAULTLIB" to vs2012 project via CMAKE?

visual-studio-2012 cmake linker-flags
How to allow -z multidefs with g++47

How can I tell the linker of g++ to allow multiple definitions of symbols (choose the first appearance)? -z multidefs …

c++ linker g++ flags linker-flags
Setting LD_LIBRARY_PATH from inside R

I have installed an R package but, in order to load it via library, the LD_LIBRARY_PATH needs to …

r unix linker-flags
How to make CMake append linker flags instead of prepending them?

CMake seems to prepend linker flags at the front of a GCC compilation command, instead of appending it at the …

gcc linker cmake linker-flags
How to wrap functions with the `--wrap` option correctly?

The man page of gcc 6.3 says: --wrap=symbol Use a wrapper function for symbol. Any undefined reference to symbol will …

c++ c gcc gcc-warning linker-flags
Other Linker Flags missing in Xcode Build Settings

As the title reads, I go into my Build Settings for my app, and search for "Other Linker Flags", nothing …

ios objective-c xcode linker linker-flags
Xcode how to exclude FOLDERS from compilation?

I saw this and answers in stackO, but didn't find how to exclude folders. I have 3 folders with a lot …

xcode build compilation project linker-flags