What’s the difference between -rpath and -L?

You must be reading some outdated copies of the manpages (emphasis added): -rpath=dir       Add a directory to the runtime library search path. This is used       when linking an ELF executable with shared objects. All -rpath       arguments are concatenated and passed to the runtime linker, which       uses them to locate shared objects at runtime. vs. -L … Read more

What is the difference between `-fpic` and `-fPIC` gcc parameters?

http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html Use `-fPIC` or `-fpic` to generate position independent code. Whether to use `-fPIC` or `-fpic` to generate position independent code is target-dependent. The `-fPIC` choice always works, but may produce larger code than `-fpic` (mnemonic to remember this is that PIC is in a larger case, so it may produce larger amounts of code). … Read more

What is the difference between gcc -ggdb and gcc -g

-g and -ggdb are similar with some slight differences, I read this here: -g produces debugging information in the OS¹s native format (stabs, COFF, XCOFF, or DWARF 2). -ggdb produces debugging information specifically intended for gdb. -ggdb3 produces extra debugging information, for example: including macro definitions. -ggdb by itself without specifying the level defaults to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)