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]

Re: Problem with Hello world


I tried to compile eCos on cygwin but I obtain an error :

/opt/ecos/ecoscvs/ecos/packages/io/common/current/src/ioinit.cxx
/opt/ecos/ecoscvs/ecos/packages/io/common/current/src/ioinit.cxx:1: warning: -ffunction-sections may affect debugging on some targets
make[1]: Leaving directory `/ecos-d/cygwin/home/lony/Linux_build/io/common/current'
/tmp/ccucSUU4.s: Assembler messages:
make: Leaving directory `/ecos-d/cygwin/home/lony/Linux_build'
/tmp/ccucSUU4.s:157: Error: junk at end of line, first unrecognized character is `"'
/tmp/ccucSUU4.s:159: Warning: .type pseudo-op used outside of .def/.endef ignored.
/tmp/ccucSUU4.s:159: Error: junk at end of line, first unrecognized character is `_'
/tmp/ccucSUU4.s:162: Error: unknown pseudo-op: `.previous'
/tmp/ccucSUU4.s:164: Error: junk at end of line, first unrecognized character is `"'
/tmp/ccucSUU4.s:166: Warning: .type pseudo-op used outside of .def/.endef ignored.
/tmp/ccucSUU4.s:166: Error: junk at end of line, first unrecognized character is `_'
/tmp/ccucSUU4.s:169: Error: unknown pseudo-op: `.previous'
make[1]: *** [src/ioinit.o.d] Error 1
make: *** [build] Error 2


I just change in Global Build Options -> Global command prefix -> "empty", because I don't have i686-pc-linux-gcc (I tried with i686-pc-cygwin but I don't have i686-pc-cygwin-ar)

I don't have any ARM platform... Only a ARM compiler (arm-elf-gcc) and another tools like arm-elf-run or arm-elf-gdb.
So, it is not possible to configure my profile to compile for an ARM platform but without a specific ARM hardware?


Andrew Lunn a écrit :
On Fri, Apr 20, 2007 at 03:18:15PM +0200, David LONY wrote:
Fantastic!!!!
It works well!!!
I upgrade to the next version and after compile the library I can compile my Hello World program and see the output.
I used the Linux Synthetic template with default profile on my Linux distro (Fedora Core 4). But, if I use the same template on cygwin, It will work?

So you want to cross compile a Linux binary on cygwin. In theory, it should work, but i see no sane reason to do it.

However, I have another question... It is possible to use the Linux Synthetic template and compile eCos for ARM ?

No. The target is hardware target dependent. You need to configure eCos for your specific ARM platform. What development board are you using.

Andrew





-- 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]