Forum Discussion
Altera_Forum
Honored Contributor
21 years agoerror running self compiled program
Hello,
I compiled netcat with the nios2 toolchain. configure and make have done well. But when I try to ru the program I get the following error:BINFMT: bad magic/rev (0x3000000, need 0x4) What does this mean? Where is the problem?2 Replies
- Altera_Forum
Honored Contributor
Did you convert it from elf to flat format, using elf2flt?
- Altera_Forum
Honored Contributor
no, http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif
the other problem is, when I run make, it runs the compiler for cywin. How can I use the nios toolchain instead?