Portál AbcLinuxu, 6. listopadu 2025 05:43
man gcc
-I dir
Add the directory dir to the list of directories to be searched for
header files. Directories named by -I are searched before the
standard system include directories.
It is dangerous to specify a standard system include directory in
an -I option. This defeats the special treatment of system headers
. It can also defeat the repairs to buggy system headers which GCC
makes when it is installed.
Případně pokud používáme makefile tak v tom souboru najdeme
proměnnou v které je zadán překladač, většinou CC a tam mu ten parametr dopíšeme, nebo tam najdeme kde hledá ty .h a dopíšeme cestu a pod....
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.