Subject: Re: X11 modules missing for sparc build
To: segv <segv@netctl.net>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 07/19/2005 13:35:50
--Signature_Tue__19_Jul_2005_13_35_50_-0400_.ST6VzkToWY1f6yp
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> > In case you want to run XFree86 in a 32bit userland on sparc64
> > hardware things may be easier ( or trickier, I've never tried that )
> > - compiling XFree86 natively, via make World, may be the easiest way
> > to get there.
>=20
> That's exactly what I'm trying to do. I've got 32-bit kernel and
> userland running on 2nd hard disk on my Ultra 10. I tried building
> 32-bit GTK applications and running them with 64-bit kernel via /emul/
> netbsd32, but they don't work, 32-bit emulation is pretty flaky.

What /exactly/ didn't work? If you don't tell us what failed when and
how nobody can fix it. There was a number of fixes in COMPAT_NETBSD32
recently, you may want to update your sources.

> How do you suggest I compile 32-bit XFree86, can you give me more
> info/ examples of which Make targets I have to run, etc.

Tricky. Are you at all familiar with XFree86's build system? Fixing gtk
may be easier.=20
There's a number of Imakefiles to change ( mainly to enable the same
functionality as for sparc64, look at
xc/programs/Xserver/hw/xfree86/os-support ), then hack
xc/config/cf/NetBSD.cf and xc/config/xc/xfree86.cf, make it build the
same modules as on sparc64. You may want to disable Xsun*. I never
succeeded building XFree86 without PCI support so you'll need to enable
this too, even if you don't use any PCI graphics device. Luckily
NetBSD/sparc and NetBSD/sparc64 are compatible in these things.

I guess I'll have a look at gtk2 and friends, PgUp/PgDown not working
properly is annoying.

have fun
Michael

--Signature_Tue__19_Jul_2005_13_35_50_-0400_.ST6VzkToWY1f6yp
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQt059spnzkX8Yg2nAQKhewgAvK5JX/cOL0LSnWapK3NeGzFhqtIC/VQh
cH+krltedVgrAZ+Ejq+2tbXIkqfNvZpMAS+4/PUkam6SbLwXdvCshMyr/F7q3iQQ
KzjLTNoCMvGeX8LmnHOdUPxu63evy44wkMTAgUOgUhLxFvtFD2QhpgOxOTROdy25
2E9BSmNMQfa+5iTqDpfuwUhrzToALSfm/76+qxTOaf7hyivwpal3llW5kN3M7PTI
Ke4a/vXZ5lOFynkJoK5pSmy3C1LZ8HBEf1z8wRCo/cCpct5QmJhDrT9YeqA7m+RW
RY+ZxhotpHjZz22IWKdSiCdJURe9PPBWuAXtV2mWuakmx2e/QYXEIw==
=DP8W
-----END PGP SIGNATURE-----

--Signature_Tue__19_Jul_2005_13_35_50_-0400_.ST6VzkToWY1f6yp--