Pang wrote:
> I have port the embedded linux to the iPAQ H3850. I would like to
> build the xlib follow the
> http://www.handhelds.org/minihowto/building-x.html to do. However, I
> have some confuse in this site. The following shows what I confuse.
> #
> # This stuff is required for the Cross Compile Environment.
> #
> cd /skiff/local/bin
>
> for i in *; do
> if [ $i != ${i/arm-linux-/} ]; then
> ln -s $i ${i/arm-linux-/}
> fi
> done
>
> ln -s arm-linux-gcc cc
> I don't know where can I add this part. Can you tell me what should I
> do? Thanks!!
> Pang
Apparently the X build-system expects most/all tools to be prefixed with
the platform name, i.e. "arm-linux-", when building in a cross-compile
environment. The instructions for building X for iPAQ probably assume
that you use the cross-gcc toolchain for arm-target, which is provided
as a pre-built tarball from handhelds.org which you install under
"/skiff" (or, that you built your cross-toolchain from source as
instructed on handhelds.org).
So, you would execute the given commands, in the shell of your
cross-compile host, to make your toolchain agreeable for the X build system.
-GN
Received on Wed Nov 20 22:43:15 2002
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:40 EDT