[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linrad] 32 or 64 bit
- Subject: Re: [Linrad] 32 or 64 bit
- From: Pierre Vanhoucke <skynet.be; pierre.vanhoucke@xxxxxxxxxxxxxxxx>
- Date: Mon, 02 Nov 2009 00:48:18 +0100
Hi Leif,
Does that help?
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1257119123909+28353475&threadId=1193870
73, Pierre
On Sun, 2009-11-01 at 21:57 +0100, Leif Asbrink wrote:
> Hi All,
>
> Under Linux the Linrad configure script looks for various files
> to decide which packages are installed. This works for 32 bit
> versions of Linux, but when Linrad is compiled on a 64 bit
> distribution the test for things like libXext.so which is done
> like below may give a false positive.
>
> LIBEXT=0
> AC_CHECK_FILE( /emul/ia32-linux/usr/lib/libXext.so, LIBEXT="1")
> AC_CHECK_FILE( /usr/lib/libXext.so, LIBEXT="1")
> AC_CHECK_FILE( [libXext.so], LIBEXT="1")
> AC_CHECK_FILE( /usr/lib32/libXext.so, LIBEXT="1")
> AC_CHECK_FILE( /usr/PCBSD/local/lib/libXext.so, LIBEXT="1")
>
> The second and/or third test would give a false positive if
> the 64 bit version is installed but not the 32 bit version
> when running on a 64 bit distribution. Less likely, but possibly
> there could be a false positive when the 64 bit library is
> installed but not the 32 bit one on a 32 bit system.
> As a consequence of a false positive the make command would
> try to link with libXext and it would fail if there is no
> 32 bit library present.
>
> The next version of Linrad will have an interface to Portaudio
> which will allow Jack to interface to other softwares - but it
> would have to be 32 bit portaudio. I desperately need a way
> for the configure script to search for the presence of 32 bit
> libraries only. One way could be to to do the test for
> [libXext] and /usr/lib/libXext only on 32 bit distributions.
> - but what command would tell if the system is 32 or 64 bit?
>
> Any hints?
>
> 73
>
> Leif / SM5BSZ
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "Linrad" group.
> To post to this group, send email to linrad@xxxxxxxxxxxxxxxx
> To unsubscribe from this group, send email to linrad+unsubscribe@xxxxxxxxxxxxxxxx
> For more options, visit this group at http://groups.google.com/group/linrad?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
LINRADDARNIL