Andes Workshop
http://forum.andestech.com/

specify *.ld file
http://forum.andestech.com/viewtopic.php?f=16&t=862
Page 1 of 1

Author:  cindy [ Mon Jun 30, 2014 2:57 pm ]
Post subject:  specify *.ld file

You can use -T to specify *.ld file.

Attachment:
pic1.png
pic1.png [ 56.61 KiB | Viewed 3243 times ]


Attachment:
pic.png
pic.png [ 72.72 KiB | Viewed 3243 times ]


nds32le-elf-gcc -Os -nostartfiles -static -T ../nds32.ld -Wl,-Map,link.map -mrelax crt0.o init-default.o init-soc.o interrupt.o main.o uart.o -o demo-int.elf

Sample code:
Attachment:
demo-int.zip [415.36 KiB]
Downloaded 210 times

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/