rongz
asked on
where to find the header file
Hi,
Some header file are included as ,for example #include<openssl/ssl.h>. What is the path to locate this header file? And what's difference than using <ssl.h> or "pathname/ssl.h"?
what does the following flag variable defined in a Makefile mean?
CFLAGS= -g -I../../include
Thanks.
Some header file are included as ,for example #include<openssl/ssl.h>. What is the path to locate this header file? And what's difference than using <ssl.h> or "pathname/ssl.h"?
what does the following flag variable defined in a Makefile mean?
CFLAGS= -g -I../../include
Thanks.
-g is the debug option. I don't know where you got the idea that it's to pass the flag on to a subprocess.
Gary
Gary
> -g is the debug option. I don't know where you got the idea that it's to pass the flag on to a subprocess.
Sorry, I managed to nuke some text and my train of thought, when a delivery came in. We've got a postal strike in the UK... and deliveries are something of an event. GaryFx is right: -g does indeed get you debug.
Sorry, I managed to nuke some text and my train of thought, when a delivery came in. We've got a postal strike in the UK... and deliveries are something of an event. GaryFx is right: -g does indeed get you debug.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The flag -g says to pass the next option onto a subprocess. Thus gcc gets the following flag.
The flag -I../../include says to treat ../../include as a location for system headers, which takes priority. Directories named by -I are searched before the standard system include directories.