Skip to content

Commit 7019adf

Browse files
committed
[#415] Add comments in the Arm Hello World template to mention nosys.specs
1 parent 07ba8b1 commit 7019adf

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

plugins/ilg.gnumcueclipse.managedbuild.cross.arm/templates/projecttemplates/HelloWorld_CPP_Project/src/main.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ using namespace std;
1717
// For example, for toolchains derived from GNU Tools for Embedded,
1818
// to enable semi-hosting, the following was added to the linker:
1919
//
20-
// --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group
20+
// `--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group`
2121
//
2222
// Adjust it for other toolchains.
2323
//
24+
// If functionality is not required, to only pass the build, use
25+
// `--specs=nosys.specs`.
26+
//
2427

2528
int
2629
main()

plugins/ilg.gnumcueclipse.managedbuild.cross.arm/templates/projecttemplates/HelloWorld_CPP_Project/template.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ HelloWorld.sourceDir.description=Directory for hello world project source files
3131
HelloWorld.sourceDir.default=src
3232

3333
HelloWorld.semihostingOptions.label=Linker semi-hosting options:
34-
HelloWorld.semihostingOptions.description=Options to add the RDIMON library to enable semi-hosting.
34+
HelloWorld.semihostingOptions.description=Options to add the RDIMON library to enable semi-hosting. To disable stdio, use --specs=nosys.specs.
3535
HelloWorld.semihostingOptions.default=--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group

plugins/ilg.gnumcueclipse.managedbuild.cross.arm/templates/projecttemplates/HelloWorld_C_Project/src/main.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@
1919
* For example, for toolchains derived from GNU Tools for Embedded,
2020
* to enable semi-hosting, the following was added to the linker:
2121
*
22-
* --specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group
22+
* `--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group`
2323
*
2424
* Adjust it for other toolchains.
2525
*
26+
* If functionality is not required, to only pass the build, use
27+
* `--specs=nosys.specs`.
28+
*
2629
*/
2730

2831
int

plugins/ilg.gnumcueclipse.managedbuild.cross.arm/templates/projecttemplates/HelloWorld_C_Project/template.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ HelloWorld.sourceDir.description=Directory for hello world project source files
3131
HelloWorld.sourceDir.default=src
3232

3333
HelloWorld.semihostingOptions.label=Linker semi-hosting options:
34-
HelloWorld.semihostingOptions.description=Options to add the RDIMON library to enable semi-hosting.
34+
HelloWorld.semihostingOptions.description=Options to add the RDIMON library to enable semi-hosting. To disable stdio, use --specs=nosys.specs.
3535
HelloWorld.semihostingOptions.default=--specs=rdimon.specs -Wl,--start-group -lgcc -lc -lc -lm -lrdimon -Wl,--end-group

0 commit comments

Comments
 (0)