From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2428 invoked by alias); 30 Jul 2005 07:36:51 -0000 Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org Received: (qmail 2421 invoked by uid 22791); 30 Jul 2005 07:36:48 -0000 Received: from bay12-f30.bay12.hotmail.com (HELO hotmail.com) (64.4.35.30) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 30 Jul 2005 07:36:48 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 30 Jul 2005 00:36:44 -0700 Message-ID: Received: from 80.15.249.149 by by12fd.bay12.hotmail.msn.com with HTTP; Sat, 30 Jul 2005 07:36:43 GMT X-Originating-IP: [211.83.97.170] X-Originating-Email: [mrchaoxiang@hotmail.com] X-Sender: mrchaoxiang@hotmail.com From: =?gb2312?B?z/Igs6w=?= To: ecos-devel@sources.redhat.com Bcc: Subject: eCos compiled with gcc-3.4 Date: Sat, 30 Jul 2005 07:36:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 30 Jul 2005 07:36:44.0346 (UTC) FILETIME=[6F2559A0:01C594D9] X-SW-Source: 2005-07/txt/msg00004.txt.bz2 I want to compile the eCos for MCF5272EVB which is supported by eCos. But I got the follow error message: /opt/ecos/build/mcf5272_install/include/pkgconf/mlt_m68k_mcf52xx_mcf5272_mcf5272 3_ram.ldi:53:1: pasting "." and "romvec" does not give a valid preprocessing token The file mlt_m68k_mcf52xx_mcf5272_mcf5272 3_ram.ldi is : MEMORY { rom (rx) : ORIGIN = 0x00020000, LENGTH = 0x001E0000 ram (wx) : ORIGIN = 0x00200000, LENGTH = 0x00200000 } SECTIONS { SECTIONS_BEGIN GENERIC_SECTION (rom, rom, 0x00020000 (NOLOAD), LMA_EQ_VMA, 0x001E0000) GENERIC_SECTION (ram, ram, 0x00200000 (NOLOAD), LMA_EQ_VMA, 0x00200000) GENERIC_SECTION (romvec, rom, __rom_start, LMA_EQ_VMA, 0x400) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SECTION_text (rom, ALIGN (0x4), FOLLOWING (.romvec)) SECTION_fini (rom, ALIGN (0x4), FOLLOWING (.text)) SECTION_rodata1 (rom, ALIGN (0x4), FOLLOWING (.fini)) SECTION_rodata (rom, ALIGN (0x4), FOLLOWING (.rodata1)) SECTION_fixup (rom, ALIGN (0x4), FOLLOWING (.rodata)) // WARNING: If you change the order of these sections, be sure to change // the location of the data section. SECTION_gcc_except_table (rom, ALIGN (0x4), FOLLOWING (.fixup)) __rom_data_addr = ABSOLUTE(.); GENERIC_SECTION (ramvec, ram, __ram_start (NOLOAD), LMA_EQ_VMA, 0x400) SECTION_data (ram, ALIGN (0x4), FOLLOWING (.gcc_except_table), __rom_data_addr) SECTION_sbss (ram, ALIGN (0x4) (NOLOAD), LMA_EQ_VMA) SECTION_bss (ram, ALIGN (0x4) (NOLOAD), LMA_EQ_VMA) SECTION_uninvar (ram, ALIGN (0x4) (NOLOAD), LMA_EQ_VMA) // Allocate a heap section. SECTION_heap1 (ram, ALIGN (0x4), LMA_EQ_VMA, 0x20000) // The build tool looks for this "CYG_LABEL_DEFN..." string. CYG_LABEL_DEFN(__heap1) = ABSOLUTE (__heap1_start); SECTIONS_END } I have marked the line 53. This file is included in the link command file, but I can't find GENERIC_SECTION command in the syntax reference of ld script language. What does it mean? Sorry, I am a newbie for eCos. Could anybody help me? thx. Chao Xiang