Forum Discussion

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

Error: 2 when I build toolchain uCLinux on ubuntu 9.04 _x64

Hi!

I have problem with building toolchain uCLinux on Ubuntu 9.04 _x64. I did everything what is descibed here -> http://www.nioswiki.com/installnios2linux and I used gcc in version: 3.2, 4.1, 4.2, 4.3, but I always have the same 2 errors. It may depend on architecture_x64? Any ideas?

1 Reply

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

    Could you post the errors?

    I never did quite get the toolchain build working on 64-bit, but one thing I had to change on Ubuntu is to add -D_FORTIFY_SOURCE=0 to gcc's CPPFLAGS.

    Also, if you are interested in using an MMU (virtual memory) with real libc/Linux instead of uClibc, the instructions are here, and you don't need to build that toolchain: http://nioswiki.com/linux