This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Re: powerpc eabi installation and compilation


Matthieu.GIRARDIN@fr.thalesgroup.com wrote:
Thanks a lot Andrew and Nick for your help.

As you suggested me, I created a new directory (a "clean" one) and I have no
problem any more. But I didn't succeed in compiling my application which had
no problem under Linux Synthetic Target (i386-elf-gcc)...

I think I forgot a option in my compilation line or maybe I have an error in
my installation but I don't see why.

Just under, you can see what I did with some comments... It's a good way to
summarize my installation and my compilation line.

My problems during compilation are at the end. If you can translate, explain
it to me, it would be great. Thanks


---- Debut compilation ----
test_main.c: In function `init_mf_lgb_radio':
test_main.c:297: warning: extern declaration of `cyg_error_get_errno_p'
doesn't match global one
/opt/ecos.ppc/gnutools/powerpc-eabi/bin/../lib/gcc-lib/powerpc-eabi/3.2.1/..
/../../../powerpc-eabi/bin/ld: warning: no memory region specified for
section `.eh_frame'
/opt/ecos.ppc/gnutools/powerpc-eabi/bin/../lib/gcc-lib/powerpc-eabi/3.2.1/..
/../../../powerpc-eabi/bin/ld: section .eh_frame [00003200 -> 0000336f]
overlaps section .text [00003200 -> 00027c67]
collect2: ld returned 1 exit status
Compilation OTR ECOS PPC pour noyau restreint terminé.
----- Fin compilation -----

This is something that was fixed between 2.0b1 (the version you are using) and the final 2.0. You can check out the 2.0 sources from CVS, or just the current "trunk" CVS and use that. Or you can install 2.0 properly from http://ecos.sourceware.org/getstart.html


Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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