Cross compiling the X server?
alexander.gottwald at s1999.tu-chemnitz.de
Wed Nov 24 11:12:55 PST 2004
On Wed, 24 Nov 2004, Kendall Bennett wrote:
> Alexander Gottwald <Alexander.Gottwald at s1999.tu-chemnitz.de> wrote:
> > compiling Xorg is quite simple
> > make World CROSSCOMPILEDIR=/usr/ppc-gnu-linux/bin
> > ...
> > If you still have questions feel free to contact me.
> I do have one question. Is it possible to build the X server and have the
> binary object files end up in a different directory like it is with most
> if the GNU tools? I presently build my X trees for x86 on my machine and
> I would like to be able to cross compile from the same tree but have the
> binaries be in a different directory
Not directly. But you could do the following
make World CROSSCOMPILEDIR=/usr/ppc-gnu-linux/bin
or to copy the files which are in CVS use this script
if test -z "$source" -o -z "$target"
echo "usage: $0 source target"
find "$source" -regex ".*\/CVS\/Entries" | \
while read entries
dirname=`echo $entries | sed 's=/CVS/Entries$=='`
$dummy mkdir -p "$target/$dirname"
sed -n 's/^\/\([^/]*\)\/.*/\1/p' <$entries | \
while read file
$dummy cp "$dirname/$file" "$target/$dirname/$file"
call it like
copycvs xc /path/to/xc-new
Alexander.Gottwald at s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
More information about the xorg