Discussion:
where to add the linker script path in C project ?
(too old to reply)
Hemanth Venkatappa
2014-02-12 10:19:44 UTC
Permalink
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??

-T /GOOD/memory.ld
Nicolas
2014-02-12 11:04:45 UTC
Permalink
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
Hemanth Venkatappa
2014-02-12 11:12:01 UTC
Permalink
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
Hemanth Venkatappa
2014-02-12 11:13:08 UTC
Permalink
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
Is there any other alternative ??
Nicolas
2014-02-12 13:54:05 UTC
Permalink
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
I never tried a C project with Momentics.
Hemanth Venkatappa
2014-02-13 07:34:03 UTC
Permalink
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
I never tried a C project with Moment
I creates a QNX c project now. But I am not able to find Project/Properties/QNX C/C++ Project/Linker/Other options . could you please tell me where exactly ??


To link the .ld file :should I use -T option ??
Nicolas
2014-02-13 09:16:31 UTC
Permalink
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
I never tried a C project with Moment
I creates a QNX c project now. But I am not able to find Project/Properties/QNX C/C++ Project/Linker/Other options . could you please tell me where exactly ??
To link the .ld file :should I use -T option ??
In "Project" menu, select "Properties".
In the "Properties" dialog box, on the left, select "QNX C/C++ Project".
On the right pane of the dialog box, select "Linker" tab. There is a
"Other options" entry.
Hemanth Venkatappa
2014-02-13 10:35:39 UTC
Permalink
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
I never tried a C project with Moment
I creates a QNX c project now. But I am not able to find Project/Properties/QNX C/C++ Project/Linker/Other options . could you please tell me where exactly ??
To link the .ld file :should I use -T option ??
In "Project" menu, select "Properties".
In the "Properties" dialog box, on the left, select "QNX C/C++ Project".
On the right pane of the dialog box, select "Linker" tab. There is a
"Other options" entry.
For linking the linker script file. Hoe to do that ??
Nicolas
2014-02-13 15:20:12 UTC
Permalink
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
I never tried a C project with Moment
I creates a QNX c project now. But I am not able to find Project/Properties/QNX C/C++ Project/Linker/Other options . could you please tell me where exactly ??
To link the .ld file :should I use -T option ??
In "Project" menu, select "Properties".
In the "Properties" dialog box, on the left, select "QNX C/C++ Project".
On the right pane of the dialog box, select "Linker" tab. There is a
"Other options" entry.
For linking the linker script file. Hoe to do that ??
Read the "ld" tool documentation.
Hemanth Venkatappa
2014-02-13 15:57:24 UTC
Permalink
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
Post by Nicolas
Post by Hemanth Venkatappa
I have created a c project as file-- new -- c project in qnx momentics IDE and it contains a linker script file as memory.ld. Could anyone tell me where to add the path below in the IDE ??
-T /GOOD/memory.ld
Project/Properties/QNX C/C++ Project/Linker/Other options
but I create a c project not QNX C or C++ project. So I dont have that option.
I never tried a C project with Moment
I creates a QNX c project now. But I am not able to find Project/Properties/QNX C/C++ Project/Linker/Other options . could you please tell me where exactly ??
To link the .ld file :should I use -T option ??
In "Project" menu, select "Properties".
In the "Properties" dialog box, on the left, select "QNX C/C++ Project".
On the right pane of the dialog box, select "Linker" tab. There is a
"Other options" entry.
For linking the linker script file. Hoe to do that ??
Read the "ld" tool documentation.
I read and though like that!! could you please help me ??

Continue reading on narkive:
Search results for 'where to add the linker script path in C project ?' (Questions and Answers)
8
replies
How to hand code an executable?
started 2013-08-06 13:29:04 UTC
programming & design
Loading...