> On Mon, May 29, 2006 at 04:59:20PM +0700, Agus Ariffianto wrote: >> Dear ALL, >> I am trying to build hello program to run in LEON. During dong that, I >> faced >> some problem (and peculiarity) >> eCos configuration setting: >> >> Menu Build repository : /src/ecos >> Menu Build tempaltes : LEON Processor >> Packages :default >> Menu Tools-Paths-Build Tools : /gnutools/sparc-elf-3.2.3/bin >> Menu Tools-Paths-user tools : /bin >> The rest, I leave it by default >> >> -Configuration >> - Global Build options >> - Global command prefix : sparc-rtems > sparc-elf >> ?, in fact I use sparc-elf-3.2.3> >> >> Then I build library.... >> Then I got target.ld file (in folder leon_install/lib/) >> >> Next, I compile it: >> [agus]$ sparc-elf-gcc -I leon_install/include/ ../hello.c -o hello.out -L >> leon_install/lib/ -Ttarget.ld -nostdlib >> >> then the error turn up: >> /gnutools/sparc-elf-3.4.4/bin/../lib/gcc/sparc-elf/3.4.4/../../../../sparc-elf/bin/ld: >> error: no memory region for loadable section '.ram_vectors' >> collect2: ld returned 1 exit status >> >> second trial, I change Global command prefix setting: sparc-elf (was >> sparc-rtems) and change the compiler version to sparc-elf-3.2.3 (was >> 3.4.4). The >> error was same. >> >> Can anybody please help me solving these problem. Thank you very much. > > How do you configure eCos? > > do > > ecosconfig export loan.ecm > > and email the leon.ecm file. > > My guess is you have the interface to Redboot enabled, but the current > leon port does not support this. > > Andrew > > -- Andrew, thank you for your response. Also attached target.ld file (I don't know wether you need this file or not) Regards, Agus Ariffianto