The pre-built NEEK toolchain

From Crashcourse Wiki

Jump to: navigation, search

To get started compiling your own executables for the Nios II, you can download and install the pre-built toolchain from [here], unload it wherever you want, and add the appropriate entry to your search path.

To test the installation, create your basic "Hello, World" source file and:

$ nios2-linux-gcc -elf2flt hello.c
$ file *
a.out:     BFLT executable - version 4 ram
a.out.gdb: ELF 32-bit LSB executable, version 1, statically linked, not stripped
hello.c:   ASCII C program text
$

Return to the main NEEK page.

Personal tools