News for hackers. Stuff that matters.
Re:Learn C The Hard Way by leon_ on Sunday July 03, 2011 @03:10AM (#2723264)
> Oh my god so many configuration settings!

There are many alternatives for you that offer 1click build/deployment.

Re:Learn C The Hard Way by regularfry on Sunday July 03, 2011 @03:42AM (#2723299)
There are so many, in fact, that choosing one becomes a confusing array of choices in itself.
Re:Learn C The Hard Way by malkia on Sunday July 03, 2011 @04:32AM (#2723358)
Use cmake, no fuck this, try JAM. WTF? Why not simple Makefiles, better yet manually written projects for XCODE, VCPROJ.... Oh fuck no.... At the end of the day you wrote something to get your shit out. Simple as that :)

Just google for "msvcrt_win2000.obj" and see the madness (yes, it's about using MSVCRT.DLL instead of later MSVC libs, and still get your shit working on 2000 or XP). I did that just last few hours :)

Re:Learn C The Hard Way by georgieporgie on Sunday July 03, 2011 @01:19PM (#2724061)
If you statically link, will it only run on the latest platform? I don't believe I've ever shipped an app that dynamically linked to the MSVCRT.
Re:Learn C The Hard Way by malkia on Sunday July 03, 2011 @08:33PM (#2724969)
It can, and that's what I did. But I decided to experiment, and there is some little benefit - less memory usage, and supposedly malloc() from one place can be freed() by another (or I think so). A lot of Microsoft products are still linking to it. At work we don't care and link to whatever latest MSVC provides, but for certain products to write plugins we have to use the exact same Visual Studio version (for example Autodesk Maya or MotionBuilder).

There are way too many subtle details (and more complicated with Windows's manifests, side by side assemblies and crap like that).

Re:Learn C The Hard Way by AnthonBerg on Monday July 04, 2011 @05:14AM (#2725927)
Hah! Exactly.

There is one that I can recommend, for the record, at least for C++:

Qt's QMake.

Re:Learn C The Hard Way by davvid on Friday July 08, 2011 @01:34AM (#2741388)
Re:Learn C The Hard Way by ori_b on Monday July 04, 2011 @01:59PM (#2727258)
The last project I tried that used qmake missed dependencies on generated files, and therefore needed make clean fairly often.

It's sad, but the best user experiences I've had were either hand-coded makefiles, or autotools (ick).