On Tue, Feb 16, 2010 at 05:16:59PM +0100, grischka wrote: > Luigi Rizzo wrote: ... > > > ./tcc -Iwin32 -Iwin32/include ~/c-src/card.c -L . -L ../win-bin/ > > > >this works fine > > Surely works. But is horribly redundant ;) > > Basically with CONFIG_TCCDIR set correctly (and with i386-win32-tcc > installed) all you need (and ever should need) is: > > $ cd win32/examples > $ i386-win32-tcc hello_win.c
hmmm. i still don't understand how the i386-win32-tcc finds the missing symbols (or, knows that they are in msvcrt.dll and kernel32.dll) ? At least, without them in my case i was getting unresolved symbols. cheers luigi > This produces hello_win.exe that can be run on windows or under wine. > > --- grischka > > > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
