2015-12-22 12: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
|
|
|
|
main(argc, argv, env) 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.
|
|
|
|
|
2016-02-27 21:06:46 -08:00
|
|
|
Write the target-specific code in the standard library.
|
2016-01-25 22:21:13 -08:00
|
|
|
|
|
|
|
Update the C integer types to be the correct size for the target.
|
2016-01-27 20:10:38 -08:00
|
|
|
|
2016-01-31 14:44:02 -08:00
|
|
|
Make sure that `c_long_double` codegens the correct floating point value.
|