Re: Build Fox as a universal library on Mac

John Selverian <[email protected]> Mon, 15 Jun 2026 15:56:16 -0400
Newsgroups gmane.comp.lib.fox-toolkit.user
Message-ID <[email protected]>
--===============8745816684160086332==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_45480743-0898-45E4-8176-304019C8B6BA"


--Apple-Mail=_45480743-0898-45E4-8176-304019C8B6BA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

I=E2=80=99m still at it. I got rid of the "ld: warning: ignoring file =
.libs/FXMemMap.o, building for macOS-arm64 but attempting to link with =
file built for unknown-x86_64=E2=80=9D

errors deleting *.o and *.lo each time.

The I edited the makefile and removed the projects to be built =
one-by-one:


Starting:

#SUBDIRS =3D utils include lib chart doc tests shutterbug adie =
pathfinder calculator controlpanel windows


Where I am now:

SUBDIRS =3D utils include lib doc tests windows


The helped a lot.

Now I=E2=80=99m getting this:


/bin/sh ../libtool --tag=3DCXX   --mode=3Dlink g++ -arch arm64  -Wall =
-Wformat -Woverloaded-virtual -Wshadow -DHAVE_PNG_H=3D1 -DHAVE_ZLIB_H=3D1 =
-DHAVE_BZ2LIB_H=3D1 -DHAVE_XFT_H=3D1 -I/usr/include/freetype2 =
-DHAVE_XSHM_H=3D1 -DHAVE_XSHAPE_H=3D1 -DHAVE_XCURSOR_H=3D1 =
-DHAVE_XRENDER_H=3D1 -DHAVE_XRANDR_H=3D1 -DHAVE_XFIXES_H=3D1 =
-DHAVE_XINPUT2_H=3D1 -DNO_XIM -DHAVE_GL_H=3D1 -DHAVE_GLU_H=3D1 =
-DHAVE_GLX_H=3D1  -L/opt/X11/lib -o glviewer glviewer.o =
../lib/libFOX-1.7.la -lm -ldl -lpthread  -lpng -lz -lbz2 -lGL -lGLU
libtool: link: g++ -arch arm64 -Wall -Wformat -Woverloaded-virtual =
-Wshadow -DHAVE_PNG_H=3D1 -DHAVE_ZLIB_H=3D1 -DHAVE_BZ2LIB_H=3D1 =
-DHAVE_XFT_H=3D1 -I/usr/include/freetype2 -DHAVE_XSHM_H=3D1 =
-DHAVE_XSHAPE_H=3D1 -DHAVE_XCURSOR_H=3D1 -DHAVE_XRENDER_H=3D1 =
-DHAVE_XRANDR_H=3D1 -DHAVE_XFIXES_H=3D1 -DHAVE_XINPUT2_H=3D1 -DNO_XIM =
-DHAVE_GL_H=3D1 -DHAVE_GLU_H=3D1 -DHAVE_GLX_H=3D1 -o .libs/glviewer =
glviewer.o -Wl,-bind_at_load  -L/opt/X11/lib =
../lib/.libs/libFOX-1.7.dylib -lSM -lICE -lX11 -lXext -lXft -lfontconfig =
-lfreetype -lXcursor -lXrender -lXrandr -lXfixes -lXi -lm -ldl -lpthread =
-lpng -lz -lbz2 -lGL -lGLU
ld: warning: -bind_at_load is deprecated on macOS
Making all in windows
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all-am'.



The library is still not being built for arm64. I=E2=80=99m not sure if =
=E2=80=9Cld: warning: -bind_at_load is deprecated on macOS=E2=80=9D is =
the problem or not.

I=E2=80=99m not sure what this means/does.



Js

(No green!)



