[Top][All Lists]

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

[Tinycc-devel] Introduce tcc_args

From: uso ewin
Subject: [Tinycc-devel] Introduce tcc_args
Date: Thu, 12 Oct 2017 10:52:02 +0200


I'm using tcc, as a JIT compiler for this project:
https://github.com/cosmo-ray/yirl, on which I need to use -nostdlib but,
libtcc.h doesn't allow to do that, only the command line does.

So I've made a new function: tcc_args
The function is exactly what tcc_parse_args was in tcc0.9.26,
except the function is public.
I could just have change tcc_parse_args to a LIBTCCAPI function
but here you can continue to modify tcc_parse_args without breaking the api,
and tcc_parse_args require more arguments than tcc_args.

Here's my code

What do you think of pushing that to mob ?

Best regards,

reply via email to

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