mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-10 08:50:07 +08:00
win32: readme: add libtcc_test example
This commit is contained in:
parent
903b6001e7
commit
bdb9387a74
@ -35,11 +35,6 @@
|
|||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
Unzip the package to a directory of your choice.
|
Unzip the package to a directory of your choice.
|
||||||
|
|
||||||
(Note that the binary package does not include libtcc. If you
|
|
||||||
want TCC as dynamic code generator, please use the source code
|
|
||||||
distribution.)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Set the system PATH:
|
Set the system PATH:
|
||||||
--------------------
|
--------------------
|
||||||
@ -61,12 +56,15 @@
|
|||||||
|
|
||||||
tcc hello_win.c
|
tcc hello_win.c
|
||||||
|
|
||||||
for the 'Hello DLL' example type
|
For the 'Hello DLL' example type
|
||||||
|
|
||||||
tcc -shared dll.c
|
tcc -shared dll.c
|
||||||
tiny_impdef dll.dll (optional)
|
tiny_impdef dll.dll (optional)
|
||||||
tcc hello_dll.c dll.def
|
tcc hello_dll.c dll.def
|
||||||
|
|
||||||
|
For the 'libtcc_test' example type
|
||||||
|
|
||||||
|
tcc examples/libtcc_test.c -I. libtcc.dll
|
||||||
|
|
||||||
|
|
||||||
Import Definition Files:
|
Import Definition Files:
|
||||||
|
Loading…
Reference in New Issue
Block a user