| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 10 Jan 2026 13:42:16 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100904045058
location: https://web.archive.org/web/20100904045058/https://avr-gcc.darwinports.com/
server-timing: captures_list;dur=0.655565, exclusion.robots;dur=0.064317, exclusion.robots.policy;dur=0.051995, esindex;dur=0.010574, cdx.remote;dur=26.726352, LoadShardBlock;dur=251.057461, PetaboxLoader3.datanode;dur=199.592544, PetaboxLoader3.resolve;dur=12.499806
x-app-server: wwwb-app246-dc8
x-ts: 302
x-tr: 318
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app246; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 10 Jan 2026 13:42:17 GMT
content-type: text/html
x-archive-orig-date: Sat, 04 Sep 2010 04:50:22 GMT
x-archive-orig-server: Apache
x-archive-orig-vary: Accept-Encoding
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: iso-8859-1
memento-datetime: Sat, 04 Sep 2010 04:50:58 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_17_20100904021508_crawl100-c/51_17_20100904045018_crawl103.arc.gz
server-timing: captures_list;dur=0.790746, exclusion.robots;dur=0.021009, exclusion.robots.policy;dur=0.008319, esindex;dur=0.011914, cdx.remote;dur=51.975507, LoadShardBlock;dur=230.856741, PetaboxLoader3.datanode;dur=140.546145, PetaboxLoader3.resolve;dur=180.033094, load_resource;dur=260.437062
x-app-server: wwwb-app246-dc8
x-ts: 200
x-tr: 664
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Avr-gcc version 4.0.2 - How to Download and Install on Mac OS X
|
|||||||||
Friday the 3rd of September, 2010 |
|||||||||
avr-gcc most recent diffversion 4.0.2
Scroll down toward the bottom of the page to get installation instructions for avr-gcc. The raw portfile for avr-gcc 4.0.2 is located here: https://avr-gcc.darwinports.com/dports/cross/avr-gcc/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/avr-gcc The avr-gcc Portfile 59969 2009-10-28 06:52:19Z pguyot PortSystem 1.0 Name: avr-gcc Version: 4.0.2 # Parameters for this port. set crossgcc-target avr set default-languages --enable-languages="c,c++" Description: gcc cross-compilers for avr Long Description: GNU compilers collection (c and c++) for avr. Homepage: https://gcc.gnu.org/ Platform: darwin Category: cross devel Maintainers: gmail.com:metamagix Master Sites: gnu:gcc/gcc-${version}/ distfiles gcc-${version}.tar.bz2 worksrcdir gcc-${version} Checksums: md5 a659b8388cac9db2b13e056e574ceeb0 sha1 f1b714c6398393d8f7f4ad5be933b462a95b075d rmd160 70c7e21820da4d29ce6e8e48329d906ee19333aa # All cross ports violate the mtree layout. destroot.violate_mtree yes # Download everything to gcc/ dist_subdir gcc depends_lib bin:${crossgcc-target}-ar:${crossgcc-target}-binutils bin:${crossgcc-target}-as:${crossgcc-target}-binutils bin:${crossgcc-target}-ld:${crossgcc-target}-binutils bin:${crossgcc-target}-nm:${crossgcc-target}-binutils bin:${crossgcc-target}-ranlib:${crossgcc-target}-binutils depends_build bin:msgfmt:gettext # gcc is .bz2. use_bzip2 yes # Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform # program names as gcc's name (add -${version} with ${version} being the version of gcc). # But it won't work because binutils binaries don't have the ${version} suffix, and even if they # had, they would actually have the binutils' version suffix (and not gcc's version). # So let's tell gcc's Makefile not to do that mistake. set environment [list AR_FOR_TARGET=${crossgcc-target}-ar AS_FOR_TARGET=${crossgcc-target}-as LD_FOR_TARGET=${crossgcc-target}-ld NM_FOR_TARGET=${crossgcc-target}-nm RANLIB_FOR_TARGET=${crossgcc-target}-ranlib] # Build in a different directory, as advised in the README file. pre-configure { file mkdir "${workpath}/build" } configure.dir ${workpath}/build configure.cmd ${workpath}/gcc-${version}/configure configure.cc "cc -no-cpp-precomp" configure.env ${environment} configure.args --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --target=${crossgcc-target} --program-prefix=${crossgcc-target}- --with-included-gettext --enable-obsolete --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ ${default-languages} build.dir ${workpath}/build build.args ${environment} destroot.args ${environment} Patch Files: gcc-config-avr-avr.c.diff gcc-config-avr-avr.h.diff gcc-config-avr-t-avr.diff platform darwin 9 { patchfiles-append gcc-config-rs6000-host-darwin.c.diff } post-patch { namespace eval crossgcc {} # Fix the info pages and related stuff. # # path: path to the doc directory (e.g. gas/doc/) # makefile: path to Makefile.in (e.g. gas/doc/Makefile.in) # name: name of the info page (e.g. as) # suffix: suffix of the souce page (texinfo or texi) proc crossgcc::fixinfo { path makefile name suffix } { global crossgcc-target worksrcpath # Fix the source reinplace "s|setfilename ${name}.info|setfilename ${crossgcc-target}-${name}.info|g" ${worksrcpath}/${path}/${name}.${suffix} reinplace "s|(${name})|(${crossgcc-target}-${name})|g" ${worksrcpath}/${path}/${name}.${suffix} reinplace "s| # Fix the Makefile reinplace "s| ${name}.info| ${crossgcc-target}-${name}.info|g" ${worksrcpath}/${makefile} reinplace "s|/${name}.info|/${crossgcc-target}-${name}.info|g" ${worksrcpath}/${makefile} reinplace "s|^${name}.info|${crossgcc-target}-${name}.info|g" ${worksrcpath}/${makefile} reinplace "s| ${name}.pod| ${crossgcc-target}-${name}.pod|g" ${worksrcpath}/${makefile} reinplace "s|/${name}.pod|/${crossgcc-target}-${name}.pod|g" ${worksrcpath}/${makefile} reinplace "s|^${name}.pod|${crossgcc-target}-${name}.pod|g" ${worksrcpath}/${makefile} reinplace "s| ${name}.${suffix}| ${crossgcc-target}-${name}.${suffix}|g" ${worksrcpath}/${makefile} reinplace "s|/${name}.${suffix}|/${crossgcc-target}-${name}.${suffix}|g" ${worksrcpath}/${makefile} reinplace "s|^${name}.${suffix}|${crossgcc-target}-${name}.${suffix}|g" ${worksrcpath}/${makefile} # Rename the source file rename ${worksrcpath}/${path}/${name}.${suffix} ${worksrcpath}/${path}/${crossgcc-target}-${name}.${suffix} # Fix install-info's dir. # (note: this may be effectless if there was no info dir to be fixed) reinplace "s|--info-dir=\$(DESTDIR)\$(infodir)|--dir-file=\$(DESTDIR)\$(infodir)/${crossgcc-target}-gcc-dir|g" "${worksrcpath}/${makefile}" } # Fix the gettext files and related stuff. # # module: name of the module (e.g. gas) proc crossgcc::fixgettext { module } { global crossgcc-target worksrcpath if { [ file exists "${worksrcpath}/${module}/Makefile.in" ] } { reinplace "s| } if { [ file exists "${worksrcpath}/${module}/doc/Makefile.in" ] } { reinplace "s| } if { [ file exists "${worksrcpath}/${module}/po/Make-in" ] } { reinplace "s| } } # gcc/doc/cpp.texi crossgcc::fixinfo gcc/doc/ gcc/Makefile.in cpp texi # gcc/doc/cppinternals.texi crossgcc::fixinfo gcc/doc/ gcc/Makefile.in cppinternals texi # gcc/doc/gcc.texi crossgcc::fixinfo gcc/doc/ gcc/Makefile.in gcc texi # gcc/doc/gccint.texi crossgcc::fixinfo gcc/doc/ gcc/Makefile.in gccint texi # gcc/f/g77.texi crossgcc::fixinfo gcc/fortran/ gcc/fortran/Make-lang.in gfortran texi # gcc/java/gcj.texi crossgcc::fixinfo gcc/java/ gcc/java/Make-lang.in gcj texi # fastjar/fastjar.texi crossgcc::fixinfo fastjar/ fastjar/Makefile.in fastjar texi # gcc/doc/gccinstall.info crossgcc::fixinfo gcc/doc/ gcc/Makefile.in gccinstall info # gettext stuff. crossgcc::fixgettext gcc crossgcc::fixgettext fastjar } pre-destroot { # gcc needs the cross directory structure to be present # in order to fill it during installation. file mkdir "${destroot}/${prefix}/${crossgcc-target}/bin" file mkdir "${destroot}/${prefix}/${crossgcc-target}/lib" } post-destroot { namespace eval crossgcc {} # Rename a man page if it exists. # # section: section of the man page (e.g. 1) # manpage: name of the man page (e.g. cpp) proc crossgcc::rename_man_page { section manpage } { global crossgcc-target destroot prefix set manpage_path "${destroot}/${prefix}/share/man/man${section}/${manpage}.${section}" if { [ file exists ${manpage_path} ] } { file rename ${manpage_path} "${destroot}/${prefix}/share/man/man${section}/${crossgcc-target}-${manpage}.${section}" } } # Stuff I don't want (either because they're in the system # or because they would conflict with other FSF ports) # (it's easier for maintainability purposes to fix things here) # aliases for locales (should be on the system) file delete "${destroot}/${prefix}/share/locale/locale.alias" # FSF propaganda (should already be there or would conflict) file delete -force "${destroot}/${prefix}/share/man/man7" # (host) libiberty file delete "${destroot}/${prefix}/lib/libiberty.a" # aliases for charsets (should already be there) file delete "${destroot}/${prefix}/lib/charset.alias" # Remove man pages for tools that are not built as part of cross-gcc file delete "${destroot}/${prefix}/share/man/man1/rmic.1" file delete "${destroot}/${prefix}/share/man/man1/rmiregistry.1" file delete "${destroot}/${prefix}/share/man/man1/jv-convert.1" file delete "${destroot}/${prefix}/share/man/man1/gij.1" # For some reason, some man pages are not prefixed while they should have been # (to avoid conflicting). crossgcc::rename_man_page 1 cpp crossgcc::rename_man_page 1 gcjh crossgcc::rename_man_page 1 gcov crossgcc::rename_man_page 1 jcf-dump crossgcc::rename_man_page 1 jv-scan # There is a bug in gcc/Makefile::install-driver # For cross compilers, $(GCC_INSTALL_NAME) is equal to # $(target_noncanonical)-gcc-$(version) # and hence the driver isn't installed. xinstall -c "${workpath}/build/gcc/xgcc" "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}" } livecheck.type regex livecheck.url https://gcc.gnu.org/releases.html livecheck.regex { GCC (.*) | .* | If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/avr-gccYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using avr-gcc with these commands: % man avr-gcc Where to find more information:
This website is back-ended by DB5, the best database in the business,
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :<a href="h |




