This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compiler erros with cygwin
- To: james chen <james_ch1 at sina dot com>
- Subject: Re: [ECOS]Compiler erros with cygwin
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 06 Feb 2001 13:23:34 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <000701c08fe5$f2610060$c408aa0a@inc.inventec>
james chen wrote:
>
> I use configuration tool to configure a target of 'Linux synthetic target',
> when I compiler it, it occurs the following message, any one can help me to
> resolve it? I run configuration tool and cygwin in windows98. I also try
> three versions of gcc( 2.95-2, 2.95-6, 2.95-7) in cygwin, and the result
> same.
This is potentially because you are trying to generate linux native
executables using a cygwin native compiler! You need to build a
cygwin->linux cross compiler. I believe
http://sources.redhat.com/ecos/tools/win-i386-elf.html should build a
compiler you can use, although you may need to change the
CYGBLD_GLOBAL_PREFIX CDL variable.
Jifl
> Thanks
>
> james chen
>
> =======================================================================
> ......
> headers finished
>
> ////////////////////
>
> make -r -C hal/common/v1_3_1 build
> make[1]: Entering directory `/test/test/test_build/hal/common/v1_3_1'
> make[1]: Nothing to be done for `build'.
> make[1]: Leaving directory `/test/test/test_build/hal/common/v1_3_1'
> make -r -C io/common/v1_3_1 build
> make[1]: Entering directory `/test/test/test_build/io/common/v1_3_1'
> gcc -c -I//I/ecos_current/test/test_install/include -I//D/PROGRA~1/REDHAT~1
> /eCos/packages/io/common/v1_3_1 -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/com
> mon/v1_3_1/src -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/tests
> -I. -I//D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ -Wall -Wpoin
> ter-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -
> ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -fi
> nit-priority -Wp,-MD,src/ioinit.tmp -o src/io_common_ioinit.o
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:0:
> warning: -ffunction-sections may affect debugging on some targets.
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
> Internal compiler error.
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
> Please submit a full bug report.
> file://D/PROGRA~1/REDHAT~1/eCos/packages/io/common/v1_3_1/src/ioinit.cxx:60:
> See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
> instructions.
> make[1]: *** [src/ioinit.o.d] Error 1
> make[1]: Leaving directory `/test/test/test_build/io/common/v1_3_1'
> make: *** [build] Error 2
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine