[Top][All Lists]

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

[Tinycc-devel] libtcc.dll / "nostdlib" option

From: Gabriel Corneanu
Subject: [Tinycc-devel] libtcc.dll / "nostdlib" option
Date: Wed, 10 Aug 2011 13:22:40 +0200


I am revisiting tinycc after some time, and see good progress in the
direction I am interested in (runtime code generation).

 So I basically need:
 1. windows dll
 I could not find a simple way to build the dll, so I patched the
build-tcc.bat to create it also.

 2. "nostdlib" option for the library
 For my code I want to avoid external files if possible.
 Unfortunately "nostdlib" is only available at command line; the state
is opaque in libtcc, so no direct access is possible.
 I did not find a good and simple way of doing it other than adding
the same option again to "tcc_set_linker" function.

 This works ok for me, but I hope other people might need those also...
 Should I push to "mob" branch, or post a patch here?


reply via email to

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