Nereus ~ # cd /tmp Nereus tmp # git clone git://git.overlays.gentoo.org/proj/crossdev.git Cloning into crossdev... remote: Counting objects: 471, done. remote: Compressing objects: 100% (220/220), done. remote: Total 471 (delta 288), reused 385 (delta 238) Receiving objects: 100% (471/471), 85.91 KiB, done. Resolving deltas: 100% (288/288), done. Nereus tmp # curl curl: try 'curl --help' or 'curl --manual' for more information Nereus tmp # "https://378387.bugs.gentoo.org/attachment.cgi?id=285553&action=diff&collapsed=&context=patch&format=raw&headers=1" -su: https://378387.bugs.gentoo.org/attachment.cgi?id=285553&action=diff&collapsed=&context=patch&format=raw&headers=1: No such file or directory Nereus tmp # -O crossdev-378387.patch^C Nereus tmp # curl "https://378387.bugs.gentoo.org/attachment.cgi?id=285553&action=diff&collapsed=&context=patch&format=raw&headers=1" -O crossdev-378387.patch % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 710 0 710 0 0 758 0 --:--:-- --:--:-- --:--:-- 988 curl: (6) Could not resolve host: crossdev-378387.patch; Name or service not known Nereus tmp # curl "https://378387.bugs.gentoo.org/attachment.cgi?id=285553&action=diff&collapsed=&context=patch&format=raw&headers=1" -O crossdev-378387.patch % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 710 0 710 0 0 874 0 --:--:-- --:--:-- --:--:-- 1015 curl: (6) Could not resolve host: crossdev-378387.patch; Name or service not known Nereus tmp # wget "https://378387.bugs.gentoo.org/attachment.cgi?id=285553&action=diff&collapsed=&context=patch&format=raw&headers=1" -O crossdev-378387.patch --2011-09-05 10:02:30-- https://378387.bugs.gentoo.org/attachment.cgi?id=285553&action=diff&collapsed=&context=patch&format=raw&headers=1 Resolving 378387.bugs.gentoo.org... 94.100.119.165 Connecting to 378387.bugs.gentoo.org|94.100.119.165|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: `crossdev-378387.patch' [ <=> ] 710 --.-K/s in 0s 2011-09-05 10:02:32 (6.85 MB/s) - `crossdev-378387.patch' saved [710] Nereus tmp # cd crossdev Nereus crossdev # git apply /tmp/crossdev-378387.patch Nereus crossdev # cp ls cp: missing destination file operand after `ls' Try `cp --help' for more information. Nereus crossdev # ls -lah total 56K drwxr-xr-x 4 root root 4.0K Sep 5 10:02 . drwxrwxrwt 14 root root 4.0K Sep 5 10:02 .. drwxr-xr-x 7 root root 4.0K Sep 5 10:01 .git -rw-r--r-- 1 root root 501 Sep 5 10:01 Makefile -rw-r--r-- 1 root root 131 Sep 5 10:01 TODO -rwxr-xr-x 1 root root 27K Sep 5 10:02 crossdev -rw-r--r-- 1 root root 198 Sep 5 10:01 settings.mk drwxr-xr-x 4 root root 4.0K Sep 5 10:01 wrappers Nereus crossdev # cp crossdev /usr/local/bin/crossdev-test Nereus crossdev # crossdev-C avr -su: crossdev-C: command not found Nereus crossdev # crossdev -C avr * Uninstalling target 'avr' ... cross-avr/avr-libc: 1.7.0 none none All selected packages: cross-avr/avr-libc-1.7.0 >>> Unmerging cross-avr/avr-libc-1.7.0... cross-avr/binutils: 2.21.53.0.2 none none All selected packages: cross-avr/binutils-2.21.53.0.2 >>> Unmerging cross-avr/binutils-2.21.53.0.2... cross-avr/gcc: 4.5.3-r1 none none All selected packages: cross-avr/gcc-4.5.3-r1 >>> Unmerging cross-avr/gcc-4.5.3-r1... /usr/avr: directory still exists; remove recursively? [y/N] y Nereus crossdev # crossdev-test -t avr -------------------------------------------------------------------------------- * crossdev version: 72b8767e712ba8615331a035c8bcecaf5492347e * Host Portage ARCH: amd64 * Target Portage ARCH: * * Target System: avr * Stage: 4 (C/C++ compiler) * ABIs: default * binutils: binutils-[latest] * gcc: gcc-[latest] * libc: avr-libc-[latest] * CROSSDEV_OVERLAY: /usr/local/portage/layman/vmware * PORT_LOGDIR: /var/log/portage * PORTAGE_CONFIGROOT: _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - !!! WARNING - Cannot auto-configure CHOST avr !!! You should edit /usr/avr/etc/portage/make.conf !!! by hand to complete your configuration * Log: /var/log/portage/cross-avr-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-avr-gcc-stage1.log * Emerging cross-gcc-stage1 ... [ ok ] * Log: /var/log/portage/cross-avr-avr-libc.log * Emerging cross-avr-libc ... [ ok ] * Log: /var/log/portage/cross-avr-gcc-stage2.log * Emerging cross-gcc-stage2 ... [ ok ] Nereus crossdev #