From: Doug Sutherland (wearable_at_earthlink.net)
Date: 2002-03-01 11:14:24
Guys,
Some new results ...
1) Dave, I tried running your bwview binary, but it fails on my system
because it's looking for glibc version 2.2 and I'm using version
2.1.3. I really don't want to mess around changing gcc or glibc
because I have been burned badly chasing newer revs of these in
the past. Also, I think it's better if we test on different gcc
and glibc etc. I'm using gcc 2.91.66 glibc 2.1.3 kernel 2.2.16
XFree86 3.3.6 (unmodified slackware 7.1).
2) I tried making FFTW into a shared library using --enable-shared
option in ./configure. This created both .a and .so versions in
my /usr/local/lib. My bwview binary reduced in size from 477k
to 67k. The first run failed not finding the shared library
for FFTW. Running ldconfig fixed that problem. It runs fine.
3) I built FFTW without the --enable-i386-hacks because the FAQ
says its for better performance in double precision transforms,
and we are doing single with the --enable-float option. It runs
fine. I built FFTW like this:
make clean
./configure --enable-shared --enable-float
make
make install
make check
4) On my system, the libraries for both SDL and FFTW install to
/usr/local/lib by default. I like it this way, I prefer all
non-distribution stuff to be in /usr/local so it's very clear
what was the OS distribution and what I added. I put all add-on
software in /usr/local, and every package I've tried that uses
"make install" puts stuff in /usr/local (including bin, lib,
src, man, etc). This seems to be pretty standard among unix
admin types. I noticed that Jim's make file has the SDLLIB
set to /usr/lib, I changed mine to /usr/local/lib.
5) As I mentioned before, my initial attempt at compilation of
bwview failed because it could not find libXv. This is listed
in Jim's make (mk) file as -lXv. Investigation into this
revealed that libXv is for XVideo hardware acceleration. I
don't have hardware acceleration so I took out the -lXv from
the mk file and it worked.
Now on to Windows, God help me ... <g>
Namaste, Doug
This archive was generated by hypermail 2.1.4 : 2002-07-27 12:28:39 BST