C++ #6

Closed
opened 5 months ago by alexisvl · 0 comments
Owner

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'] ```
alexisvl closed this issue 2 months ago
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
Loading…
There is no content yet.