Hi Herbert,

Thanks! I can build vserver for ARM successfully with your approach, but how
to use "make install" to install those verser related files to corrosponding
directory in rootfs?
For example, my rootfs is under /work/rootfs/opie, how can I install vserver
to this directory? Actually I want to use a binary make for ARM to run "make
install" on the phone, but I failed to get the ARM version make. Any ideas?

Thanks,
Wenbin

On 3/13/07, Herbert Poetzl <[EMAIL PROTECTED]> wrote:

On Tue, Mar 13, 2007 at 01:45:56AM -0400, Wenbin Zhang wrote:
> Hi Herbert,
>
> Now I merged Vserver code and OpenEZX code, and compile the kernel with
> vserver code successfully. However, according to
> http://linux-vserver.org/Installation_on_Linux_2.6
> ,
> we still need compile util-vserver, which is user land tool for
> vserver. I download the util-vserver code, want to cross-compile it
> with arm-linux-gcc. But I tried below command:
> # ./configure --target=arm-linux --prefix=/
>
> I expect to generate a ARM version Makefile. However, the generated
> Makefile is still for x86 gcc version. What's wrong with my process?
> Any ideas?

if you have a proper cross compile toolchain (if not,
you can get one from me), try the following:

export ARCH=arm
export CC=arm-linux-gcc
export CPP=arm-linux-cpp
export CXX=arm-linux-c++
export DIET=arm-linux-diet

then do:

./configure --prefix=

and

make

if your toolchain is working correctly, that should
build you a proper util-vserver toolset for arm

note that you might have to comment out the warning
line in the alternative syscall implementation like
this:

// #warning syscall arch arm not tested yet

best,
Herbert

> Thank you,
> Wenbin

_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to