Joseph North wrote:
Dear Jon:
Thanks a lot, ~ "gcc -m32 . . " worked!
However, then, I got,
/usr/bin/ld: skipping incompatible ../../libastro/libastro.a when
searching for -lastro
/usr/bin/ld: cannot find -lastro
A search via Google for 'libastro.a' told this library being a part of
the "XEphem" you mentioned,
so the library you have maybe was made as 64-bit... The 'file',
'objdump -p' etc commands would
tell what this is...
I don't know anything about "Xephem", so if producing this library was
one part of the Xephem build
process, then that '-m32' for some reason was not transferred to its
compile and then you should check
why the library was made as a 64-bit one...
Maybe a :
CC="gcc -m32" ; export CC
would be required in the environment in order to get a 32-bit library....