> On Jun 12, 2026, at 8:27=E2=80=AFPM, John Selverian =
<[email protected]> wrote:
>=20
> I changed the offending code in FXAtomic to this:
>=20
>=20
>=20
> // Atomically add v to pointer variable at ptr, and return its old =
contents
> FXptr atomicAdd(volatile FXptr* ptr,FXival v){
> #if defined(WIN32) && defined(_WIN64)
>   return (FXptr)InterlockedExchangeAdd64((LONGLONG*)ptr,(LONGLONG)v);
> #elif defined(WIN32)
>   return (FXptr)InterlockedExchangeAdd((LONG*)ptr,(LONG)v);
> #elif ((defined(__GNUC__) || defined(__INTEL_COMPILER)) && =
defined(__i386__))
>   register FXptr ret=3D(void*)v;
>   __asm__ __volatile__ ("lock\n\t"
>                         "xaddl %0, (%1)\n\t" : "=3Dr"(ret) : "r"(ptr), =
"0"(ret) : "memory", "cc");
>   return ret;
> #elif ((defined(__GNUC__) || defined(__INTEL_COMPILER)) && =
defined(__x86_64__))
>   register FXptr ret=3D(FXptr)v;
>   __asm__ __volatile__ ("lock\n\t"
>                         "xaddq %0, (%1)\n\t" : "=3Dr"(ret) : "r"(ptr), =
"0" (ret) : "memory", "cc");
>   return ret;
> //#elif defined(HAVE_BUILTIN_SYNC)
>   //return __sync_fetch_and_add(ptr,v);
> #else
>   FXptr ret=3D*ptr;
>   *((unsigned char**)ptr)+=3Dv;
>   return ret;
> #endif
>   }
>=20
>=20
>=20
>=20
>=20
>=20
> It sides to compile OK but fails doing linking=E2=80=A6I don=E2=80=99t =
know what this means=E2=80=A6any ideas?
>=20
>=20
>=20
>=20
>=20
> ld: warning: ignoring file .libs/FXMemMap.o, building for macOS-arm64 =
but attempting to link with file built for unknown-x86_64
> ld: warning: ignoring file .libs/FXPtrQueue.o, building for =
macOS-arm64 but attempting to link with file built for unknown-x86_64
> ld: warning: ignoring file .libs/FXSemaQueue.o, building for =
macOS-arm64 but attempting to link with file built for unknown-x86_64
> ld: warning: ignoring file .libs/fxascii.o, building for macOS-arm64 =
but attempting to link with file built for unknown-x86_64
> ld: warning: ignoring file .libs/fxunicode.o, building for macOS-arm64 =
but attempting to link with file built for unknown-x86_64
> ld: warning: ignoring file .libs/icons.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64
> ld: can't write output file: .libs/libFOX-1.7.0.dylib-master.o for =
architecture arm64
> clang++: error: linker command failed with exit code 1 (use -v to see =
invocation)
> make[2]: *** [libFOX-1.7.la] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>> On Jun 9, 2026, at 9:17=E2=80=AFAM, John Selverian =
<[email protected]> wrote:
>>=20
>> Apple is deprecating Intel apps on the Mac. I=E2=80=99m trying to =
build the Fox library as a universal app. Has anyone done this? Any =
tips?
>>=20
>>=20
>> Here is what I=E2=80=99ve tried:
>>=20
>> 1) first I do this:
>>=20
>> > CXXCPP=3D"g++ -E" CXX=3D"g++ -arch x86_64" =
CPPFLAGS=3D"-I/opt/X11/include -I/opt/X11/include/freetype2" =
LDFLAGS=3D"-L/opt/X11/lib" ./configure --with-x --with-xft
>> > make
>>=20
>> Then I add =E2=80=9C_x86_64=E2=80=9D to the name of the build =
libraries
>>=20
>>=20
>> 2) next I do this:
>>=20
>> > CXXCPP=3D"g++ -E" CXX=3D"g++ -arch arm64" =
CPPFLAGS=3D"-I/opt/X11/include -I/opt/X11/include/freetype2" =
LDFLAGS=3D"-L/opt/X11/lib" ./configure --with-x --with-xft
>>=20
>>=20
>> But I get the following error:
>>=20
>>=20
>> FXAtomic.cpp:304:35: error: cannot initialize a parameter of type =
'FXptr' (aka 'void *') with an lvalue of type 'FXival' (aka 'long')
>>   304 |   return __sync_fetch_and_add(ptr,v);
>>       |                                   ^
>> 1 error generated.
>> make[2]: *** [FXAtomic.lo] Error 1
>> make[1]: *** [all] Error 2
>> make: *** [all-recursive] Error 1
>>=20
>>=20
>>=20
>>=20
>>=20
>> Kind regards,
>> =20
>> js
>> =20
>>=20
>>=20
>>=20
>=20


--Apple-Mail=_45480743-0898-45E4-8176-304019C8B6BA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dutf-8"></head><body =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><div><div><font color=3D"#000000">I=E2=80=99=
m still at it. I got rid of the "</font><span style=3D"color: rgb(0, 0, =
0); font-family: Menlo; font-size: 10px; background-color: rgb(255, 255, =
255);">ld: warning: ignoring file .libs/FXMemMap.o, building for =
macOS-arm64 but attempting to link with file built for =
unknown-x86_64</span><font color=3D"#000000" face=3D"Menlo" =
size=3D"1"><span style=3D"caret-color: rgb(0, 0, =
0);">=E2=80=9D</span></font></div><div><span style=3D"color: rgb(0, 0, =
0); font-family: Menlo; font-size: 10px; background-color: rgb(255, 255, =
255);"><br></span></div><div><span style=3D"background-color: rgb(255, =
255, 255);"><font color=3D"#000000" face=3D"Menlo" size=3D"1"><span =
style=3D"caret-color: rgb(0, 0, 0);">errors deleting *.o and *.lo each =
time.</span></font></span></div><div><span style=3D"background-color: =
rgb(255, 255, 255);"><font color=3D"#000000" face=3D"Menlo" =
size=3D"1"><span style=3D"caret-color: rgb(0, 0, =
0);"><br></span></font></span></div><div><span style=3D"background-color: =
rgb(255, 255, 255);"><font color=3D"#000000" face=3D"Menlo" =
size=3D"1"><span style=3D"caret-color: rgb(0, 0, 0);">The I edited the =
makefile and removed the projects to be built =
one-by-one:</span></font></span></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000"><span =
style=3D"caret-color: rgb(0, 0, =
0);">Starting:</span></font></div><div><font color=3D"#000000"><span =
style=3D"caret-color: rgb(0, 0, 0);"><br></span></font></div><div><font =
color=3D"#000000">#SUBDIRS =3D utils include lib chart doc tests =
shutterbug adie pathfinder calculator controlpanel =
windows</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">Where I =
am now:</font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">SUBDIRS =
=3D utils include lib doc tests windows</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">The =
helped a lot.</font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">Now =
I=E2=80=99m getting this:</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">/bin/sh =
../libtool --tag=3DCXX &nbsp; --mode=3Dlink g++ -arch arm64 &nbsp;-Wall =
-Wformat -Woverloaded-virtual -Wshadow -DHAVE_PNG_H=3D1 -DHAVE_ZLIB_H=3D1 =
-DHAVE_BZ2LIB_H=3D1 -DHAVE_XFT_H=3D1 -I/usr/include/freetype2 =
-DHAVE_XSHM_H=3D1 -DHAVE_XSHAPE_H=3D1 -DHAVE_XCURSOR_H=3D1 =
-DHAVE_XRENDER_H=3D1 -DHAVE_XRANDR_H=3D1 -DHAVE_XFIXES_H=3D1 =
-DHAVE_XINPUT2_H=3D1 -DNO_XIM -DHAVE_GL_H=3D1 -DHAVE_GLU_H=3D1 =
-DHAVE_GLX_H=3D1 &nbsp;-L/opt/X11/lib -o glviewer glviewer.o =
../lib/libFOX-1.7.la -lm -ldl -lpthread &nbsp;-lpng -lz -lbz2 -lGL =
-lGLU</font></div><div><font color=3D"#000000">libtool: link: g++ -arch =
arm64 -Wall -Wformat -Woverloaded-virtual -Wshadow -DHAVE_PNG_H=3D1 =
-DHAVE_ZLIB_H=3D1 -DHAVE_BZ2LIB_H=3D1 -DHAVE_XFT_H=3D1 =
-I/usr/include/freetype2 -DHAVE_XSHM_H=3D1 -DHAVE_XSHAPE_H=3D1 =
-DHAVE_XCURSOR_H=3D1 -DHAVE_XRENDER_H=3D1 -DHAVE_XRANDR_H=3D1 =
-DHAVE_XFIXES_H=3D1 -DHAVE_XINPUT2_H=3D1 -DNO_XIM -DHAVE_GL_H=3D1 =
-DHAVE_GLU_H=3D1 -DHAVE_GLX_H=3D1 -o .libs/glviewer glviewer.o =
-Wl,-bind_at_load &nbsp;-L/opt/X11/lib ../lib/.libs/libFOX-1.7.dylib =
-lSM -lICE -lX11 -lXext -lXft -lfontconfig -lfreetype -lXcursor =
-lXrender -lXrandr -lXfixes -lXi -lm -ldl -lpthread -lpng -lz -lbz2 -lGL =
-lGLU</font></div><div><font color=3D"#000000">ld: warning: =
-bind_at_load is deprecated on macOS</font></div><div><font =
color=3D"#000000">Making all in windows</font></div><div><font =
color=3D"#000000">make[1]: Nothing to be done for =
`all'.</font></div><div><font color=3D"#000000">make[1]: Nothing to be =
done for `all-am'.</font></div></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">The =
library is still not being built for arm64. I=E2=80=99m not sure if =
=E2=80=9C<span style=3D"caret-color: rgb(0, 0, 0);">ld: warning: =
-bind_at_load is deprecated on macOS=E2=80=9D is the problem or =
not.</span></font></div><div><font color=3D"#000000"><span =
style=3D"caret-color: rgb(0, 0, 0);"><br></span></font></div><div><font =
color=3D"#000000">I=E2=80=99m not sure what this =
means/does.</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000"><span =
style=3D"caret-color: rgb(0, 0, 0);">Js</span></font></div><div><font =
color=3D"#000000"><br></font></div><font color=3D"#000000">(No =
green!)<br></font><div><div style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><font color=3D"#000000"><br><br></font></div>
</div>
<div><font color=3D"#000000"><br></font><blockquote =
type=3D"cite"><div><font color=3D"#000000">On Jun 12, 2026, at =
8:27=E2=80=AFPM, John Selverian &lt;[email protected]&gt; =
wrote:</font></div><font color=3D"#000000"><br =
class=3D"Apple-interchange-newline"></font><div><meta =
http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><div =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">I changed the offending code in FXAtomic =
to this:</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000"><br></font></div><div style=3D"margin: =
0px; font-width: normal; font-size: 10px; line-height: normal; =
font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">// =
Atomically add v to pointer variable at ptr, and return its old =
contents</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">FXptr atomicAdd(volatile FXptr* =
ptr,FXival v){</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">#if defined(WIN32) &amp;&amp; =
defined(_WIN64)</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; return =
(FXptr)InterlockedExchangeAdd64((LONGLONG*)ptr,(LONGLONG)v);</font></div><=
div style=3D"margin: 0px; font-width: normal; font-size: 10px; =
line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">#elif defined(WIN32)</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">&nbsp; =
return =
(FXptr)InterlockedExchangeAdd((LONG*)ptr,(LONG)v);</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">#elif =
((defined(__GNUC__) || defined(__INTEL_COMPILER)) &amp;&amp; =
defined(__i386__))</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; register FXptr =
ret=3D(void*)v;</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; __asm__ __volatile__ =
("lock\n\t"</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "xaddl %0, (%1)\n\t" : =
"=3Dr"(ret) : "r"(ptr), "0"(ret) : "memory", "cc");</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">&nbsp; =
return ret;</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">#elif ((defined(__GNUC__) || =
defined(__INTEL_COMPILER)) &amp;&amp; =
defined(__x86_64__))</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; register FXptr =
ret=3D(FXptr)v;</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; __asm__ __volatile__ =
("lock\n\t"</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "xaddq %0, (%1)\n\t" : =
"=3Dr"(ret) : "r"(ptr), "0" (ret) : "memory", "cc");</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">&nbsp; =
return ret;</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">//#elif =
defined(HAVE_BUILTIN_SYNC)</font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">&nbsp; =
//return __sync_fetch_and_add(ptr,v);</font></div><div style=3D"margin: =
0px; font-width: normal; font-size: 10px; line-height: normal; =
font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000">#else</font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">&nbsp; =
FXptr ret=3D*ptr;</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; *((unsigned =
char**)ptr)+=3Dv;</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">&nbsp; return ret;</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000">#endif</font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">&nbsp; =
}</font></div><div style=3D"margin: 0px; font-width: normal; font-size: =
10px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000"><br></font></div><div style=3D"margin: =
0px; font-width: normal; font-size: 10px; line-height: normal; =
font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">It sides =
to compile OK but fails doing linking=E2=80=A6I don=E2=80=99t know what =
this means=E2=80=A6any ideas?</font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: =
warning: ignoring file .libs/FXMemMap.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: =
warning: ignoring file .libs/FXPtrQueue.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: =
warning: ignoring file .libs/FXSemaQueue.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: =
warning: ignoring file .libs/fxascii.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: =
warning: ignoring file .libs/fxunicode.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: =
warning: ignoring file .libs/icons.o, building for macOS-arm64 but =
attempting to link with file built for unknown-x86_64</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">ld: can't =
write output file: .libs/libFOX-1.7.0.dylib-master.o for architecture =
arm64</font></div><div style=3D"margin: 0px; font-width: normal; =
font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">clang++: error: linker command failed =
with exit code 1 (use -v to see invocation)</font></div><div =
style=3D"margin: 0px; font-width: normal; font-size: 10px; line-height: =
normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">make[2]: =
*** [libFOX-1.7.la] Error 1</font></div><div style=3D"margin: 0px; =
font-width: normal; font-size: 10px; line-height: normal; font-family: =
Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font color=3D"#000000">make[1]: =
*** [all] Error 2</font></div><div style=3D"margin: 0px; font-width: =
normal; font-size: 10px; line-height: normal; font-family: Menlo; =
font-size-adjust: none; font-kerning: auto; font-variant-alternates: =
normal; font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000">make: *** [all-recursive] Error =
1</font></div><div style=3D"margin: 0px; font-width: normal; font-size: =
10px; line-height: normal; font-family: Menlo; font-size-adjust: none; =
font-kerning: auto; font-variant-alternates: normal; =
font-variant-ligatures: normal; font-variant-numeric: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
font-feature-settings: normal; font-optical-sizing: auto; =
font-variation-settings: normal; background-color: rgb(255, 255, =
255);"><font color=3D"#000000"><br></font></div><div style=3D"margin: =
0px; font-width: normal; font-size: 10px; line-height: normal; =
font-family: Menlo; font-size-adjust: none; font-kerning: auto; =
font-variant-alternates: normal; font-variant-ligatures: normal; =
font-variant-numeric: normal; font-variant-east-asian: normal; =
font-variant-position: normal; font-feature-settings: normal; =
font-optical-sizing: auto; font-variation-settings: normal; =
background-color: rgb(255, 255, 255);"><font =
color=3D"#000000"><br></font></div><div><div style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><font color=3D"#000000"><br></font></div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><font =
color=3D"#000000"><br></font></div><div style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><font color=3D"#000000"><br></font></div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><font =
color=3D"#000000"><br><br></font></div>
</div>
<div><font color=3D"#000000"><br></font><blockquote =
type=3D"cite"><div><font color=3D"#000000">On Jun 9, 2026, at 9:17=E2=80=AF=
AM, John Selverian &lt;[email protected]&gt; =
wrote:</font></div><font color=3D"#000000"><br =
class=3D"Apple-interchange-newline"></font><div><meta =
http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf-8"><div =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><div><div><font color=3D"#000000">Apple =
is deprecating Intel apps on the Mac. I=E2=80=99m trying to build the =
Fox library as a universal app. Has anyone done this? Any =
tips?</font></div><div><font color=3D"#000000"><br></font></div><div><font=
 color=3D"#000000"><br></font></div><div><font color=3D"#000000">Here is =
