This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

error building ecos application for LEON


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]