Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Non-sucking Win32 C compiler

Name: Anonymous 2009-08-12 14:37

I need a small (not bloated to hell, clean, not system ruining / service installing) compiler for tiny C programs with POSIX-like semantics (i.e. C library that doesn't suck and stuff like read() instead of ReadFileWEX(WHANDLE, WSHARINGMODE, WSECURITYCONTEXT, NULL, NULL, NULL, NULL) - true POSIX stuff like fork() et al is not needed).

Visual Studio or cygwin are out of the question. Some GCC distro like mingw might be OK depending on how much the installation sucks (ideally there wouldn't be any installation at all).

Any ideas or do I give up to ENTERPRISE-quality software?

Name: Anonymous 2009-08-15 21:10

>>60
You do realize that because of this he stands to gain the most out of nearly any programmer from optimization right? Will an optimizing compiler move strlen calls outside the loop invariant? Yes. Will it memoize the strlen calls, or even just the comparison result? Yes. That is of course, if it can determine the loop body doesn't change the result of the strlen calls, and I would put money on that being the case for any non-shit compiler (assuming the == was meant to be =).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List