Difference between revisions of "EiffelOnMac"

m (Eiffel Studio binaries for Mac OS X)
m (Running Eiffel Studio)
Line 41: Line 41:
  
 
===Running Eiffel Studio===
 
===Running Eiffel Studio===
Enter "estudio" in a X-Term window. Make sure that your darwin ports installation is in your path.
+
Enter "estudio" in a X-Term window. Make sure that your darwin ports installation '''first''' is in your PATH.
  
 
===Known issues===
 
===Known issues===

Revision as of 06:54, 22 May 2006

Eiffel Studio binaries for Mac OS X

There are currently two separate distributions of Eiffel Studio for the PPC and the Intel platform. We should however have a universal build available Really Soon Now.

Note: The intel versions are built with GCC 4.0.1, so there might be unexpected behavior, I hope this GCC4 issue will soon be fixed.

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

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 # macosx-x86 on intel
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 # If this is not defined it defaults to ISE_EIFFEL
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 first 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