[Top][All Lists]

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

[Tinycc-devel] Only load libtcc1 if available

From: Thomas Preud'homme
Subject: [Tinycc-devel] Only load libtcc1 if available
Date: Sat, 1 May 2010 20:27:28 +0200
User-agent: KMail/1.12.4 (Linux/2.6.32-3-686; KDE/4.3.4; i686; ; )

libtcc1.a isn't built on arm architecture but tcc_add_runtime add libtcc1.a 
unconditionally. I used a macro to not load libtcc1.a on arm but a replacement 
of tcc_add_file by something like :

if (s->output_type == TCC_OUTPUT_PREPROCESS)
        return tcc_add_file_internal(s, filename, AFF_PREPROCESS);
        return tcc_add_file_internal(s, filename, 0);

would be better. What do you think ?

Commit sha1 is 2220467


Thomas Preud'homme

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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