Hello! I have checked the issue with src/helper/command.c and I have one comment - for my command.c file the #elif mentioned by Steve Franks is located at line 1313..1332 (maybe I have other rc1 or file that was generated for me looks a bit different) - to be specific it is about this part of the code:
#if defined(_MSC_VER) /* WinXX - is generic, the forward * looking problem is this: * * "win32" or "win64" * * "winxx" is generic. */ HostOs = "winxx"; #elif defined(__linux__) HostOs = "linux"; #elif defined(__DARWIN__) HostOs = "darwin"; #elif defined(__CYGWIN__) HostOs = "cygwin"; #elif defined(__MINGW32__) HostOs = "mingw32"; #elif defined(__ECOS) HostOs = "ecos"; #elif defined(__FreeBSD__) HostOs = "FreeBSD"; #else #warn unrecognized host OS... HostOs = "other"; #endif Above I have already added new line definig new OS (neither "linux" nor "darwin" as it was proposed, but "FreeBSD" itself): #elif defined(__FreeBSD__) HostOs = "FreeBSD"; and OpenOCD-0.4.0-rc1 compiles fine with default configure run on FreeBSD 8.0-RELEASE. Steve, Robert thank you for support on FreeBSD! I am a bit overloaded with work at job and the university, so I did not have enough time to do it before. I did not add 0.3.0 to the port tree as it had too many issues, so I considered it would be better to stay with older but more stable release and wait for a 0.4.0. Happily 0.4.0 will be out in a few days and it will go straight to the port tree :-) Currently I have some project to be done within a days with a STM32 device, and I got brand new Amontec JTAGkey-2P (v5.3 FT2232HQ based) so I will report how it is working under FreeBSD 8.0 OS. Best regards, Tomek Cedro -- CeDeROM, http://www.tomek.cedro.info _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development