Subject: Re: [XFree86] CrossCompile XFree86 error?
In-Reply-To: [EMAIL PROTECTED] wrote on Wednesday, 25 June 2003 at 12:13:32 +0800 
References: <[EMAIL PROTECTED]>
X-Mailer: VM 7.07 under 21.4 (patch 12) "Portable Code" XEmacs Lucid
--text follows this line--
Zhao Hongda writes:
 > I'm trying to crosscompile the XFree 4.2.0, I copy the
 > xc/config/cf/xf86site.def to host.def, and add
 >     #define CrossCompiling   YES
 > to the begin of host.def, and I have modified cross.def to correct path.
 > what should I do ?
 > Because I need a full-function XF86Server, so I doesn't use the
 > KDriverXServer.

I don't think that will work.
I've implemented another way to do cross compiling:
You need to have the entire build tool chain for cross compiling
in one directory and under their normal names (ie if you use
gcc it needs to be called 'gcc' - not 'my-architecture-gcc').
If these don't already exist create links.
Assume this directory is called '/foo' then do:

make World CROSSCOMPILEDIR=/foo

This should get your cross compile going provided there exists
a configuration for your target system.

Egbert.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to