Message-ID: <38D21C71.4665E3B4@accord-soft.com> Date: Fri, 17 Mar 2000 17:22:17 +0530 From: Ghins Mathai X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Problem with linker scripts Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I have a linker script ( xyz.ld ) that begins as follows: /* **************************************** */ MEMORY { rom : org=0x0, len=0x5f000 data: org=0x80000000, len=0x03000 bss: org=0x80003000, len=0x016000 } /* **************************************** */ I try linking this to my code with > gcc xyz.c -Xlinker -T -Xlinker xyz.ld However, I get a "parse error on line 5 " message(This line corresponds to the "rom: ..." line) . As far as I see, there is nothing wrong with the format of the linker script. Can anyone please help me troubleshoot. Regards