Murray Horn wrote:
> Hi everyone, I have compiled a lot of ARM projects for the SAM7S series
> with no problems. However whenever I compile one of the official ATMEL
> series of examples from softpack-1.4-at91sam7s-ek-web.zip I get the
> following output...
>
>
> make -k all
> make: *** virtual memory exhausted. Stop.
>
>
> Ive tried it in console and in YAGARTO IDE.
> I am using WINXP
> Make ver 3.80
> YAGARTO gcc: 4.2.2
>
> Has anyone else had such problems?
> Does it compile on anyone else's system?
>
> I have attached one of the ATMEL examples.(I had to 7zip it because a
> normal zip was large)
Maybe it's just a problem with make, see make bug #1517. Try with
Version 3.81 (maybe name the file make381.exe and use "make381 all" for
tests). If you want to stay with make 3.80 you may modify the makefile
to avoid EVAL.
I do not have the Yagarto toolchain installed here. So the results of my
tests are additional information which will not really help with your
setup but may provide additional information:
Building with DevkitARM (r23b, gcc 4.3.0, arm-eabi) and Sourcery-G++
2007q3 (gcc 4.2.1 arm-eabi with CS patches) does work using the files
from the package you have attached (just changed "CROSS" in the makefile
to arm-eabi- or arm-none-eabi-). I have used make 3.81 from the
mingw-project and also tested with make that comes with CS-G++
("cs-make", also based on 3.81-sources). No testing with hardware has
been done but the disassembly looks o.k.
If a make-update does not help an the problem is in the toolchain you
may install one of the other packages as a workaround. There should not
be any side-effect with the Yagarto tools since different prefixes are
used and as far as I can see the Atmel-code does not use any "specials".