Migration from Vinarma to Jagarti

This question should apply to so few people ...

I am busy handling the ARM C project from Winarm GCC 4.1.2 to Yagarto GCC 4.3.3.

I did not expect any differences and compiled my project using the same makefile and .ld files.

However, despite the fact that the Winarm version works in the Yagarto version, no. Processor - Atmel AT91SAM7S.

Any ideas on where to look would be most welcome. I think my assumption that the make file is a make file is incorrect or that the .ld file for Winarm is not applicable to Yagarto.

Since they are both GCC tools and appear to use the same linker, they must be compatible.

TIA

Completes.

+3
source share
4 answers

I agree that gcc and other binaries (ld) should be the same or close enough so that you don't notice the differences. but the startup code, whether it is yours or yours, and the C library can go a long way. It is enough to make the difference between success and failure when trying to use the same source and linker script. Now, if this is 100% your code, no libraries or other files used with WinARM or Yagarto, then this does not make much sense. 3.xx to 4.xx yes I had to twist my linker scripts, but 4.1.x - 4.3.x I don’t remember that there are problems there.

+3
source

: gcc gcc, , , . , , , , .

, .

, .

+3

WinARM YAGARTO gcc ld . gnu make - . .

OCD, OpenOCD. , , .

, , newlib.

, , binutils .

+2

, / - , . ABI FP- . , .

+2

Source: https://habr.com/ru/post/1709097/


All Articles