Didn't work for me.

If I use win64, no files are generated:

T:\tinycc\win32>C:\desenvolvimento\ferramentas\c\tcc\win64\tcc.exe
-LC:\desenvolvimento\ferramentas\c\tcc\win64
-IC:\desenvolvimento\ferramentas\c\tcc\win64\include
-LC:\desenvolvimento\ferramentas\c\tcc\win64\lib
-IC:\desenvolvimento\ferramentas\c\tcc\win64\libtcc -w -o libtcc.dll
-shared ..\libtcc.c -DTCC_TARGET_PE -DTCC_TARGET_X86_64 -DONE_SOURCE
-DLIBTCC_AS_DLL
*tcc: error: undefined symbol 'RtlDeleteFunctionTable'*


If I use win32, it does generate output (tcc.exe etc.), but:

T:\tinycc\win32>.\tcc -impdef libtcc.dll -o libtcc\libtcc.def
*tcc: impdef: can't read symbols from 32bit 'T:\tinycc\win32\libtcc.dll'*

Then step 2 doesn't work. -i was apparently ignored, too. tcc.exe went to
current dir.


I'm giving up.

2017-07-05 11:04 GMT-03:00 grischka <[email protected]>:

> André Willik Valenti wrote:
>
>> Ok, thank you for the tip. I tried building it on Windows, but it
>> apparently needs gcc. Is that so?
>>
>
> You can use build-tcc.bat with gcc, msvc or tcc itself.  Type
>
>    $ build-tcc.bat ?
>
> to get some info.  For example if you have the 0.9.26 tcc binaries
> in win32\0926:
>
>   $ build-tcc.bat -c "0926\tcc.exe -w" -i tcc1
>   $ build-tcc.bat -c tcc1\tcc.exe -i tcc2
>   $ build-tcc.bat -c tcc2\tcc.exe -i tcc3
>
> will produce a state-of-the-art self-compiled tcc installation in tcc3.
> The 3 stages are needed because 0926 has some problems.
>
> -- gr
>
>
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
>
>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to