[OpenAFS-devel] pam_afs.so in 64 bit version for sparcv9?
Derrick J Brashear
shadow@dementia.org
Sun, 22 Jul 2001 18:20:40 -0400 (EDT)
On Sun, 22 Jul 2001, Charles Clancy wrote:
> If you just run './configure; make', it won't do 64-bit. It only
> includes '-xarch=v9' when compiling the kernel module, apparently.
>
> I tried a couple of things. First, I ran a make, and then went back and
> added the '-xarch=v9' to src/pam/Makefile's CCFLAGS, and tried to just
> recompile PAM. It wouldn't link, because many of the other libraries it
> was linking against were all compiled 32-bit.
Right.
> Second, I tried adding '-xarch=v9' to the XCFLAGS line of
> src/config/Makefile.sun4x_58, to compile EVERYTHING as 64-bit. That
> didn't work either:
Right, you only want to do that for libraries, not for binaries.
-D