Re: [Tinycc-devel] tcc version 0.9.25 under Windows XP: "-static"doesn't work at all

2010-08-13 Thread grischka
Wenzel wrote: tcc -static -Le:\tcc\lib -lgdi32 -lkernel32 -lmsvcrt -luser32 test.c -o test.exe Do not use -static on windows. It makes little sense and was never tested. The type of linkage (static or dynamic) depends exclusively on the type of the library. You can link with static libraries

Re: [Tinycc-devel] tcc version 0.9.25 under Windows XP: "-static"doesn't work at all

2010-08-13 Thread Wenzel
Hello Timppa, thank you for your quick and valuable information. Unfortunately it doesn't solve my problems. It seems not a big problem to get the mentioned archives, as they are part of the mingw distributions (But see below!). I copied all the archives which have a .def-counterpart in "..

Re: [Tinycc-devel] getting to the mob branch?

2010-08-13 Thread Thomas Preud'homme
Le vendredi 13 août 2010 11:11:29, Aharon Robbins a écrit : > Hi. I'm a git novice. I cloned the repository, but I don't see the mob > branch. What's the right incantation to move to it? git checkout -b localmob origin/mob > > THanks, Cheers > > Arnold Thomas > > _

[Tinycc-devel] getting to the mob branch?

2010-08-13 Thread Aharon Robbins
Hi. I'm a git novice. I cloned the repository, but I don't see the mob branch. What's the right incantation to move to it? THanks, Arnold ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] Re: TinyCC's Linker

2010-08-13 Thread Kirill Smelkov
On Fri, Aug 13, 2010 at 12:07:58AM +0200, A. Klitzing wrote: > Hi! > > Thank you very much. I patched the current mob branch with it and it > works like a charm! Everything compiles and links... and my tests are > "green". ;-) > > Seems that I'm 100% compatible with tcc without any hassle now. :-

Re: [Tinycc-devel] tcc version 0.9.25 under Windows XP: "-static"doesn't work at all

2010-08-13 Thread Timo VJ Lähde
Without -static switch tcc.exe use msvcrt.def and kernel32.def for linking. With -static switch tcc.exe search libmsvcrt.a and libkernel32.a for linking and those doesn't exist at all. Example for own lib: tcc.exe -c foo-lib.c tiny_libmaker libfoo.a foo-lib.o tcc1 foo-test.c -lfoo -L. ---