Tcc source code – CONFIG_TCCDIR

In file config.h, it defined CONFIG_TCCDIR

# define CONFIG_TCCDIR “/usr/local/lib/tcc”

Then it executes

tcc_set_lib_path(s, CONFIG_TCCDIR);

[code]

LIBTCCAPI void tcc_set_lib_path(TCCState *s, const char *path)
{
tcc_free(s->tcc_lib_path);
s->tcc_lib_path = tcc_strdup(path);
}

[/code]

Leave a Reply