Port details |
- avr-gcc FSF GCC for Atmel AVR 8-bit RISC cross-development
- 14.2.0 devel
=5 14.2.0Version of this port present on the latest quarterly branch. - Maintainer: joerg@FreeBSD.org
 - Port Added: 2000-12-05 12:21:03
- Last Update: 2025-03-25 07:24:42
- Commit Hash: 976ffd7
- People watching this port, also watch:: xev, libpciaccess, gccmakedep, xrandr
- License: GPLv3 GPLv3RLE
- WWW:
- https://www.nongnu.org/avr-libc/
- Description:
- FSF gcc-4.x for Atmel AVR cross-development
Included is the basic C++ compiler, although this is only of limited
use without a libstdc++.
Supported debugging formats: -gdwarf-2 [default], -gstabs
Locally added support for the following AVR devices:
ATmega64RFR2, ATmega644RFR2, ATmega128RFR2, ATmega1284RFR2,
ATmega256RFR2, ATmega2564RFR2
See also: https://gcc.gnu.org/
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/devel/avr-gcc/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/avr-gcc
- pkg install avr-gcc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: avr-gcc
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1742765383
SHA256 (gcc-14.2.0.tar.xz) = a7b39bc69cbf9e25826c5a60ab26477001f7c08d85cec04bc0e29cabed6f3cc9
SIZE (gcc-14.2.0.tar.xz) = 92306460
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- avr-as : devel/binutils@avr
- avr-ld : devel/binutils@avr
- objdump : devel/binutils
- bison : devel/bison
- gmake>=4.4.1 : devel/gmake
- makeinfo : print/texinfo
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- msgfmt : devel/gettext-tools
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- avr-as : devel/binutils@avr
- avr-ld : devel/binutils@avr
- indexinfo : print/indexinfo
- Library dependencies:
-
- libgmp.so : math/gmp
- libisl.so : devel/isl
- libmpc.so : math/mpc
- libmpfr.so : math/mpfr
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- devel/avr-libc
- devel/simavr
- for Run
-
- devel/arduino-tools
- devel/avr-libc
- sysutils/py-qmk
Configuration Options:
- ===> The following configuration options are available for avr-gcc-14.2.0:
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
- Options name:
- devel_avr-gcc
- USES:
- bison compiler:c++11-lang cpe gmake iconv libtool localbase makeinfo perl5 tar:xz gettext
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.4.3 27 Jan 2005 22:56:11
 |
joerg  |
Do also set IGNORE when running against a too old version of Perl
where we can't build the docs.
Hinted by: kris |
3.4.3 27 Jan 2005 14:50:58
 |
joerg  |
Require a sufficiently current Perl to be installed, as opposed to a
sufficiently current version of FreeBSD.
Submitted by: vs |
3.4.3 27 Jan 2005 09:51:36
 |
joerg  |
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. |
3.4.1 27 Dec 2004 15:47:51
 |
joerg  |
Fix pkg-plist. (Remove two shared directories.) |
3.4.1 07 Jul 2004 19:49:07
 |
joerg  |
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. |
3.4.1 07 Jul 2004 11:29:23
 |
joerg  |
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. |
3.4.0 04 Jun 2004 17:29:38
 |
ade  |
Sync with new bsd.autotools.mk |
3.4.0 28 Apr 2004 20:53:34
 |
joerg  |
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. |
3.3.2 29 Mar 2004 07:04:47
 |
kris  |
BROKEN on !i386 and !alpha: Does not build |
3.3.2 03 Mar 2004 21:23:30
 |
joerg  |
Upgrade to version 3.3.2. |
3.3.1_1 04 Feb 2004 04:36:30
 |
marcus  |
Add USE_GETTEXT and bump PORTREVISION.
Submitted by: trevor
Tested by: bento |
3.3.1 23 Jan 2004 18:12:26
 |
trevor  |
Now gettext 0.12.1 is gettext-old. |
3.3.1 09 Sep 2003 21:16:21
 |
joerg  |
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. |
3.3.2003.07.07 24 Aug 2003 16:46:06
 |
