gcc on Sparc Solaris 8

Dennis Clarke dclarke@blastwave.org
Mon Sep 30 19:34:00 GMT 2019


> In any case, sscanf is not part of GCC, it comes from the Solaris C
> library, so this is not a GCC problem.
> 

This is not a GCC problem and not even a Solaris problem.

He needs to simply setlocale first :

      #include <locale.h>
      char *setlocale(int category, const char *locale);

Problem solved.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



More information about the Gcc-help mailing list