nanogui: Error during compilation for sh4 target file system


Previous by date: 10 May 2007 08:31:21 +0100 Re: free bdf fonts?, Greg Haerr
Next by date: 10 May 2007 08:31:21 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr
Previous in thread:
Next in thread: 10 May 2007 08:31:21 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr

Subject: Error during compilation for sh4 target file system
From: Hou Xiang ZHU ####@####.####
Date: 10 May 2007 08:31:21 +0100
Message-Id: <4642C9AA.1090001@st.com>

Hi,

I downloaded "microwindows-full-0.91.tar.gz", and on my FC6 host PC, I
can compile it and run demo tests under X.(after a little trouble for
compiling freetype). I use Configs/config.x11 as config file.

Now I am trying to compile it to run on my target box which is a linux
Set-Top-Box,here is what I have done:

1. I use Configs/config.fb3 as config file
2. I modified config file for "ARCH = LINUX_SH","SHTOOLSPREFIX = sh4-linux-"
3. I also modified the include path and lib path in config file, such as
change "/usr/include" to "$(TARGETFS)/usr/include", etc, where
$TARGETFS= /opt/STM/target22_coco is my target filessystem path.

but when I try to make , the following error occured! where am I wrong?
i.e how can I compile it for sh4 target box?

---------------------------
[zhuhx@zhu_fedora src]$ make
Compiling drivers/obsolete.c ...
cc1: error: command line option ‘-m1’ is not supported by this configuration
cc1: error: command line option ‘-m3’ is not supported by this configuration
make[1]: ***
[/home/zhuhx/microwindows/microwindows-0.91_sh4/src/obj/drivers/obsolete.o]
Error 1
make: ***
[subdir-/home/zhuhx/microwindows/microwindows-0.91_sh4/src/drivers] Error 2
[zhuhx@zhu_fedora src]$
----------------------------

Thanks,
Houxiang

-- 
HES System Competence Centre
Beijing Office, STMicroelectronics(Shanghai) Co.,Ltd.
Tel. 010-59846146  Fax: 010-62800864 Tina: 092-8888-6146
####@####.####


Previous by date: 10 May 2007 08:31:21 +0100 Re: free bdf fonts?, Greg Haerr
Next by date: 10 May 2007 08:31:21 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr
Previous in thread:
Next in thread: 10 May 2007 08:31:21 +0100 Re: Error during compilation for sh4 target file system, Greg Haerr


Powered by ezmlm-browse 0.20.