58 lines
2.0 KiB
Markdown
58 lines
2.0 KiB
Markdown
---
|
||
title: "Cross compilation is up."
|
||
type: archive
|
||
source: twitter
|
||
source_url: "https://x.com/NOTimothyLottes/status/2065832746757341482"
|
||
author: "NOTimothyLottes"
|
||
handle: NOTimothyLottes
|
||
post_id: "2065832746757341482"
|
||
date: 2026-06-13
|
||
archived: 2026-08-25
|
||
draft: false
|
||
tags:
|
||
- archive
|
||
- twitter
|
||
- NOTimothyLottes
|
||
description: "Cross compilation is up."
|
||
in_reply_to: ""
|
||
---
|
||
|
||
## Source
|
||
|
||
- URL: https://x.com/NOTimothyLottes/status/2065832746757341482
|
||
- Author: NOTimothyLottes (@NOTimothyLottes)
|
||
- Posted: 2026-06-13 16:24:42
|
||
|
||
## Thread
|
||
|
||
**1/** **@NOTimothyLottes** ^2065832746757341482
|
||
|
||
Cross compilation is up. Just like on windows with GCC I have to disable all warnings because there is no way to turn off “function called through a non-compatible type”. They obviously should have had warning IDs and an ID based disable.
|
||
|
||

|
||

|
||
|
||
Branches: [[archive/threads/NOTimothyLottes/2026-06-13-cross-compilation-is-up/2026-06-13-tomcr2100-interesting-font-does-it-have-a-name]]
|
||
|
||
**2/** **@NOTimothyLottes** ^2065833669516816492
|
||
|
||
Found my first of perhaps many Wine “fix me”s looks like they didn’t emulate NtQuerySystemInformation() for use to get the TSC time scalar. Also implies all PC devs do this wrong, else Valve would have had this implemented already.
|
||
|
||
**3/** **@never_released** ^2066021954486755450
|
||
|
||
**@NOTimothyLottes**
|
||
|
||
Intriguingly Microsoft documentation has this bit
|
||
|
||
The bit that worries me specifically is the non-guarantee "across live migration of virtual machines", although I don't expect games to care all that much about _that_?
|
||
|
||
https://learn.microsoft.com/en-us/windows/win32/sysinfo/acquiring-high-resolution-time-stamps#direct-tsc-usage
|
||
|
||

|
||
|
||
**4/** **@NOTimothyLottes** ^2066023880557281310
|
||
|
||
**@never_released**
|
||
|
||
It will be a sad day when we have to be concerned about VM migration while playing a game on a local machine
|