gerald  |
Fix COMMENT.
Approved by: joerg (maintainer) |
3.3.2003.07.07 20 Jul 2003 19:35:27
 |
joerg  |
Update to a recent snapshot. Some AVR-related bugs have been fixed since. |
3.3.2003.05.11 11 May 2003 19:32:20
 |
joerg  |
Update this suite to a current snapshot of gcc 3.3. Quite a few AVR-related
fixes have been made to gcc recently. |
3.3.2003.01.08_1 07 Mar 2003 06:01:16
 |
ade  |
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.
E Nomini Patri, E Fili, E Spiritu Sancti. |
3.3.2003.01.08_1 20 Jan 2003 09:32:48
 |
joerg  |
Replace my old 16 bit IO register assignment hack by an authoritative
patch by the avr-gcc maintainers.
Bump portrevision for that. |
3.3.2003.01.08 08 Jan 2003 22:44:41
 |
joerg  |
Update to a more recent snapshot, now taken from gcc's 3.3 branch instead
of the head of CVS. |
3.3.2002.10.01 28 Nov 2002 18:05:49
 |
sobomax  |
Use USE_PERL5_BUILD where appropriate, instead of hardcoding
${PORTSDIR}/lang/perl5 as a dependency.
Sponsored by: Porta Software Ltd
Approved by: portmgr |
3.3.2002.10.01 10 Oct 2002 10:47:28
 |
joerg  |
Add the forgotten dependency to gettext. This fixes the complaint
about the incorrect pkg-plist made in rev 1.17. |
3.3.2002.10.01 06 Oct 2002 18:21:41
 |
joerg  |
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 `.'. |
3.3.2002.09.01 05 Oct 2002 22:35:02
 |
kris  |
BROKEN: pkg-plist is incorrect |
3.3.2002.09.01 01 Sep 2002 19:46:49
 |
joerg  |
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. |
3.3.2002.09.01 01 Sep 2002 12:13:57
 |
joerg  |
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. |
3.3-2002-08-12 12 Aug 2002 14:04:09
 |
joerg  |
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. |
3.2-2002-06-28 03 Jul 2002 19:33:43
 |
joerg  |
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. |
3.2-2002-06-28 03 Jul 2002 19:20:58
 |
joerg  |
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. |
3.0.1 04 Jun 2002 15:50:33
 |
joerg  |
Fix packaging list. |
10 Oct 2001 18:18:53
    |
joerg  |
Update to gcc 3.0.1. |
12 Aug 2001 21:18:25
    |
joerg  |
Include the C++ compiler. Certainly of limited use for a microcontroller, but
i got interested to get a complex FFT working. |
12 Aug 2001 17:33:45
    |
joerg  |
Ooops, the PKGNAMEPREFIX got accidentally dropped. |
12 Aug 2001 17:26:45
    |
joerg  |
Another accidental omission from plist. |
12 Aug 2001 16:25:45
    |
joerg  |
Forgot about a couple of stale entries in the plist. |
12 Aug 2001 16:15:21
    |
joerg  |
Upgrade to the released version of gcc 3.0. |
29 Apr 2001 12:20:06
    |
joerg  |
This gcc snapshot requires bison in order to build. |
20 Apr 2001 21:40:14
    |
joerg  |
I forgot to update the master sites accordingly for the gcc snapshot location.
Current list stolen from lang/gcc-devel. |
20 Apr 2001 14:52:29
    |
joerg  |
Upgrade to a development snapshot of gcc-3. Target `avr' is now supported
natively, so no external patches needed anymore. |
16 Mar 2001 13:26:28
    |
joerg  |
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. |
15 Mar 2001 17:02:30
    |
joerg  |
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. |
11 Mar 2001 08:37:18
    |
joerg  |
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). |
10 Mar 2001 20:45:39
    |
joerg  |
Didn't notice before that this port actually uses GNU autoconf... This should
fix the port build on bento. |
05 Dec 2000 15:21:03
    |
joerg  |
Atmel AVR cross-development, part #2: the C compiler. |