<div dir="ltr"><div>Hello,</div><div>I am shipping my app (<a href="https://ossia.io">https://ossia.io</a>) with an embedded clang to allow people to write extensions in C++ at run-time. <br></div><div><br></div><div>For that to work I also ship a SDK with all the required headers, libc++, etc... which is downloaded & extracted in some folder.</div><div><br></div><div>Problem is: while on my linux dev. machine this operation is fast, apparently on Windows and mac extracting a .zip with a few thousand files takes the better part of a decade - just downloading the sdk.zip makes my Safari get stuck for ten minutes as this idiot tries to extract it itself (see the sdk files there: <a href="https://github.com/ossia/score/releases/tag/v3.0.0-a14-1">https://github.com/ossia/score/releases/tag/v3.0.0-a14-1</a>).</div><div><br></div><div>My question is: is it possible to hook something in clang to allow it to go look for files inside a virtual file system à la <a href="https://github.com/yevgeniy-logachev/vfspp">https://github.com/yevgeniy-logachev/vfspp</a> for instance ? This way I would only download the zip, not extract it, and it'd be just opened in ram when needed. <br></div><div>Or does it necessarily go through fopen() for includes right now ? <br></div><div><br></div><div>Kind regards,</div><div>Jean-Michaël<br></div><br></div>