Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

gcc 4.1 toolchain and kernel compatibility

Altera_Forum
Honored Contributor II
1,013 Views

Hi all,  

 

I successfully compiled the 4.1 toolchain and also the most recent kernel from 

the git (2.6.35). Unfortunately they don't work together. I compiled a simple  

hello world and don't see any output. The executable is tagged to be for 

kernel 2.6.21. Does that mean it won't work with more recent kernels? 

If so, where do I get the kernel sources from? 

 

Thanks for any insights ... 

 

- Johannes
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
305 Views

Stupid me the kernel is included in the gcc-4.1 toolchain dir. Sorry for bothering you ... 

 

- Johannes
0 Kudos
Altera_Forum
Honored Contributor II
305 Views

You can get the linux sources from the git repository at sopc.et.ntust.edu.tw (as mentioned in the wiki). 

 

OTOH it probably won't make a difference as the new system calles hooked up there won't be used in the glibc version used in the current toolchain.
0 Kudos
Altera_Forum
Honored Contributor II
305 Views

Hi Johannes, 

How did you succeed in rebuild the gcc 4.1 toolchain? Did you follow a wiki? 

Where did you find the sources? niosftp.com doesn't work anymore... 

 

Thanks in advance...
0 Kudos
Reply