tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [TIPS] empty test program will crash if compiled with


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] [TIPS] empty test program will crash if compiled with -b option
Date: Wed, 25 Mar 2015 19:55:46 +0300

Hi! Is there a way to add a file from a library like:
   tcc_add_support(s1, "libtcc1.a(bcheck.o)");

There was a code in the old tccelf.c (0.9.22) which then removed:
        snprintf(buf, sizeof(buf), "%s/%s", tcc_lib_path, "bcheck.o");
        tcc_add_file(s1, buf);

Currently we install only a libtcc1.a. There is no bcheck.o
Question: how to force a bcheck.o linking?

PS: with tcc_add_file(s1, "/usr/local/lib/tcc/i386/bcheck.o") hack
there is no link time error for a test program



reply via email to

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