gcc44 and local ports directory

Jack Howarth howarth at bromo.med.uc.edu
Sat Sep 12 18:55:28 PDT 2009


On Sat, Sep 12, 2009 at 09:36:44PM -0400, Jeremy Lavergne wrote:
> Does running tar jft indicate that this produces the directory "build" ?
>
> It would seem the wrong directory is being extracted since you can't cd 
> to it.
>
> On Sep 12, 2009, at 9:34 PM, Jack Howarth wrote:
>
>> /opt/local/var/macports/distfiles/gcc44/gcc-objc-4.4.1.tar.bz2

Found an old gcc41 with the patch still in it. Needed to be...

patchfiles              gcc44-config.guess.diff
worksrcdir              build
pre-patch {
        file mkdir ${worksrcpath}
}
patch.dir               ${workpath}/gcc-${version}

Now the patched config.guess gives...

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_howarth_ports_lang_gcc44/work/build" && ../gcc-4.4.1/configure --prefix=/opt/local --enable-languages=c,c++,objc,obj-c++,java,fortran --libdir=/opt/local/lib/gcc44 --includedir=/opt/local/include/gcc44 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.4 --with-gxx-include-dir=/opt/local/include/gcc44/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local'
checking build system type... x86_64-apple-darwin10.0.0
checking host system type... x86_64-apple-darwin10.0.0
checking target system type... x86_64-apple-darwin10.0.0

as is correct on a Core 2 Duo running 10.6.


More information about the macports-dev mailing list