[FIXED] avr32-gcc make Error 3 when compiling UC3 Framework

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've given up on getting AVR32 Studio to work so I'm moving onto using gcc with Cygwin. I have the 2.4.2 version of the toolchain installed, as well as Flip for programming via DFU. Programming is now working just fine. When I try to compile any of the example programs, make always exits on an error while compiling the first source file:

    /cygdrive/c/avr/1.5.0-AT32UC3/applications/EVK1100 -CONTROL-PANEL/AT32UC3A0512_EVK1100/gcc
    $ make isp program run

    avr32-gcc (atmel-1.2.0-(mingw32_special)) 4.3.2
    Copyright (C) 2008 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    Compiling `../../../../DRIVERS/INTC/intc.c to `../../../../DRIVERS/INTC/intc.o.

    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    make: *** [../../../../DRIVERS/INTC/intc.o] Error 3

Any idea what's going on here? Googling around has given me a few hints that I might be missing something from my Cygwin install, but I've yet to determine what it is or if that's truly what's going on here.

Edit: Fixed! TEMP environment variable needed to be set using "export TEMP=/tmp".

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi
This also helped me in solving the same problem with mspgcc

Thanks :D