Re: xfree86 4.5 cross compilation

Tim Roberts <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
zhanglei wrote:

> Make sure cc command in your $PATH directories !!!
>
> Marco Longhin wrote:
>
>> I'm cross compiling Xfree86 (4.5.0) with TinyX, but I haven't success!!
>> Is There anybody that have success with it?
>> Could you tell me how do it?
>> Do you know any documentation how to use it?
>>
>> this is my work...
>>
>> ...making imake with BOOTSTRAPCFLAGS= and 
>> CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="/home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin" 
>> in config/imake
>> cc -o ccimake 
>> -DCROSSCOMPILEDIR=\"/home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin\"  
>> -O -I../../include -I../../imports/x11/include/X11 ccimake.c
>> if [ -n 
>> "/home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin" 
>> ] ; then \
>> /home/lon/svil/main/sigma/smp86xx_toolchain/trunk/src/build_mipsel/staging_dir/bin/cc 
>> -E `./ccimake` \
>> -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
>> else touch imakemdep_cpp.h; fi
>> cc: No such file or directory
>

And, just in case it isn't clear, the "cc" in your path must be the 
NATIVE compiler, not the cross-compiler.  The build process has to build 
a couple of the tools that will be used later on.

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.