From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31368 invoked by alias); 26 Jul 2005 09:41:30 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 31346 invoked by uid 22791); 26 Jul 2005 09:41:21 -0000 Received: from web30405.mail.mud.yahoo.com (HELO web30405.mail.mud.yahoo.com) (68.142.200.108) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Tue, 26 Jul 2005 09:41:21 +0000 Received: (qmail 75070 invoked by uid 60001); 26 Jul 2005 09:28:11 -0000 Message-ID: <20050726092811.75068.qmail@web30405.mail.mud.yahoo.com> Received: from [203.123.182.26] by web30405.mail.mud.yahoo.com via HTTP; Tue, 26 Jul 2005 10:28:11 BST Date: Tue, 26 Jul 2005 09:41:00 -0000 From: Harish Kulkarni To: ecos-discuss@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [ECOS] issue in building redboot while porting to leon X-SW-Source: 2005-07/txt/msg00264.txt.bz2 Hello Group, We are trying to port redboot on leon v8 processor based board. Is there any redboot patch for eCos on leon v8? We are as of now using the patch ( ment for NIOS based sparc v8) from the following link. http://emsys.denayer.wenk.be/empro/leon2-redboot.diff This patch uses sparc-rtems-gcc compiler, and we want to use sparc-elf-gcc compiler, after installing the patch of eCos 2.0 version, we were able to use ecosconfig and configtool to get to build environment, were after some changes we were able to compile using sparc-elf-gcc, but found following issues; make[1]: Entering directory `/tmp/leonredboot/infra/v2_0' sparc-elf-g++ -c -I/tmp/leonredboot/install/include -I/opt/ecos/ecos-2.0/packages/infra/v2_0 -I/opt/ecos/ecos-2.0/packages/infra/v2_0/src -I/opt/ecos/ecos-2.0/ packages/infra/v2_0/tests -I. -I/opt/ecos/ecos 2.0/packages/infra/v2_0/src/ -mso ft-float -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded -virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -f vtable-gc -Wp,-MD,src/diag.tmp -o src/infra_diag.o /opt/ecos/ecos-2.0/packages/ infra/v2_0/src/diag.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: switch "-fvtable-gc" is no longer supported /opt/ecos/ecos-2.0/packages/infra/v2_0/src/diag.cxx:90: error: `init_priority' attribute is not supported on this platform make[1]: *** [src/diag.o.d] Error 1 make[1]: Leaving directory `/tmp/leonredboot/infra/v2_0' We are not getting the soultion to this problem, please help us in this regard. We are using following version of sparc-elf-gcc $ sparc-elf-gcc --version sparc-elf-gcc (GCC) 3.4.0 20040317 (prerelease) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -Thanks Hari Send instant messages to your online friends http://uk.messenger.yahoo.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss