mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
559b024e1d
We can now link even smaller Python binaries. For example, the hello.com program in the Python build directory is a compiled linked executable of hello.py which just prints hello world. Using decentralized sections, we can make that binary 1.9mb in size (noting that python.com is 6.3 megs!) This works for nontrivial programs too. For example, say we want an APE binary that's equivalent to python.com -m http.server. Our makefile now builds such a binary using the new launcher and it's only 3.2mb in size since Python sources get turned into ELF objects, which tell our linker that we need things like native hashing algorithm code.
18 lines
812 B
C
18 lines
812 B
C
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FSCTL_H_
|
|
#define COSMOPOLITAN_LIBC_NT_ENUM_FSCTL_H_
|
|
|
|
#define kNtFsctlDisableLocalBuffering 0x000902B8u
|
|
#define kNtFsctlFilePrefetch 0x00090120u
|
|
#define kNtFsctlFilesystemGetStatistics 0x00090060u
|
|
#define kNtFsctlGetCompression 0x0009003Cu
|
|
#define kNtFsctlGetNtfsFileRecord 0x00090068u
|
|
#define kNtFsctlGetNtfsVolumeData 0x00090064u
|
|
#define kNtFsctlQueryAllocatedRanges 0x000940CFu
|
|
#define kNtFsctlScrubData 0x000902B0u
|
|
#define kNtFsctlSetCompression 0x0009C040u
|
|
#define kNtFsctlSetSparse 0x000900C4u
|
|
#define kNtFsctlSetZeroData 0x000980C8u
|
|
#define kNtFsctlGetReparsePoint 0x000900a8u
|
|
#define kNtFsctlSetReparsePoint 0x000900a4u
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FSCTL_H_ */
|