Including 3rd party library headers?

Sebastian Huber sebastian.huber at
Tue Jan 28 09:31:30 UTC 2014

On 2014-01-28 10:24, James Fitzsimons wrote:
> Is there a suggested way to include header files for third party libraries? At
> the moment I've had to resort to using the C_INCLUDE_PATH environment variable
> to get GCC to find the appropriate headers when building my application.

This question depends on your build system and the way you want to organize things.

You can install the libraries and header files in built-in GCC search locations 
or you can use the -I or -B option pointing to your libraries to add more 
search paths to GCC for example.

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

More information about the users mailing list