Forum Discussion
Altera_Forum
Honored Contributor
22 years agoProblem with libc.a
Hi All, I've got my Linux v1.1 up and running beautifully, but as soon as I try to compile ANYTHING that was not supplied by either ALTERA or MICROTRINIX I run into the same snag over and o...
Altera_Forum
Honored Contributor
22 years agoHi janhendrik,
From your first message (see below), we can see you are using the wrong C library. You can use newlib when you build a standalone applicaiton, but if you want to build an application for uClinux, you have to use uClibc. The message shows that you are using newlib coming with the toolchain. <div class='quotetop'>QUOTE </div> --- Quote Start --- cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc -lib/nios2-elf/3.3.3/../../../../nios2-elf/lib/libc.a(closer.o): In function `_c lose_r':[/b] --- Quote End ---