tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] How to link in string functions?


From: richardcavell
Subject: [Tinycc-devel] How to link in string functions?
Date: Fri, 15 Apr 2011 05:15:47 -0400

Hi.  I'm on Ubuntu 10.10 32-bit.

When I compile my code with tcc, I get:

tcc: undefined symbol 'strlen'
(and same for strstr, strcspn, strncmp, strcmp, memset, memcpy)

I'm using #include <string.h> and my code compiles with gcc and clang. Do I need to pass something to tcc on the command line in order to get the string.h functions to work?

Richard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]