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

@Joerg

I tried to compile the complete AVR tool chain like explained in avr-libc manual using cygwin. Everything compiled without errors.

But two questions:

During configuring of avr-libc I saw some statements like this:

"checking if avr-gcc support AT90CAN128... no"
"checking if avr-gcc support ATmega6450... no"

and so on (for all newer devices).
Is it normal? Does it reduce the function of avr-libc?

Also the binutils doesn't work after compiling.
ie: "as.exe" stops with error:
"Prozedureeinsprungpunkt _impure_ptr wurde in DLL cygwin1.dll nicht gefunden."
"Procedure step in point _impure_ptr not found in DLL cygwin1.dll" (free translation :wink: )
Any ideas hat could be the problem?

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

> "checking if avr-gcc support AT90CAN128... no"

You need a patched GCC in order to get support for the new devices.
All released version of GCC do not support them yet.

avr-libc's configuration script automatically adopts to the compiler's
capabilities here.

> Does it reduce the function of avr-libc?

The CRT files (C run-time startup code) for the new devices can't be
built unless your compiler supports them. Other than this, no further
restrictions are applied.

> "Prozedureeinsprungpunkt _impure_ptr wurde in DLL cygwin1.dll nicht gefunden."

That's a Cygwin problem, sorry, I can't help here.

If you set a

LANG=C

in your Cygwin shell before running the binary, you should get the
original English message for it. Please use this message to ask the
Cygwin people about it.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

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

Quote:
You need a patched GCC in order to get support for the new devices.
All released version of GCC do not support them yet.

I think there should be a note about this issue in avr-libc manual and README or INSTALL. Found nothing so far.

But anyway, thanks for help. Was just a try, I will wait for a new WinAVR release then.

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

If you've got WinAVR anyway, you can always use the (patched) GCC that
ships with WinAVR itself to build the new library version.

You need a few pieces from Cygwin in order to build it, but not too
much.

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.