Udara S.S Liyanage
Udara S.S Liyanage

Reputation: 6453

compile with the libc library

I used stricmp() in my code described here

It gives a compile error undefined reference tostricmp'`.

How to compile with libc library with -c option?

Upvotes: 2

Views: 222

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 799450

stricmp() is a QNX 4 function. The POSIX equivalent is strcasecmp().

Upvotes: 3

Related Questions