C++ #6

Closed
opened 2023-01-17 06:19:30 +00:00 by alexisvl · 0 comments

Some changes are needed to support C++; these are present in https://gitea.alexisvl.rocks/alexisvl/pdp1-fw:

Drop the C++ standard library and several features:

[built-in options]
c_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs']
cpp_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs', '-fno-use-cxa-atexit', '-fno-rtti', '-fno-exceptions', '-fno-threadsafe-statics']
c_link_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs']
cpp_link_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs', '-nostdlib', '-lc', '-lgcc', '-fno-rtti', '-fno-exceptions', '-fno-threadsafe-statics']
Some changes are needed to support C++; these are present in https://gitea.alexisvl.rocks/alexisvl/pdp1-fw: Drop the C++ standard library and several features: ``` [built-in options] c_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs'] cpp_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs', '-fno-use-cxa-atexit', '-fno-rtti', '-fno-exceptions', '-fno-threadsafe-statics'] c_link_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs'] cpp_link_args = ['-mabi=' + abi, '-march=' + arch, '--specs=nano.specs', '-nostdlib', '-lc', '-lgcc', '-fno-rtti', '-fno-exceptions', '-fno-threadsafe-statics'] ```
Sign in to join this conversation.
No Label
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: alexisvl/ch32v-template#6
There is no content yet.