Commit graph

18 commits

Author SHA1 Message Date
Joerg Wunsch
dabc6d3c63 Remove a superfluous part of a patch (patching a .orig file resulting from
a previous patch).

No PORTREVISION bump as the resulting binaries are identical.
2005-08-01 13:48:52 +00:00
Joerg Wunsch
4f725f7b2f Upgrade AVR-GCC to GCC-3.4.4.
By the same time, combine all the patches that add support for new AVR
devices into a single patch, as they all touch the same three source
files.  In total, add support for the following AVR devices that were
not supported by the stock GCC 3.4.x:

  ATtiny13/ATtiny2313
  ATtiny25/ATtiny45/ATtiny85
  ATmega48/ATmega88/ATmega168
  AT90PWM2/AT90PWM3
  ATmega164/ATmega324/ATmega644
  ATmega325/ATmega3250/ATmega645/ATmega6450
  ATmega329/ATmega3290/ATmega649/ATmega6490
  AT90CAN128

(This is now documented in pkg-descr as well.)
2005-07-30 21:28:49 +00:00
Joerg Wunsch
96fe03484f Bring in some patches from the head of GCC's CVS back to the latest
released version, 3.4.3.  This mainly adds support for new AVR devices
that appeared on the market recently, and fixes a bug related to the
order of assignments for volatile uint16_t * objects (in the
assumption they might point to IO space where the order of two 8-bit
operations can be important).
2005-03-10 21:14:44 +00:00
Joerg Wunsch
498f4c719f Upgrade to GCC version 3.4.3.
Note that I do not longer support FreeBSD 4.x at this point, as their
system-provided Pod::Man is way too old, and I'm tired of rolling that
extra man page tarball.  Software developers can IMHO reasonably be
expected to run some version of FreeBSD 5.x these days.
2005-01-27 09:51:36 +00:00
Joerg Wunsch
464f3cfdfa Switch from MASTER_SITE_GNU to MASTER_SITE_GCC; it seems the GNU mirrors
aren't up-to-date for GCC these days.

Also, document the 0b binary constants hack committed a few hours ago.
2004-07-07 19:49:07 +00:00
Joerg Wunsch
d04fd3fae8 Upgrade AVR-GCC to GCC 3.4.1.
Also included is a local hack to allow for 0bXXX binary constants,
since this appears to be a frequently requested item in the AVR
developers community.

The GCC configuration is tuned to allow for both, -gstabs [the default
if only -g is given], and -gdwarf-2 debugging options.  ELF/DWARF-2 is
the emerging format as promoted by Atmel, and is intented to be
directly usable in their AVR Studio simulator in future.  Eventually,
AVR-GDB will fully support DWARF-2 debugging as well some day.
2004-07-07 11:29:23 +00:00
Joerg Wunsch
a147ec1d20 Upgrade to GCC 3.4.0.
This also makes the port compile (again) under all 64-bit archs.  For
amd64, patch-ad modifies config.guess to match GCC's expectation of
x86_64.
2004-04-28 20:53:33 +00:00
Joerg Wunsch
0baf37d9f9 Replace my old 16 bit IO register assignment hack by an authoritative
patch by the avr-gcc maintainers.

Bump portrevision for that.
2003-01-20 09:32:48 +00:00
Joerg Wunsch
4310ca870e Update to a more recent snapshot, now taken from gcc's 3.3 branch instead
of the head of CVS.
2003-01-08 22:44:41 +00:00
Joerg Wunsch
0c7b82aff6 Update to a recent snapshot. Among others, this fixes an issue with
the generation of code that fed up recent versions of gas.  The
pseudo-symbol _PC_ is now completely eliminated from the generated
code, and replaced by the location counter `.'.
2002-10-06 18:21:40 +00:00
Joerg Wunsch
49ba60eebe Update to version 2002.09.01. Included are a couple of private
patches that were floating through the avr-gcc and avr-libc
mailinglists, just for the time being until they might have been
integrated into gcc's CVS.

Portname changed from dashes in the snap date to dots so portupgrade
doesn't get confused about it.  Thanks to Brian Dean for the hint.
2002-09-01 12:13:57 +00:00
Joerg Wunsch
d447dfda79 Now that gcc renamed the head of their CVS from 3.2 to 3.3, update this
port since avr-libc-current has avr-gcc 3.3 as their prerequisite.
2002-08-12 14:04:09 +00:00
Joerg Wunsch
d7e48044a5 Forgot to cvs add this patch in the previous commit. It (finally!) omits
re-installing avr-c++filt which is already present from avr-binutils.
2002-07-03 19:33:43 +00:00
Joerg Wunsch
d6adec0038 Mega-upgrade of the AVR GNU toolchain, step #2:
Upgrade to a development version of GCC 3.2.  New AVR microcontrollers are
introduced with faster pace than new versions of GCC :), so we need the
development version to support recent AVR chips (like the ATmega 128).

Alas, official GCC snapshot tarballs still track the 3.1.x branch, so i
got to CVS checkout and roll my own tarball.
2002-07-03 19:20:58 +00:00
Joerg Wunsch
94b00b5e27 Include the C++ compiler. Certainly of limited use for a
microcontroller, but i got interested to get a complex FFT working.

No stdlibc++ support at this time.
2001-08-12 20:18:25 +00:00
Joerg Wunsch
985d9eea61 Upgrade to the released version of gcc 3.0. 2001-08-12 15:15:21 +00:00
Joerg Wunsch
dc5fae400f Upgrade to a development snapshot of gcc-3. Target `avr' is now
supported natively, so no external patches needed anymore.

Note that this port requires up-to-date avr-binutils, since a few things
in the assembler syntax have been changed.

Not yet tested on the alpha platform.
2001-04-20 13:52:28 +00:00
Joerg Wunsch
8cf5d0f539 Crude hack to get all this running on the alpha architecutre as well.
Since gcc (in the assumption of generating a native compiler) doesn't
want to cbe configured for an alpha*-*-freebsd* system, we hack the
configure script to allow this (similarly to netbsd).  In the end, all
this will be ignored anyway since it's getting to become a
cross-compiler.
2001-03-15 17:02:30 +00:00