From jonas.maebe@elis.ugent.be Wed Feb 26 14:40:58 2014 From: jonas.maebe@elis.ugent.be (Jonas Maebe) Date: Wed, 26 Feb 2014 15:40:58 +0100 Subject: [OpenAFS-port-darwin] Building i386 version on Mac OS X 10.6 Message-ID: Hi, How can I build OpenAFS 1.6.x (in particular 1.6.1 and 1.6.2) under 10.6 for i386? By default, it builds for x86-64, which results in an unloadable kext for my system. I've already tried the following without avail: * ./configure --build=i386-i386-apple-darwin10.8.0 (no effect) * CFLAGS="-arch i386" ./configure --build=i386-i386-apple-darwin10.8.0 (no effect) * make ARCHFLAGS="-arch i386" (builds most things for i386, but then gives a linker error once shlib-build is called because that one ignores ARCHFLAGS and hence again tries to link for x86-64) Thanks, Jonas From shadow@gmail.com Wed Feb 26 15:31:55 2014 From: shadow@gmail.com (D Brashear) Date: Wed, 26 Feb 2014 10:31:55 -0500 Subject: [OpenAFS-port-darwin] Building i386 version on Mac OS X 10.6 In-Reply-To: References: Message-ID: --001a1133352ea1946504f350e74d Content-Type: text/plain; charset=ISO-8859-1 ARCHFLAGS="-arch i386 -arch x86_64" ./configure --enable-transarc-paths --with-krb5 --enable-warnings --enable-checking --enable-fuse-client ARCHFLAGS="-arch i386 -arch x86_64" make dest ARCHFLAGS="-arch i386 -arch x86_64" make packages On Wed, Feb 26, 2014 at 9:40 AM, Jonas Maebe wrote: > Hi, > > How can I build OpenAFS 1.6.x (in particular 1.6.1 and 1.6.2) under 10.6 > for i386? By default, it builds for x86-64, which results in an unloadable > kext for my system. I've already tried the following without avail: > * ./configure --build=i386-i386-apple-darwin10.8.0 (no effect) > * CFLAGS="-arch i386" ./configure --build=i386-i386-apple-darwin10.8.0 > (no effect) > * make ARCHFLAGS="-arch i386" (builds most things for i386, but then gives > a linker error once shlib-build is called because that one ignores > ARCHFLAGS and hence again tries to link for x86-64) > > Thanks, > > > Jonas > _______________________________________________ > port-darwin mailing list > port-darwin@openafs.org > https://lists.openafs.org/mailman/listinfo/port-darwin > > -- D --001a1133352ea1946504f350e74d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ARCHFLAGS=3D= "-arch i386 -arch x86_64" ./configure --enable-transarc-paths --w= ith-krb5 --enable-warnings --enable-checking --enable-fuse-client
=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ARCHFLAGS=3D"-arch i386 -arch = x86_64" make dest
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ARCHFLAGS=3D"-arch i386 = -arch x86_64" make packages


On Wed, Feb 26, 2014 at 9:40 AM, Jonas Mae= be <jonas.maebe@elis.ugent.be> wrote:
Hi,

How can I build OpenAFS 1.6.x (in particular 1.6.1 and 1.6.2) under 10.6 fo= r i386? By default, it builds for x86-64, which results in an unloadable ke= xt for my system. I've already tried the following without avail:
* ./configure --build=3Di386-i386-apple-darwin10.8.0 (no effect)
* CFLAGS=3D"-arch i386" ./configure --build=3Di386-i386-apple-= darwin10.8.0 (no effect)
* make ARCHFLAGS=3D"-arch i386" (builds most things for i386, but= then gives a linker error once shlib-build is called because that one igno= res ARCHFLAGS and hence again tries to link for x86-64)

Thanks,


Jonas
_______________________________________________
port-darwin mailing list
port-darwin@op= enafs.org
https://lists.openafs.org/mailman/listinfo/port-darwin




--
D
--001a1133352ea1946504f350e74d-- From jonas.maebe@elis.ugent.be Thu Feb 27 13:10:17 2014 From: jonas.maebe@elis.ugent.be (Jonas Maebe) Date: Thu, 27 Feb 2014 14:10:17 +0100 Subject: [OpenAFS-port-darwin] Building i386 version on Mac OS X 10.6 In-Reply-To: References: Message-ID: On 26 Feb 2014, at 16:31, D Brashear wrote: > On Wed, Feb 26, 2014 at 9:40 AM, Jonas Maebe >wrote: > >> Hi, >> >> How can I build OpenAFS 1.6.x (in particular 1.6.1 and 1.6.2) under >> 10.6 >> for i386? By default, it builds for x86-64, which results in an >> unloadable >> kext for my system. I've already tried the following without avail: >> * ./configure --build=i386-i386-apple-darwin10.8.0 (no effect) >> * CFLAGS="-arch i386" ./configure --build=i386-i386-apple- >> darwin10.8.0 >> (no effect) >> * make ARCHFLAGS="-arch i386" (builds most things for i386, but >> then gives >> a linker error once shlib-build is called because that one ignores >> ARCHFLAGS and hence again tries to link for x86-64) > > ARCHFLAGS="-arch i386 -arch x86_64" ./configure > --enable-transarc-paths --with-krb5 --enable-warnings --enable- > checking > --enable-fuse-client > ARCHFLAGS="-arch i386 -arch x86_64" make dest > ARCHFLAGS="-arch i386 -arch x86_64" make packages Thanks! I had to disable the building of the growl plugin though, because that one still ignored the ARCHFLAGS for some reason. Jonas