Difference between revisions of "EiffelOnMac"

(Environment)
m (Eiffel Studio binaries for Mac OS X)
Line 8: Line 8:
 
* '''MacOS X - Intel''' (21.05.2006) :
 
* '''MacOS X - Intel''' (21.05.2006) :
 
**App Package : [http://n.ethz.ch/student/dfurrer/files/EiffelStudio57.app.zip Eiffel57.app.zip] <br>
 
**App Package : [http://n.ethz.ch/student/dfurrer/files/EiffelStudio57.app.zip Eiffel57.app.zip] <br>
**Normal Unix distribution (Revision 59091) [http://n.ethz.ch/student/roederja/download/Eiffel57_59091_macosx-x86.tar.bz2 Eiffel57_59091_macosx-x86.tar.bz2] (This is the same as the PowerPC version only for intel)
+
**Normal Unix distribution (Revision 59091) : [http://n.ethz.ch/student/roederja/download/Eiffel57_59091_macosx-x86.tar.bz2 Eiffel57_59091_macosx-x86.tar.bz2] (This is the same as the PowerPC version only for intel)
  
 
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.
 
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.

Revision as of 12:57, 21 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 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