Compilers!!!
category: general [glöplog]
Im no po'gammer by trade, but ive trying to do some graphics programming just for fun and it sucks...not the code, but the fucking linking of the headers that have so and so dependencies and its spaghetti and you cant find the fucking headers that have an object file that needs to be linked with a magic command that no one is supposed to talk about and all the source code doesnt work, the documentation doesnt say anything other than "here it is" and your pulling your hair out screaming and then finally you realize that you just want to die.
/end rant
/end rant
case in point. im going to go make a track now.
which libraries in which os ?
SDL library/ MingW compiler/ Windows
I agree with Rubicante. Check out Freebasic. It's fast enough for demomaking. No fancy compiler stuff sir :P
Install linux. Thats what i did when i found that installing libs in windows sucked. (and if you're going for linux, use ubuntu)
Im not going to use linux or windows...im going to VAX baby! :D
I counter neuratx and tell you to steer WAY clear of everything that comes from people spending most of their spare time humping stuffed penguins.
VC++2005 Express with PlatformSDK (and newest DirectX if you wish so) installed is a pretty sweet environment for demomaking tho.
VC++2005 Express with PlatformSDK (and newest DirectX if you wish so) installed is a pretty sweet environment for demomaking tho.
Yeah, I have checked out some of the Visual Studio stuff, and its pretty damn cool. My work recently upgraded to SQL server 2005 and we are still stuck on VS 2003, but im just the computer handyman so I dont get to mess with the good stuff. :(
just grab a copy of nehe tutorial number 2 like everybody else. You'll have a cube spinning in less than 2 minutes.
meh. I was just doing it for fun, im not a programmer nor will I be, so I wont beat my head over it. I will just focus on what im the best at, messing around with music. Might not be the best, but its my strongest scene attribute. :)))
"I'm Bobbin Threadbare, are you my mother?"
just wondering that when I compile one of my libs with a sample app
under VC++ 2005 it takes: 54.272 bytes (KKrunchy-compressed)
under GCC 3.4.2 it just takes: 38.400 bytes (KKrunchy-compressed) with the very same code ...
any idea why I can't squeeze more out of VC++ 2005 ???! :)
Cheers,
SLiPPY
under VC++ 2005 it takes: 54.272 bytes (KKrunchy-compressed)
under GCC 3.4.2 it just takes: 38.400 bytes (KKrunchy-compressed) with the very same code ...
any idea why I can't squeeze more out of VC++ 2005 ???! :)
Cheers,
SLiPPY
slippy: optimization set to "optimize for code size"? intrinsics on? default clib, RTTI and exceptions off? frame pointer omitted? runtime checks disabled? function-level linking on?
also, gcc defaults to using msvcrt.dll while vc++ defaults to using the statically linked runtime library :)
M$ is in league with harddrive manufacturers, that's why ;)
add to kb's, "disable stack checks" (/Gs), "fastCall convention" (/Gr). "/QIfist" will be handy also if you disable default libs and don't like to write assembly code (you'll need it for fmodf and floorf thou).
Code:
movss dword ptr [esp+20h],xmm0
movss xmm0,dword ptr [esp+20h]
vc8 is god
linux ftw, I just wanted to say that. you windows faggots aint know what you're missing :)
config files?
makefiles?
wtf, this thread is like 2 months (+) old. :/
portable language independent makefiles vs. vendor- and language-specific project files that often even break between different versions of the same product.... hmm, though choice :-)