1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 23:23:07 +00:00

For #469 - Add support for C++ and mixed C/C++

WIP and for native modules. Required a few changes to headers and
some changes to JPM.
This commit is contained in:
Calvin Rose
2020-09-04 17:05:28 -05:00
parent 39032b45c9
commit 25156eb83e
6 changed files with 166 additions and 24 deletions

6
jpm.1
View File

@@ -71,9 +71,13 @@ $JANET_LIBPATH, or a reasonable default. See JANET_LIBPATH for more.
.TP
.BR \-\-compiler=$CC
Sets the compiler used for compiling native modules and standalone executables. Defaults
Sets the C compiler used for compiling native modules and standalone executables. Defaults
to cc.
.BR \-\-cpp\-compiler=$CXX
Sets the C++ compiler used for compiling native modules and standalone executables. Defaults
to c++..
.TP
.BR \-\-linker
Sets the linker used to create native modules and executables. Only used on windows, where