> On Jan 3, 2016, at 09:58, Asiga Nael <[email protected]> wrote:
> 
> Hi,
> 
> I've just fixed an old iMac which runs Tiger and I'm setting it up as a test 
> machine for running my software. I just found that I need an X11 version 
> newer than the X11 packaged with Tiger. Googling a bit I learned it's 
> possible to install the latest XQuartz from Macports (via 'sudo port -v 
> install xorg'), and the iMac is building it now as I type this.
> 
> I also read it's possible to have XQuartz installed together with the 
> original Tiger X11, but I didn't find any documentation explaining how to 
> deal with this coexistence.

For clarity, the "original Tiger X11" is XQuartz, just a very old version of it.

Just run /Applications/Utilities/X11.app or /Applications/MacPorts/X11.app 
depending on which version you want.

> How do I tell my source code to use the X11 headers and libs from XQuartz 
> rather than Tiger X11 and vice versa?

If you want to use the MacPorts libraries, use /opt/local/{include,lib}.  If 
you want to use the system libraries, use /usr/X11R6/{include,lib}.  How you 
set that up in your code depends on your build system.

> Are there any important warnings I should be aware of regarding having these 
> two X11 implementations side by side?

Not really, but I guess a good rule of thumb is to not mix your linkage (ie, 
don't link some things from one and some from the other).

> Any documentation explaining it?
> 
> Thanks a lot,
> 
> asiga
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription: 
> https://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org
> 
> This email sent to [email protected]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to