Mar 3, 2010 #1 user_asic Advanced Member level 4 Joined Nov 13, 2009 Messages 100 Helped 7 Reputation 14 Reaction score 2 Trophy points 1,298 Location Canada Activity points 1,836 If I have gawk 3.1.1 source, how do I cross-compile so it can run on uclinux running on NIOS2 soft processor?
If I have gawk 3.1.1 source, how do I cross-compile so it can run on uclinux running on NIOS2 soft processor?
Mar 3, 2010 #2 A amraldo Advanced Member level 4 Joined Aug 29, 2004 Messages 1,183 Helped 145 Reputation 290 Reaction score 37 Trophy points 1,328 Location Egypt Activity points 5,880 If you have gnu tools for NIOS II, it is straight forward. -- Amr Ali
Mar 3, 2010 #3 user_asic Advanced Member level 4 Joined Nov 13, 2009 Messages 100 Helped 7 Reputation 14 Reaction score 2 Trophy points 1,298 Location Canada Activity points 1,836 amraldo said: If you have gnu tools for NIOS II, it is straight forward. -- Amr Ali Click to expand... Had it been straight forward, then I would not have posted the question...
amraldo said: If you have gnu tools for NIOS II, it is straight forward. -- Amr Ali Click to expand... Had it been straight forward, then I would not have posted the question...
Mar 3, 2010 #4 A amraldo Advanced Member level 4 Joined Aug 29, 2004 Messages 1,183 Helped 145 Reputation 290 Reaction score 37 Trophy points 1,328 Location Egypt Activity points 5,880 Had it been straight forward, then I would not have posted the question... Click to expand... What is the error you are facing during compilation? -- Amr Ali
Had it been straight forward, then I would not have posted the question... Click to expand... What is the error you are facing during compilation? -- Amr Ali
Mar 3, 2010 #5 user_asic Advanced Member level 4 Joined Nov 13, 2009 Messages 100 Helped 7 Reputation 14 Reaction score 2 Trophy points 1,298 Location Canada Activity points 1,836 I have tried the buildroot method here: http://www.famschmid.net/uclinuxtutorial_nios_archive.html#compilingpackages I made the changes, but the resulting binary is not FLAT format. I can't execute it on NIOS2. I can execute it my x86 linux machine however.
I have tried the buildroot method here: http://www.famschmid.net/uclinuxtutorial_nios_archive.html#compilingpackages I made the changes, but the resulting binary is not FLAT format. I can't execute it on NIOS2. I can execute it my x86 linux machine however.
Mar 4, 2010 #6 A amraldo Advanced Member level 4 Joined Aug 29, 2004 Messages 1,183 Helped 145 Reputation 290 Reaction score 37 Trophy points 1,328 Location Egypt Activity points 5,880 Did you set your target architecture and the tool chain properly in build root? -- Amr Ali