2015-12-23 04:22:40 +08:00
|
|
|
# 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
|
2017-10-01 06:20:12 +08:00
|
|
|
main() and making the exit syscall when main returns.
|
2015-12-23 04:22:40 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2016-02-28 13:06:46 +08:00
|
|
|
Write the target-specific code in the standard library.
|
2016-01-26 14:21:13 +08:00
|
|
|
|
|
|
|
Update the C integer types to be the correct size for the target.
|
2016-01-28 12:10:38 +08:00
|
|
|
|
2017-08-21 05:30:02 +08:00
|
|
|
Make sure that `c_longdouble` codegens the correct floating point value.
|