what I=E2=80=99ve tried:</font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">1) first =
I do this:</font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">&gt; =
CXXCPP=3D"g++ -E" CXX=3D"g++ -arch x86_64" CPPFLAGS=3D"-I/opt/X11/include =
-I/opt/X11/include/freetype2" LDFLAGS=3D"-L/opt/X11/lib" ./configure =
--with-x --with-xft</font></div><div><font color=3D"#000000">&gt; =
make</font></div><div><font color=3D"#000000"><br></font></div><div><font =
color=3D"#000000">Then I add =E2=80=9C_x86_64=E2=80=9D to the name of =
the build libraries</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">2) next =
I do this:</font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">&gt; =
CXXCPP=3D"g++ -E" CXX=3D"g++ -arch arm64" CPPFLAGS=3D"-I/opt/X11/include =
-I/opt/X11/include/freetype2" LDFLAGS=3D"-L/opt/X11/lib" ./configure =
--with-x --with-xft</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font color=3D"#000000">But I =
get the following error:</font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><div><font =
color=3D"#000000">FXAtomic.cpp:304:35: error: cannot initialize a =
parameter of type 'FXptr' (aka 'void *') with an lvalue of type 'FXival' =
(aka 'long')</font></div><div><font color=3D"#000000">&nbsp; 304 | =
&nbsp; return __sync_fetch_and_add(ptr,v);</font></div><div><font =
color=3D"#000000">&nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; ^</font></div><div><font color=3D"#000000">1 error =
generated.</font></div><div><font color=3D"#000000">make[2]: *** =
[FXAtomic.lo] Error 1</font></div><div><font color=3D"#000000">make[1]: =
*** [all] Error 2</font></div><div><font color=3D"#000000">make: *** =
[all-recursive] Error 1</font></div></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div><div><font =
color=3D"#000000"><br></font></div></div><div>
<meta charset=3D"UTF-8"><div style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><font color=3D"#000000"><br =
class=3D"Apple-interchange-newline"><br></font></div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: 400; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><font =
color=3D"#000000">Kind =
regards,<br>&nbsp;<br>js<br>&nbsp;<br><br><br></font></div>
</div>
<font color=3D"#000000"><br></font></div></div></blockquote></div><font =
color=3D"#000000"><br></font></div></div></blockquote></div><br></body></h=
tml>=

--Apple-Mail=_45480743-0898-45E4-8176-304019C8B6BA--



--===============8745816684160086332==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8745816684160086332==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Foxgui-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/foxgui-users

--===============8745816684160086332==--