Re: Re: Ogle on x86-64 build fix

H}kan Hjort <[email protected]> Fri, 10 Dec 2004 18:18:48 +0100
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Thu Dec 09 2004, sean wrote:
> Just built ogle_gui cvs on x86_64. There are a bunch of  lib -> lib64 
> changes needed in configure.in. otherwise it won't find your installed 
> 64bit ogle - it's in lib64 - or dvdcontrol - ditto.
> 
> Other than that, it built just fine.
> 
I'm not sure how other applications deal with this, my personal oppinion
is that the whole system is just broken. Libraries are installed in
 /lib subdirectories, not /lib64.  
Had -m64 been passed to the compiler/linker then I could possibly
understand why, but again I think it would be haveen better handled by
the compiler or linker.  If the linker knows thatfrom the ELF heades
what is a 32 respective 64 bit version why does it need to be told in
the first place.
There is already support for (non-)threaded, (no-)cmov etc versions
of .so files.  Perhaps there this is an easier issue though...

That a side, I'd appreciate tips on how this is solved in other 
configure.in/ac files.

The lib vs lib64 isn't really based on host os but rather if gcc/ld
defaults to (or has been given extra flags) to produce 32- or 64-bit
code.

www.gnu.org seems to be down, so I can't even checked what if anything
the autoconf guys have to say on this.

-- 
HÃ¥kan Hjort