Difference between revisions of "EiffelOnMac"
(→Environment) |
|||
Line 49: | Line 49: | ||
export GOBO=$ISE_EIFFEL/library/gobo # Only needed if you want to use gobo | export GOBO=$ISE_EIFFEL/library/gobo # Only needed if you want to use gobo | ||
− | export PATH=$PATH:$ISE_EIFFEL/studio/spec/ | + | export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin:$GOBO/bin</pre> |
===Running Eiffel Studio=== | ===Running Eiffel Studio=== |
Revision as of 03:15, 16 May 2006
Contents
Current Status
09.05: We have now delegated some tasks:
- Eiffel Media Package for Mac (Roland)
- GTK based .app package, probably universal (Dani & Maeli)
- Look into Carbon application development (Ueli)
- Look into wrapping Carbon headers with EWG (Jann)
It also seems that using Carbon instead of Cocoa is more realistic for this project, so we'll primarily look into Carbon now.
06.05: We now have a graphical version of ES 5.7 running on OS X (both ppc and intel). The problem was with the fontconfig libraray: The 2.3.2 version seems to crash where the 2.2.3 works fine. There are still a few problems with fonts sizes though... From what Jann tells me self compilation is also no problem anymore so we can really start hacking the beast now.
30.4: We have EiffelStudio compiled for ppc and running on ppc and intel macs. The Gtk+ GUI works more or less but some things (like wizards) are missing atm.
It required a lot of hacking and we're now trying to get newer builds, and streamline the process for getting a build on the mac.
I think the next goal should be to get a self-compiling version of ec so that we can skip building the f_code on linux and then adopt the build-script.
Eiffel Studio binaries for Mac OS X
Right now there is only a PPC build. A Intel build will hopefully follow soon.
- MacOS X - PPC (13.05.2006) : Eiffel57.tar.bz2 Readme
Readme
IMPORTANT: Before compiling projects with Eiffel Studio do a "sudo gcc_select 3.3".
The C code generated by Eiffel Studio might not work properly if compiled with gcc 4.
Requirements
- At least Mac OS 10.3 I guess
- Apple's X server (http://www.apple.com/downloads/macosx/apple/x11formacosx.html)
- Xcode (http://developer.apple.com/tools/)
- DarwinPorts (http://www.darwinports.org)
- GTK2 from darwinports Do a "sudo port install gtk2" , this will install gtk2 and all required dependencies
Alternatively you can download this installer: GTK 2.8.17 (PPC)
Installation
Extract the Eiffel57 directory from the tar.bz2 file anywhere you like, and set up your environment accordingly.
Environment
Eiffel Studio needs several environment variables in order to work properly. I suggest you put them into your .bashrc and .profile file in your home directory. (on my system .bashrc is a symlink to .profile)
You need to define the following variables:
export ISE_PLATFORM=macosx-ppc export ISE_EIFFEL=<PATH TO YOUR Eiffel57 directory e.g. /Developer/Applications/Eiffel57> export EIFFEL_SRC=<PATH TO YOUR EIFFEL SVN CHECKOUT, only needed if you want to compile ES yourself> export ISE_LIBRARY=$EIFFEL_SRC export GOBO=$ISE_EIFFEL/library/gobo # Only needed if you want to use gobo export PATH=$PATH:$ISE_EIFFEL/studio/spec/$ISE_PLATFORM/bin:$GOBO/bin
Running Eiffel Studio
Enter "estudio" in a X-Term window. Make sure that your darwin ports installation is in your path.
Known issues
- Precompilation doesn't work
Hints
- Use Helvetica 12 as Editor font
- Click and Pull works with Apple-key + mouse click
Team
Everyone intrested in this project is welcome to join our mailinglist es-mac@origo.ethz.ch