This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
error building ecos application for LEON
- From: "Agus Ariffianto" <aariffianto at s dot ee dot itb dot ac dot id>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Date: Thu, 18 May 2006 09:57:45 +0700
- Subject: [ECOS] error building ecos application for LEON
- References: <446B3B59.70801@televic.com> <20060517155527.GL14082@lunn.ch>
- Virus-scanned: antivirus-ITB
Dear ALL,
Cuurently I'm trying to build ecos on LEON (which will be implemented on
Altera Stratix FPGA). The step was (if I'm wrong, please let me know):
1. Create ld file ($(BASE-WORK)/$(BASE-WORK)_install/lib/target.ld) using
configtool
=> succeeded
2. Create out file ($(BASE-WORK)/a.out)
=> failed
the command was:
cd /src/project/$(BASE-WORK)
sparc-rtems-gcc -I $(BASE-WORK)_install/include/ ../hello.c -L
$(BASE-WORK)_install/lib/ -Ttarget.ld -nostdlib
the error message was:
/gnutools/rtems-4.6/bin/../lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:
waning: no memory region specified for section '.ram_vectors'
/gnutools/rtems-4.6/bin/../lib/gcc-lib/sparc-rtems/3.2.3/../../../../sparc-rtems/bin/ld:
warning: cannot find entry symbol start; defaulting to 40001300
The question is:
1. Am I using the right compiler? If it is not the right compiler, which
compiler should I use? Where can I find it
2. If I am using the right compiler, what should I do?
3. Thank you
Regards,
Agus
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss