Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

gcc 4.1 toolchain and kernel compatibility

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

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

    - Johannes
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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