[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems compiling on Archlinux 64

From: Giorgos Keramidas
Subject: Re: Problems compiling on Archlinux 64
Date: Wed, 22 Nov 2006 13:53:29 +0200

On 2006-11-22 10:29, Michael Fellinger <address@hidden> wrote:
>On Wednesday 22 November 2006 03:31, Chong Yidong wrote:
>>Michael Fellinger <address@hidden> writes:
>>> make[2]: *** No rule to make target `/usr/lib64/crt1.o', needed by
>>> `temacs'. Stop.
>>> make[2]: Leaving directory
>>> `/home/manveru/pkgbuilds/emacs-cvs/src/emacs/src' make[1]: ***
>>> [bootstrap-build] Error 2
>>> make[1]: Leaving directory `/home/manveru/pkgbuilds/emacs-cvs/src/emacs'
>>> make: *** [bootstrap] Error 2
>>> I was told that this directory (/usr/lib64) does not exist since
>>> Archlinux follows the LFS and Archlinux64 the CLFS standards. The same
>>> seems to be the case for FreeBSD.
>> Do other amdx86-64 distributions use /usr/lib64?  If so, how do we
>> distinguish between the two cases?
> Well, the simplest way i could come up with is to look if such a
> folder exists at all simply doing this check after looking up `arch`
> returns a 64bit-system.

Well, yes... and no.  I wouldn't like this change for 64-bit FreeBSD
systems, for example (for the reason you explained below in:

> As far as i know quite some distributions use /usr/lib64 to use both
> 64bit and 32bit (in /usr/lib) libraries. However, distributions who do
> not support 32bit libs at all only use /usr/lib this is the case (only
> as far as i know) for FreeBSD (sorry guys, of course it's _no_
> distribution ;) [...]

Is there some way to uniquely identify Archlinux?

This could be even something like:

    iff we are on a linux system and...
    iff this is a 64-bit system and...
    iff file /etc/archlinux-release exists then...
        handle /usr/lib64 in a special manner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]