From: Richard C. <rd_...@sb...> - 2003-12-17 20:37:07
|
It turns out the headers issue (no NAN defined) was a false alarm...the= FreeBSD gcc ports package didn't install the latest headers. I moved over= to FreeBSD 5.1 (with a proper GCC 3.2.2 toolchain) and it's all compiling. However, it's not linking properly -- buttonmessage_src/realmake lacks a= libraries definition for POSIX (just one for LINUX). When I duplicated the= LINUX line, I had to remove the reference to "png" (not in standard BSD)= and the reference to "pthread" wasn't found. Here's what the man page has= to say: "The current FreeBSD POSIX thread implementation is built in the library libc_r which contains both thread-safe libc functions and the thread functions. This library replaces libc for threaded applications." You can get the same effect by specifying the -pthread option to GCC, as= some other *BSD versions did, though I think everyone else is past that= now. So, what are your thoughts on this? Where should the FreeBSD threading/build= options go? (Or is it time to grag in GNU Autoconf?) ...Richard |