chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Apply the same naming scheme for .so libs


From: Christian Kellermann
Subject: Re: [Chicken-hackers] [PATCH] Apply the same naming scheme for .so libs in "libs" target
Date: Thu, 7 Feb 2013 12:58:23 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

* felix winkelmann <address@hidden> [130204 21:29]:
> >> I'm not sure about this. I know that the current behaviour is not
> >> fully correct, but I repeatedly had problems the other way round, I
> >> think mostly in the situation when I ran freshly built binaries in the
> >> current build-directory, without installation (this may sound
> >> peculiar, but I need this for testing).
> > 
> > Are you runnning make libs install-dev then? I always wondered what
> > the usage of these targets is...  The patch should not affect the
> > "usual" make targets at all. At least as I read it atm...
> 
> I'm often not installing, especially when I test the compiler.
> For running "make check", I usually install with PREFIX=$PWD.

Ok, let me describe what I am doing instead. I want to build a
cross-chicken for the host, so I follow the instructions at
http://api.call-cc.org/doc/chicken/cross-development and run the
make call like this (on a 64bit linux x86 machine):

make ARCH=\
     PREFIX=/usr\
     PLATFORM=linux\
     HOSTSYSTEM=mipsel-openwrt-linux-uclibc\
     DESTDIR=$HOME/src/nanonote/cross-chicken\
     TARGET_FEATURE="-no-feature x86 -feature mips"\
     libs install-dev

It builds fine, but the cross-chicken tree is broken:

cross-chicken
`-- usr
    |-- include
    |   `-- chicken
    |       |-- chicken-config.h
    |       `-- chicken.h
    |-- lib
    |   |-- chicken
    |   |   `-- 7
    |   |       `-- types.db
    |   |-- libchicken.a
    |   `-- libchicken.so -> libchicken.so.7
    `-- share
        `-- chicken

As you can see the libchicken.so.7 is missing. I don't know how
this worked in the past, the lines doing the install have been there
untouched since the import from svn...

Am I doing this The Right Way ("Is this side up?")?

Thanks,

Christian


-- 
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu



reply via email to

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