Commit graph

51 commits

Author SHA1 Message Date
Joerg Wunsch
c02fa49b4d Oops, a double slash sneaked into the linker spec, causing GCC to
recurse infinitely, until it hit an abort().
2005-09-01 20:52:38 +00:00
Joerg Wunsch
d704479608 Add back support for the ATmega165. 2005-09-01 05:22:23 +00:00
Joerg Wunsch
d57a2a1f0b Fix the linker command (in GCC's specs file) for the AT90PWM2/3
controllers.

Approved by:	portmgr (linimon)
2005-08-17 14:41:01 +00:00
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
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04:41 +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
9fb4769a6a Do also set IGNORE when running against a too old version of Perl
where we can't build the docs.

Hinted by:	kris
2005-01-27 22:56:11 +00:00
Joerg Wunsch
58d1f498c1 Require a sufficiently current Perl to be installed, as opposed to a
sufficiently current version of FreeBSD.

Submitted by:	vs
2005-01-27 14:50:57 +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
b2c7001f56 Fix pkg-plist. (Remove two shared directories.) 2004-12-27 15:47:51 +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
Ade Lovett
1a628ded35 Sync with new bsd.autotools.mk 2004-06-04 17:29:38 +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
Kris Kennaway
c590828233 BROKEN on !i386 and !alpha: Does not build 2004-03-29 07:04:47 +00:00
Joerg Wunsch
8c2f3a42b2 Upgrade to version 3.3.2. 2004-03-03 21:23:29 +00:00
Joe Marcus Clarke
186b8ba82f Add USE_GETTEXT and bump PORTREVISION.
Submitted by:	trevor
Tested by:	bento
2004-02-04 04:36:30 +00:00
Trevor Johnson
78da40aa98 Now gettext 0.12.1 is gettext-old. 2004-01-23 18:12:26 +00:00
Joerg Wunsch
7273f535bc Update this port to the released version 3.3.1 of gcc.
Utilize INFO while i was at it.

Some minor cosmetic issues are still open with this port, but i won't
be able to catch that before the ports freeze.
2003-09-09 21:16:21 +00:00
Gerald Pfeifer
ee9d9081d4 Fix COMMENT.
Approved by:	joerg (maintainer)
2003-08-24 16:46:06 +00:00
Joerg Wunsch
700aaf68e2 Update to a recent snapshot. Some AVR-related bugs have been fixed since. 2003-07-20 19:35:27 +00:00
Joerg Wunsch
61b78439f1 Update this suite to a current snapshot of gcc 3.3. Quite a few AVR-related
fixes have been made to gcc recently.
2003-05-11 19:32:20 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +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
Maxim Sobolev
499f6035b3 Use USE_PERL5_BUILD where appropriate, instead of hardcoding
${PORTSDIR}/lang/perl5 as a dependency.

Sponsored by:	Porta Software Ltd
Approved by:	portmgr
2002-11-28 18:05:49 +00:00
Joerg Wunsch
ef9626d6e2 Add the forgotten dependency to gettext. This fixes the complaint
about the incorrect pkg-plist made in rev 1.17.
2002-10-10 10:47:27 +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
Kris Kennaway
eb3a58784d BROKEN: pkg-plist is incorrect 2002-10-05 22:35:01 +00:00
Joerg Wunsch
4302aff0b1 Fix the documentation build process. We need to depend it on perl.
Since the system's perl in -stable is too old (pod2man), we supply
pregenerated man pages in a separate distfile to help them out.
2002-09-01 19:46:49 +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
ea7c07d1dc Fix packaging list. 2002-06-04 15:50:32 +00:00
Joerg Wunsch
9e1f2236e0 Update to gcc 3.0.1. 2001-10-10 17:18:53 +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
385215a69e Ooops, the PKGNAMEPREFIX got accidentally dropped. 2001-08-12 16:33:45 +00:00
Joerg Wunsch
0ae4c387fe Another accidental omission from plist. 2001-08-12 16:26:44 +00:00
Joerg Wunsch
10357ef196 Forgot about a couple of stale entries in the plist. 2001-08-12 15:25:45 +00:00
Joerg Wunsch
985d9eea61 Upgrade to the released version of gcc 3.0. 2001-08-12 15:15:21 +00:00
Joerg Wunsch
0526b467be This gcc snapshot requires bison in order to build.
Submitted by:	bsd
2001-04-29 11:20:05 +00:00
Joerg Wunsch
ec076a8ac5 I forgot to update the master sites accordingly for the gcc snapshot
location.  Current list stolen from lang/gcc-devel.
2001-04-20 20:40:14 +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
f1bf3ec3b8 Finally get the avr-gcc port really compile on the alpha architecture,
by forcing the CFLAGS to -O -pipe.  Somehow, the alpha build always
tries to enforce a particular -mcpu=ev4 flag which of course cannot be
understood by the (AVR) xgcc later on.  This looks to me like a bug in
the cross-compilation environment of gcc, but i'm tired of actually
finding the bug.

The compiled result of avr-gcc MD5 compares equal to something build
from an IA32 host platform.
2001-03-16 13:26:27 +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
Joerg Wunsch
dae360a007 Argl. USE_AUTOCONF wasn't quite what i actually intented... Instead,
manually add the dependency for autoheader(1), but don't have the ports
infrastructure run `autoconf' (which clobbered the top-level configure
script).
2001-03-11 08:37:18 +00:00
Joerg Wunsch
94dd58691b Didn't notice before that this port actually uses GNU autoconf... This
should fix the port build on bento.

Still doesn't want to be built on the alpha arch, i'm not sure whether
i'll be able to fix that or whether i'll have to exclude it from the
alpha build.  In theory, since it's a cross-compiler already anyway, it
should be possible to build it on non-i386 platforms as well.
2001-03-10 20:45:38 +00:00