define include directory path (for *.h) CentOS
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I was reading these questions https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux
https://unix.stackexchange.com/a/45106/235247
I'm compiling gmp
./configure --prefix=/usr/local/Custom/gmp
and installing producing three folders.
include
, lib
and share
In the case, bin
export PATH=$PATH:/usr/local/Custom/SOMEPROGRAM/bin
The lib
folder can be added using
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Custom/gmp/lib
My question, Is there some PATH_VARIABLE
for include
different folders (with *.h
files)?
export PATH_VARIABLE=$PATH_VARIABLE:/usr/local/Custom/gmp/include
centos environment-variables path libraries
add a comment |Â
up vote
1
down vote
favorite
I was reading these questions https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux
https://unix.stackexchange.com/a/45106/235247
I'm compiling gmp
./configure --prefix=/usr/local/Custom/gmp
and installing producing three folders.
include
, lib
and share
In the case, bin
export PATH=$PATH:/usr/local/Custom/SOMEPROGRAM/bin
The lib
folder can be added using
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Custom/gmp/lib
My question, Is there some PATH_VARIABLE
for include
different folders (with *.h
files)?
export PATH_VARIABLE=$PATH_VARIABLE:/usr/local/Custom/gmp/include
centos environment-variables path libraries
1
stackoverflow.com/questions/558803/â¦
â Chepe Questn
Dec 6 '17 at 1:16
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I was reading these questions https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux
https://unix.stackexchange.com/a/45106/235247
I'm compiling gmp
./configure --prefix=/usr/local/Custom/gmp
and installing producing three folders.
include
, lib
and share
In the case, bin
export PATH=$PATH:/usr/local/Custom/SOMEPROGRAM/bin
The lib
folder can be added using
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Custom/gmp/lib
My question, Is there some PATH_VARIABLE
for include
different folders (with *.h
files)?
export PATH_VARIABLE=$PATH_VARIABLE:/usr/local/Custom/gmp/include
centos environment-variables path libraries
I was reading these questions https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux
https://unix.stackexchange.com/a/45106/235247
I'm compiling gmp
./configure --prefix=/usr/local/Custom/gmp
and installing producing three folders.
include
, lib
and share
In the case, bin
export PATH=$PATH:/usr/local/Custom/SOMEPROGRAM/bin
The lib
folder can be added using
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Custom/gmp/lib
My question, Is there some PATH_VARIABLE
for include
different folders (with *.h
files)?
export PATH_VARIABLE=$PATH_VARIABLE:/usr/local/Custom/gmp/include
centos environment-variables path libraries
asked Dec 6 '17 at 0:08
Chepe Questn
336
336
1
stackoverflow.com/questions/558803/â¦
â Chepe Questn
Dec 6 '17 at 1:16
add a comment |Â
1
stackoverflow.com/questions/558803/â¦
â Chepe Questn
Dec 6 '17 at 1:16
1
1
stackoverflow.com/questions/558803/â¦
â Chepe Questn
Dec 6 '17 at 1:16
stackoverflow.com/questions/558803/â¦
â Chepe Questn
Dec 6 '17 at 1:16
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Set C_INCLUDE_PATH
for C header files or CPLUS_INCLUDE_PATH
for C++ header files or CPATH
for both
There's more info here, or read man gcc
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Set C_INCLUDE_PATH
for C header files or CPLUS_INCLUDE_PATH
for C++ header files or CPATH
for both
There's more info here, or read man gcc
add a comment |Â
up vote
2
down vote
accepted
Set C_INCLUDE_PATH
for C header files or CPLUS_INCLUDE_PATH
for C++ header files or CPATH
for both
There's more info here, or read man gcc
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Set C_INCLUDE_PATH
for C header files or CPLUS_INCLUDE_PATH
for C++ header files or CPATH
for both
There's more info here, or read man gcc
Set C_INCLUDE_PATH
for C header files or CPLUS_INCLUDE_PATH
for C++ header files or CPATH
for both
There's more info here, or read man gcc
answered Dec 6 '17 at 0:18
PiedPiper
591210
591210
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f409061%2fdefine-include-directory-path-for-h-centos%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
stackoverflow.com/questions/558803/â¦
â Chepe Questn
Dec 6 '17 at 1:16