tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Compiling tcc under Windows using tcc?


From: Xianwen Chen
Subject: Re: [Tinycc-devel] Compiling tcc under Windows using tcc?
Date: Fri, 09 Dec 2011 22:58:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0

Xianwen,

- "libmaker" in my batch file is the same as tiny_libmaker from the 0.9.25 distribution.
- Assuming "old" is the 0.9.25 tcc/win32 directory, and "new" is where I'm building/testing the new compiler, then what I actually do is...
$ old\tcc -o tmp_tcc.exe src/tcc.c
This compiles the tmp_tcc with the old tcc.  But it's still using the include files from old/include AND it's grabbing libtcc1.a, msvcrt.def and kernel32.def from old/lib.
- Then I compile new/(tiny_)libmaker and new/(tiny_)imdef.  And I use (tiny_)libmaker to make new/lib/libtcc1.a.  (I usually also recreate mvscrt.def and kernel32.def from the actual DLLs.)
- Now if you compile a "newer" version of tcc (using new/tmp_tcc), you'll be picking up the new/include files and the new/lib/libtcc1.a, and there won't be any vestiges of the old tcc.

Regards,

Tom

Thank you very much Tom. It helped! ;)

Xianwen

reply via email to

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