From 3abf293a84b4dc052c0d735018db520eade6274b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 6 Feb 2019 11:52:36 -0500 Subject: [PATCH] doc/targets.md has moved to the github wiki https://github.com/ziglang/zig/wiki/How-to-Add-Support-For-More-Targets --- doc/targets.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 doc/targets.md diff --git a/doc/targets.md b/doc/targets.md deleted file mode 100644 index e5c6ab5534..0000000000 --- a/doc/targets.md +++ /dev/null @@ -1,15 +0,0 @@ -# How to Add Support For More Targets - -Create bootstrap code in std/bootstrap.zig and add conditional compilation -logic. This code is responsible for the real executable entry point, calling -main() and making the exit syscall when main returns. - -How to pass a byvalue struct parameter in the C calling convention is -target-specific. Add logic for how to do function prototypes and function calls -for the target when an exported or external function has a byvalue struct. - -Write the target-specific code in the standard library. - -Update the C integer types to be the correct size for the target. - -Make sure that `c_longdouble` codegens the correct floating point value.