Hello Rick,
>When the dylib versions of these are built, they link against
>CoreFoundation and IOKit. Since you are using the .a versions, you
>need to include the linking against those frameworks. You need to
>pass "-framework CoreFoundation -framework IOKit" to the link line.
It is now woking with your hint and the normal configure. But the CMake
had still the problem not finding the static libs.
In the moment 1:0 for the configure way, my configure looks now:
CFLAGS="-I/opt/local/libftdi-0.15/include -I/opt/local/libusb-0.1.12/include
" \
LDFLAGS="-L/opt/local/libftdi-0.15/lib -L/opt/local/libusb-0.1.12/lib \
-framework CoreFoundation -framework IOKit" \
./configure --enable-ft2232_libftdi --with-ftd2xx-lib=static
The CMake is working with adding "-framework CoreFoundation -framework
IOKit"
too. But here the problem still exist to detect the libraries. Here I must
ust the following fix too:
set(CONDITIONAL_LIBS "/opt/local/libftdi-0.15/lib/libftdi.a"
${CONDITIONAL_LIBS})
Best regards,
Michael
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development