I want to learn more about this!
- posted
17 years ago
I want to learn more about this!
anyone know where i could find *working* and *up-to-date* toolchain sources for nios2 ?
the cdk4nios project is out of date:
on altera's site, they tell you how to download the sources:
and there you can find the up-to-date release (gcc-3.4.1 / gnutools-5.1), but the source tarball is missing a lot of files in the gcc dir which prevent it from compiling ... read the gcc/config/nios2/t-nios2 config file and you'll see that the math files for libgcc.a are missing as well as the source .asm files for crt*.o objects: $(srcdir)/config/nios2/lib2-divmod.c $(srcdir)/config/nios2/lib2-divmod-hi.c $(srcdir)/config/nios2/lib2-divtable.c $(srcdir)/config/nios2/lib2-mul.c $(srcdir)/config/nios2/crti.asm $(srcdir)/config/nios2/crtn.asm
-mike
ok, ive created a patch which adds the missing files ... so if people wish to build their own toolchain, you now can :)
(1) grab the niosii-gnutools-src-5.1.tgz tarball from altera's website:
(2) apply this patch:
(3) build !
-mike
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.