You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
koka -v2 --cc="zigcc" --ccopts="-target native-native-musl -static" echo.kk
cd .koka/v2.4.0/gcc-debug/
zig cc *.o -target native-native-musl -o echo
Pain points
--cc=<bin> doesn't accept command prefix like zig cc; instead it treats argv[0] as "zig cc".
Even -v2 doesn't show the linking command.
No way to specify custom C linker.
No way to stop after compiling to C source. I need an "dry-run" option that outputs the command need to compile the project, so I can integrate Koka into other build systems.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Working Example
echo.kk:
To compile:
Pain points
--cc=<bin>
doesn't accept command prefix likezig cc
; instead it treats argv[0] as "zig cc".-v2
doesn't show the linking command.Beta Was this translation helpful? Give feedback.
All reactions