guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling for Mac


From: Anthony Kozar
Subject: Compiling for Mac
Date: Mon, 20 Oct 2003 21:35:16 -0400
User-agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4

Hello Guilers!

I am a guile newbie and I am attempting to compile guile for the "legacy"
Mac OS (OS 9 and earlier).  My goal is to embed guile into a new program
that I am writing in C++.

Has guile ever been successfully built for the legacy Mac platform? (The
only mention of this in the archives was an unfinished attempt back in
1997).  If it never has been done before, I will really need some help in
order to get all of the configuration and stuff correct.

Clearly, there are some major hurdles to overcome in doing so.  Guile's
reliance on POSIX libraries is a problem for the Mac but not unsolvable.  I
have been using a library called GUSI which gives the Mac a partial POSIX
API.  

A bigger problem is the complicated build process of guile which relies on
several unix command-line tools to dynamically configure the guile code.
This part of the build process cannot really be emulated on a Mac and I
think the easiest solution is to develop static configuration files for the
Mac that can be compiled without modification.

Figuring out what needs to go into those config files is where I need your
help and expertise.  Specifically:

* What should go in scmconfig.h?

* What is the purpose of all of the *.x files?  Why are they built
dynamically?

* Would it be possible to use the *.x files from another platform (Mac OS X
for example) when compiling on Mac OS 9?

* Can you think of any other caveats or suggestions?

Thanks very much!

Anthony Kozar
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]