Cross-compile konq-e to sh4-linux

Jason Hihn jhihn at lanexdvr.com
Thu Feb 26 20:55:35 CET 2004


That error message can come about because you're cross-compiling to sh4 and
testing if it executes on x86. It won't succeed. Are the CC and CXX below
environment variables?

Try --host=x86 --target=sh-4linux
You may also have to make a sh-4linux target. 

-J
Verint Systems Inc
 
 

-----Original Message-----
From: xycheng97 [mailto:xycheng97 at mails.tsinghua.edu.cn] 
Sent: Thursday, February 26, 2004 4:17 AM
To: konq-e at kde.org
Subject: Cross-compile konq-e to sh4-linux

Hi, all
I am trying to cross-compile konq-e to sh4-linux:
First, I install sh4-linux devkits on my PC. The OS on my PC is redhat9.0
with
maximum installation.

Second, I cross-compile qt-embedded-2.3.2 to sh4 successfully, and I can run
the
qt-e demo program on sh4 platform.

Then I begin to cross-compile konqueror-e with version snapshot-20030705:
"CC=sh4-linux-gcc
CXX=sh4-linux-g++, 
./configure --host=sh4-linux --disable-debug --enable-qt-embedded"

But problem appears, and below is the log:
"configure: WARNING: If you wanted to set the --build type, don't use
--host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... sh4-unknown-linux-gnu
checking target system type... sh4-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for sh4-linux-strip... sh4-linux-strip
checking for style of include used by make... GNU
checking for sh4-linux-gcc... sh4-liunx-gcc
checking for C compiler default output... configure: error: C compiler
cannot
create executables
See `config.log' for more details."

It seems that my c compiler is too old. 
But I think my c compiler is new enough to compile konq-e.
How can i solve this problem?
Would anybody help me?


_______________________________________________
konq-e mailing list
konq-e at kde.org
https://mail.kde.org/mailman/listinfo/konq-e



More information about the konq-e mailing list