Specifications

hal.custom_newlib_flags
Identifier: CUSTOM_NEWLIB_FLAGS
Type: Unquoted string
Default Value: none
Destination File: public.mk
Description: Build a custom version of newlib with the specified space-separated compiler flags.
Restriction: The custom newlib build is placed in the <bsp root>/newlib directory, and is used only
for applications that utilize this BSP.
hal.enable_c_plus_plus
Identifier: ALT_NO_C_PLUS_PLUS
Type: Boolean assignment
Default Value: 1
Destination File: public.mk
Description: Enable support for a subset of the C++ language. This option increases code footprint by
adding support for C++ constructors. Certain features, such as multiple inheritance and exceptions are
not supported. If false, adds -DALT_NO_C_PLUS_PLUS to ALT_CPPFLAGS in public.mk, and reduces code
footprint.
Restriction: none
hal.enable_clean_exit
Identifier: ALT_NO_CLEAN_EXIT
Type: Boolean assignment
Default Value: 1
Destination File: public.mk
Description: When your application exits, close file descriptors, call C++ destructors, etc. Code
footprint can be reduced by disabling clean exit. If disabled, adds -DALT_NO_CLEAN_EXIT to
ALT_CPPFLAGS and -Wl, --defsym, exit=_exit to ALT_LDFLAGS in public.mk.
Restriction: none
hal.enable_exit
Identifier: ALT_NO_EXIT
Type: Boolean assignment
Default Value: 1
Destination File: public.mk
Description: Add exit() support. This option increases code footprint if your main() routine returns
or calls exit(). If false, adds -DALT_NO_EXIT to ALT_CPPFLAGS in public.mk, and reduces footprint.
Restriction: none
NII5V2
2015.05.14
Settings Reference
15-57
Nios II Software Build Tools Reference
Altera Corporation
Send Feedback