Andes Workshop

It is currently Thu Mar 28, 2024 8:56 pm

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: specify *.ld file
PostPosted: Mon Jun 30, 2014 2:57 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
You can use -T to specify *.ld file.

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


Attachment:
pic.png
pic.png [ 72.72 KiB | Viewed 7943 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 804 times


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group