Hi,

OOCD version : openocd-0.4.0-rc1
Systems : LINUX and CENTOS

It seems that I'm unable to provide additional environment variables to 
the configure script in order to link with additional libraries.
Previously, with ocd_2.0, I was abble to provide variables such as 
LDFLAGS, LIBS and CPPFLAGS defining library to use, include directory 
and path.
With this version, I tried in both way, setting first environment 
variables in the terminal and next launching the configure script with 
option ,namely
EXPORT LDFLAGS=-L/path_to_my_lib/
EXPORT LIBS=-lmy_lib
EXPORT CPPFLAGS=-I/path_to_inlude/
./configure --enable-maintainer-mode --enable-dummy --enable-verbose

or using a single command
./configure --enable-maintainer-mode --enable-dummy --enable-verbose 
LDFLAGS=-L/path_to_my_lib/ LIBS=-lmy_lib CPPFLAGS=-I/path_to_inlude/

None of this way are working.
I succeed to compile my stuff overwriting the config.status file with 
the adding of my parameters to theses variables.

Do I miss something in the configure process?
Thanks for your support.

Eric.
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to