Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by khurrum@Aug 29 2006, 01:02 PM hi,
i have a c application, which was written for an x86 processor (i.e. using little endian) and tried running the given test cases for the application but they failed. i know that the nios ii architecture uses little endian mode but i read that the object dump listings are in big endian.
could some please clarify if nios ii is actually using little endian? because if not then the code i am running can only be run on an x86 like processor and that is why my test cases are failing. i tried compiling and running the test cases through cygwin not using the nios and they all passed because it was using a linux x86 architecture. but then i also used sun solaris box to compile and run my code but the same errors popped up that came when i ran the tests in the nios ii ide. any help will be appreciated.
if its not little endian how can i configure it to little endian?
thanks,
khurrum
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=17936)
--- quote end ---
--- Quote End --- As I know ,nios is little endian.good luck you can see software referrance.