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]

Endian issue


Development Env: Win98
Target: ATLAS (MIPS 4Kc) --Little endian--

Hi all,
I built the library with the default CFLAGS (-mips32 -EL -msoft-float -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -G0) that was set by the ATLAS_4Kc template.

Then I tried making the sample applications (came along with ecos 1.3). When I run "make" from the command line "c:\myrep\ecos\examples>make"

I get the following error for all the .o files that was getting built:
mipsisa32-elf-gcc -nostartfiles -Lc:/myrep/examples/test_install/lib -Wl, --gc-section -o hello hell.o -Ttarget.ld -nostdlib /ecos-c/REDHAT/MIPS3264-010729/H-I686-PC-CYGWIN/BIN/../lib/gcc-lib/mipsisa32-elf/2.96-mips3264-010729/../../../../mipsisa32-elf/bin/ld: c:/myrep/example/test_install/lib/vectors.o: compiled for a little endian system and target is big endian
File in wrong format: failed to merge target specific data of file c:/myrep/examples/test_install/lib/vectors.o

Can somebody help me find the file (black sheep) that makes the configuration as big endian?

Thanks a lot!!!
-Mike.


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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