Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Ads

Discussion Groups

Discussion Groups | AT91SAM ARM | Re: Arm Linking Problem

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

Re: Arm Linking Problem - 42Bastian - Feb 12 19:14:12 2008

> I am trying to get my code compiled and linked, but there seems to
> be a problem saying " undefined reference to `__udivsi3' "

Seems you try to link with ld. Try gcc(or g++ if you use C++) and
supply linker specific options with -Wl.

--
42Bastian



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


AW: Arm Linking Problem - "ICLI, Bekir (EXT)" - Feb 13 9:43:34 2008

Hi Bastian,

You are right, i was using ld. But with gcc i am having ".. uses hardware FP, whereas .. uses software FP" problem, although i am not saying anywhere it to be software fp. interestingly, i am not having such a problem at all, with ld.

Mit freundlichem Gruß / Best regards

Bekir ICLI

Siemens AG
Automation and Drives, Automation and Drives, A&D SC IC RD4
Tel. : +49 (721) 595-3280
mailto:b...@siemens.com
http://www.siemens.com/automation

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme
Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer;
Wolfgang Dehen, Heinrich Hiesinger, Joe Kaeser, Erich R. Reinhardt, Hermann Requardt,
Siegfried Russwurm, Peter Y. Solmssen
Registered offices: Berlin and Munich;
Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684
WEEE-Reg.-No. DE 23691322

________________________________

Von: A...@yahoogroups.com [mailto:A...@yahoogroups.com] Im Auftrag von 42Bastian
Gesendet: Dienstag, 12. Februar 2008 17:57
An: A...@yahoogroups.com
Betreff: Re: [AT91SAM] Arm Linking Problem

> I am trying to get my code compiled and linked, but there seems to
> be a problem saying " undefined reference to `__udivsi3' "

Seems you try to link with ld. Try gcc(or g++ if you use C++) and
supply linker specific options with -Wl.

--
42Bastian



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )