[coreboot] C Programming

Eric W. Biederman ebiederm at xmission.com
Mon Jul 14 19:06:36 CEST 2008


> thank you, i think there is something wrong with the gcc or
> strcasestr, but it doesn't matter, i can manually convert it by
> (char*)((long)strcasestr(a,b))

I doubt it.  I expect rather you need to do what the manpage for strcasestr
recommends and do:

       #define _GNU_SOURCE

       #include <string.h>

Eric




More information about the coreboot mailing list