Egbert Eich: Thanks for your help, but I still have questions. After following your steps, I did that: export PATH=/usr/local/arm/2.95.3/bin:$PATH make World.log CROSSCOMPILEDIR=/usr/local/arm/2.95.3/bin then the config/imake/imake is actually builded on arm-linu-gcc, so I got the errors: ... ./config/imake/imake: ./config/imake/imake: cannot execute binary file ... what should I do? waiting for your help, thanks a lot. Hongda Zhao ----- Original Message ----- From: "Egbert Eich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 25, 2003 5:46 PM Subject: [XFree86] (no subject)
> 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 > _______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86