Allow building apps in C++ mode #97

Merged
MartinFouilleul merged 1 commits from cpp_apps into main 2023-09-13 15:21:40 +00:00
Collaborator

Apps can be written in C++. CAVEAT: we don't have a C++ standard lib for Orca yet

  • you first have to compile the support library (orca.c + the libc shim) in C mode to object files.
  • you can then compile your C++ app and link the support library obj files to it.

An example build script is given in samples/clock/build_cpp.sh

Apps can be written in C++. **CAVEAT: we don't have a C++ standard lib for Orca yet** - you first have to compile the support library (orca.c + the libc shim) in C mode to object files. - you can then compile your C++ app and link the support library obj files to it. An example build script is given in `samples/clock/build_cpp.sh`
MartinFouilleul force-pushed cpp_apps from 5b230caf40 to a0f9ab5f85 2023-09-13 15:18:16 +00:00 Compare
MartinFouilleul changed title from WIP: Allow building apps in C++ mode to Allow building apps in C++ mode 2023-09-13 15:18:24 +00:00
MartinFouilleul merged commit a0f9ab5f85 into main 2023-09-13 15:21:40 +00:00
MartinFouilleul deleted branch cpp_apps 2023-09-13 15:21:40 +00:00
Sign in to join this conversation.
No reviewers
No Label
macOS
windows
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#97
No description provided.