Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: "hello world" program Compilation error using arm-elf -tools
PostPosted: Thu Jan 13, 2011 5:06 pm 
Offline

Joined: Thu Dec 30, 2010 6:49 pm
Posts: 38
Hi,

I am currently using arm-elf tool chain and when i run a simple program (hello world), i get the following error. When i used -v swithc, i see -lc is passed onto gcc but not able to figure out what this is. Can any one please help me on this?

gcc/arm-elf/4.0.1/arm-elf/bin/ld: cannot find -lc

Note: It was really difficult to build a ARM cross chain. I tried to use the one from codesourcery but it doesn't have all the header files eg: i want page.h which is not available in codesourcery. I tried to newlibc heade files but couldn't find it.

-Prashanth


Top
 Profile  
 
 Post subject: Re: "hello world" program Compilation error using arm-elf -tools
PostPosted: Thu Jan 20, 2011 1:15 pm 
Offline
User avatar

Joined: Wed May 12, 2004 6:59 pm
Posts: 161
Location: Bergamo, Italia
'ARM cross toolchain' is a generic term, would be more useful to know details about what are you trying to do and how.
Please post your Makefile and details about your toolchain.

_________________
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 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: