LD_LIBRARY_PATH vs LIBRARY_PATH
I’m building a simple C++ program and I want to temporarily substitute a system supplied shared library with a more recent version of … Read more
I’m building a simple C++ program and I want to temporarily substitute a system supplied shared library with a more recent version of … Read more
I’m compiling my C++ app using GCC 4.3. Instead of manually selecting the optimization flags I’m using -march=native, which in theory should add … Read more
I want to run ‘make install’ so I have everything I need, but I’d like it to install the things in their own … Read more
I understand gcc’s –ffast-math flag can greatly increase speed for float ops, and goes outside of IEEE standards, but I can’t seem to … Read more
I am trying to compile Android source code under Ubuntu 10.04. I get an error saying, /usr/bin/ld: cannot find -lz Can you please … Read more
I know I can generate debug symbol using -g option. However the symbol is embeded in the target file. Could gcc generate debug … Read more
I’m trying to create a hello world project for Linux dynamic libraries (.so files). So I have a file hello.c: #include <stdio.h> void … Read more
On a Unix system, where does gcc look for header files? I spent a little time this morning looking for some system header … Read more
In errno.h, this variable is declared as extern int errno; so my question is, is it safe to check errno value after some … Read more
My linux (SLES-8) server currently has glibc-2.2.5-235, but I have a program which won’t work on this version and requires glibc-2.3.3. Is it … Read more