Altera_Forum
Honored Contributor
15 years agoSmallC and sscanf
Hi folks-
In my NIOS2 project I started using sscanf() to parse text strings. The linker complains that sscanf is not found. Research tells me turn off the SmallC option on the nios2-elf-gcc command line (disable "-msmallc"). Looking at the properties of project, nios2-elf-gcc doesn't explicitly state the -msmallc option. So I conclude there must be another way to control the use of the SmallC library. Can anyone tell me the right way to turn on link support for sscanf()? Thanks, John.