How to add C-Flag to configure script
I want to recompile a program with the D_FILE_OFFSET_BITS=64 C-Flag to get my program working with large files (>2GB)
I tried a "./configure D_FILE_OFFSET_BITS=64", but when I run make, I see all kinds of different flags (z.B D_REENTRANT ...) appended to the gcc commands that are called, but that one I have specified before when I called ./configure isn't anywhere...
Does somebody know how this will work?
P.S: As a looked now in the generated Makefile, there are also a call to g++ and not only gcc...
is it dangerous to add some C-Flags by hand into the Makefile ?
Do I also have to append my flag to the CXXFLAGS variable ? (I think this is used by g++ ??)
Last edited by merlin23; 01-13-2005 at 08:59 AM.