[OpenAFS-port-darwin] Building i386 version on Mac OS X 10.6
D Brashear
shadow@gmail.com
Wed, 26 Feb 2014 10:31:55 -0500
--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 <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
> 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
<div dir=3D"ltr">=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<br>=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ARCHFLAGS=3D"-arch i386 -arch =
x86_64" make dest<br>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ARCHFLAGS=3D"-arch i386 =
-arch x86_64" make packages<br><br></div><div class=3D"gmail_extra"><b=
r><br><div class=3D"gmail_quote">On Wed, Feb 26, 2014 at 9:40 AM, Jonas Mae=
be <span dir=3D"ltr"><<a href=3D"mailto:jonas.maebe@elis.ugent.be" targe=
t=3D"_blank">jonas.maebe@elis.ugent.be</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi,<br>
<br>
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:<br>
* ./configure --build=3Di386-i386-apple-<u></u>darwin10.8.0 (no effect)<br>
* CFLAGS=3D"-arch i386" ./configure --build=3Di386-i386-apple-<u>=
</u>darwin10.8.0 (no effect)<br>
* 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)<br>
<br>
Thanks,<br>
<br>
<br>
Jonas<br>
______________________________<u></u>_________________<br>
port-darwin mailing list<br>
<a href=3D"mailto:port-darwin@openafs.org" target=3D"_blank">port-darwin@op=
enafs.org</a><br>
<a href=3D"https://lists.openafs.org/mailman/listinfo/port-darwin" target=
=3D"_blank">https://lists.openafs.org/<u></u>mailman/listinfo/port-darwin</=
a><br>
<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D"ltr">D</div=
>
</div>
--001a1133352ea1946504f350e74d--