Pete —
Thank you for the clear answers. Now I know why it looks this way and that i can make my changes …
It was valid code only with Visual Studio. In C that was never a valid code.
Not sure how far bac…
That used to be valid code. That's why you can see Casey doing for loops like this in some early …
Pete —
I am working on a project where there is a lot of old code written for Windows.
On several place…
mmozeiko To be compatible with Windows?
Unsurprisingly, Windows does it for the same reason.
mmo…
people —
I thought I'd post a diff of the "test_asset_builder.*" files which have
support for xlib core t…
To be compatible with Windows? :D
It also uses gs for 64-bit and fs for 32-bit.
Or maybe (I'm gu…
In my previous company I have successfully shipped product on Linux as binary executable with lin…
@longboolean and @effect0r: Thank you for bringing these issues up during the stream and of cours…
people —
Sorry, I don't know the reason for the change from gs to fs segment, but
when I compile with gcc…
My current precompiled application links against glibc, but it won't run on a Linux distribtion w…
That does sound a lot like some kind of block :( Normally the e-mails are sent pretty much insta…
Kim 1
2
3
4
5
6
7
8
9
10
11
12
13
14inline u32 GetThreadID(void)
{
u32 ThreadID;
#if…
mmozeiko On Linux syscalls numbers and arguments are define by POSIX (I think), and their call me…
mothil —
I've checked through my mail now, both my labels, the inbox and the spam folder. Nowhere to be fo…
I looked at the e-mail address with which you registered this forum account, and I found that e-m…
alfred Xinput just don't support non microsoft controllers?
My Logitech F310 supports Xinput.
mothil —
Hey. Okay, so back in March I preordered HMH and downloaded the source code. I didn't understand …
mmozeiko
...
For opening file, reading in at closing you use these functions:
open - http://pubs…
Well on Windows he doesn't want to link to C library because that's a library. Casey doesn't like…
Sounds like a plan!
I'll try that; thanks!
Btw, when Casey talks about (eventually) not even lin…
Not using libc will have same problems as statically linking to libc, so that reason doesn't real…
Thanks for the amazing details! I appreciate it!
My initial thoughts were to avoid libc as differ…
Well if you really want to avoid linking to libc then the thing you need to use are syscalls.
Sy…
You really don't want to avoid libc. It's ok to avoid C runtime stuff (fopen, fread, fprintf, etc…
I started looking into compiling on Linux without libc. I have found this blog (https://blogs.ora…
yeah, he did mention that. I wondered if I was one of the minority 32 bit builders. And working i…
Yes this is expected. Casey has mentioned this in some other topics. When game will come closer t…