[Tinycc-devel] Regression building GMP with tcc, bisected

2020-07-05 Thread John Scott
tcc 0.9.27 works, but current mob fails during GMP's configure step. For GMP I use --disable-assembly and --disable-static, and it fails on checking how to define a 32-bit word... configure: error: cannot determine how to define a 32-bit word I don't know for certain that this is tcc's fault;

Re: [Tinycc-devel] How to programming winsock on tcc

2020-07-05 Thread Christian Jullien
You may need to grab more include files from https://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip C. From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of blue sky Sent: Sunday, July 05, 2020 18:29 To: tinycc-devel@nongnu.org

Re: [Tinycc-devel] How to programming winsock on tcc

2020-07-05 Thread Christian Jullien
Hi Ongta, as with VC++, il have to include ws2_32 lib which, for tcc on Windows is passed as –lws2_32 on command line. So command line looks like: tcc –o foo.exe foo.c –lws2_32 Hope it helps. From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of

[Tinycc-devel] How to programming winsock on tcc

2020-07-05 Thread blue sky
Dear Tinycc, My name's Ongta, Tinycc is very good but I cannot write a program that uses winsock as https://docs.microsoft.com/en-us/windows/win32/winsock/complete-server-code Could you help me config to do that. Many thanks, ___ Tinycc-devel mailing

Re: [Tinycc-devel] POSIX compliance; spaces not supported with -l for libs

2020-07-05 Thread avih via Tinycc-devel
For me, with current tcc mob (but also with version at least 6 months old) this does work: tcc hello.c -l c Which version did you try? As for -O, it seems that the option-argument is optional - in both tcc and gcc. The posix syntax for optional arguments is that the value must follow at the