On 10/02/2010 09:35, Eric Louveau PSI wrote: > 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/ >
I normally do something like: ./configure --enable-maintainer-mode ... CFLAGS="-g -O0 ..." Cheers Spen _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
