Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: pure C90 environment Date: Tue, 19 May 2020 16:40:52 -0700 Organization: None to speak of Lines: 28 Message-ID: <871rnfsdbv.fsf@nosuchdomain.example.com> References: <005caece-e5a1-4376-8e05-7ed7b02afe4a@googlegroups.com> <93fcb638-2d55-4204-953a-5288103e0222@googlegroups.com> <7XRwG.1479779$e1n.203754@fx36.am4> <0a1c87c8-2e62-4f5e-a202-b69ab39260f9@googlegroups.com> <87ace3d7-5042-42a7-90b1-d35496a8cc34@googlegroups.com> <4c1dc602-b672-4992-8957-82b3bc96e576@googlegroups.com> <21f58d9f-06ba-4a4f-8435-1088551fc338@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="2a89cc4df52259f4b37e420dc7d46c78"; logging-data="21786"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JB6dnJnaSMByFDtG/B8xz" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cancel-Lock: sha1:fubM9oadMJEnCE3K1uD8lLYMMUE= sha1:cChCie0vx5NLR3eo4txiWk9ZwFs= Xref: csiph.com comp.lang.c:152415 Bart writes: [...] > Cygwin is rather mysterious. If it has mingw, I don't know if that's > the same as the one running directly under Windows, which can link to > WinAPI, or one runs under Cygwin which uses Linux-like libraries. > > But you can test with this program: > > #include > > int main(void) { > MessageBox(0,"World","Hello",0); > } On Cygwin, that works correctly (displaying the pop-up) when I compile it with any of: /usr/bin/gcc.exe /usr/bin/i686-w64-mingw32-gcc.exe /usr/bin/x86_64-pc-cygwin-gcc.exe /usr/bin/x86_64-w64-mingw32-gcc.exe (gcc.exe is a hard link to x86_64-pc-cygwin-gcc.exe.) -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */