Difference between revisions of "EiffelOnMac"

(Environment)
Line 25: Line 25:
 
You need to define the following variables:
 
You need to define the following variables:
  
<pre>export ISE_PLATFORM=macosx-ppc
+
<pre>export ISE_PLATFORM=macosx-ppc # macosx-x86 on intel
 
export ISE_EIFFEL=<PATH TO YOUR Eiffel57 directory e.g. /Developer/Applications/Eiffel57>
 
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 EIFFEL_SRC=<PATH TO YOUR EIFFEL SVN CHECKOUT, only needed if you want to compile ES yourself>
export ISE_LIBRARY=$EIFFEL_SRC
+
export ISE_LIBRARY=$EIFFEL_SRC # or $ISE_EIFFEL, if you don't have EIFFEL_SRC
 
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
  

Revision as of 12:16, 16 May 2006

Eiffel Studio binaries for Mac OS X

Right now there is only a PPC build. A Intel build will hopefully follow soon.

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 # or $ISE_EIFFEL, if you don't have 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