[Top][All Lists]

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

Re: [Tinycc-devel] Introduce tcc_args

From: grischka
Subject: Re: [Tinycc-devel] Introduce tcc_args
Date: Thu, 12 Oct 2017 11:36:12 +0200
User-agent: Thunderbird (Windows/20090812)

uso ewin wrote:

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.

tcc_set_options(s, "-nostdlib");
From 2/2013: http://repo.or.cz/tinycc.git/commitdiff/05108a

-- gr

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,

Tinycc-devel mailing list

reply via email to

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