Difference between revisions of "How to get the fpc ide running under Mac OS X"
m |
m |
||
Line 1: | Line 1: | ||
− | Requirements: | + | Requirements:<br> |
− | |||
#Apple developer tools and X11 | #Apple developer tools and X11 | ||
# compile the fpc ide | # compile the fpc ide | ||
− | you need: compiler, rtl, (maybe base packages, fcl and extra packages), fvision and ide. | + | you need: compiler, rtl, (maybe base packages, fcl and extra packages), fvision and ide.<br> |
− | + | after the compilation of fvision, create an alias (symlink) of the directory fvision named fv in the fpc directory.<br> | |
− | after the compilation of fvision, create an alias (symlink) of the directory fvision named fv in the fpc directory. | + | <tt>ln -s fvision fv</tt> |
− | + | then compile the ide (there is no debugger library, just neglect the resulting warning)<br> | |
− | |||
− | |||
− | then compile the ide (there is no debugger library, just neglect the resulting warning) | ||
− | |||
cd ide | cd ide | ||
make clean all | make clean all | ||
Line 18: | Line 13: | ||
# install the vga font for xterm | # install the vga font for xterm | ||
− | download the vga font here: http://home.earthlink.net/~us5zahns/enl/vga.pcf | + | download the vga font here: http://home.earthlink.net/~us5zahns/enl/vga.pcf<br> |
− | + | for more docs on changing the Xterm font look here: http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/x606.html<br> | |
− | for more docs on changing the Xterm font look here: http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/x606.html | + | copy the font to /usr/X11R6/lib/X11/fonts/misc/<br> |
− | |||
− | copy the font to /usr/X11R6/lib/X11/fonts/misc/ | ||
− | |||
mv your_download_dir/vga.pcf /usr/X11R6/lib/X11/fonts/misc/ | mv your_download_dir/vga.pcf /usr/X11R6/lib/X11/fonts/misc/ | ||
− | check and set file permissions (you have to be root to do this): | + | check and set file permissions (you have to be root to do this):<br> |
− | |||
cd /usr/X11R6/lib/X11/fonts/misc/ | cd /usr/X11R6/lib/X11/fonts/misc/ | ||
chown root:wheel vga.pcf; chmod 444 vga.pcf | chown root:wheel vga.pcf; chmod 444 vga.pcf | ||
− | start an xterm in X11 and do: | + | start an xterm in X11 and do:<br> |
− | |||
cd /usr/X11R6/lib/X11/fonts/misc/ | cd /usr/X11R6/lib/X11/fonts/misc/ | ||
mkfontdir | mkfontdir | ||
xset fp rehash | xset fp rehash | ||
− | Now you should be able to start xterm with the vga font by: | + | Now you should be able to start xterm with the vga font by:<br> |
− | |||
xterm -font vga | xterm -font vga | ||
− | It is useful to define this as a customized command in X11 (Menu Applications -> Customize...) | + | It is useful to define this as a customized command in X11 (Menu Applications -> Customize...)<br> |
− | |||
# start the ide in an xterm | # start the ide in an xterm | ||
Line 48: | Line 36: | ||
./fp | ./fp | ||
− | In order to get Alt-x you have to press ESC and x. | + | In order to get Alt-x you have to press ESC and x.<br> |
− | + | Here is an example image:<br><br> | |
− | Here is an example image: | ||
− | |||
[[Image:ideonmacosx.png|fpd ide on Mac OS X]] | [[Image:ideonmacosx.png|fpd ide on Mac OS X]] |
Revision as of 22:51, 27 June 2004
Requirements:
- Apple developer tools and X11
- compile the fpc ide
you need: compiler, rtl, (maybe base packages, fcl and extra packages), fvision and ide.
after the compilation of fvision, create an alias (symlink) of the directory fvision named fv in the fpc directory.
ln -s fvision fv
then compile the ide (there is no debugger library, just neglect the resulting warning)
cd ide make clean all
- install the vga font for xterm
download the vga font here: http://home.earthlink.net/~us5zahns/enl/vga.pcf
for more docs on changing the Xterm font look here: http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/x606.html
copy the font to /usr/X11R6/lib/X11/fonts/misc/
mv your_download_dir/vga.pcf /usr/X11R6/lib/X11/fonts/misc/
check and set file permissions (you have to be root to do this):
cd /usr/X11R6/lib/X11/fonts/misc/ chown root:wheel vga.pcf; chmod 444 vga.pcf
start an xterm in X11 and do:
cd /usr/X11R6/lib/X11/fonts/misc/ mkfontdir xset fp rehash
Now you should be able to start xterm with the vga font by:
xterm -font vga
It is useful to define this as a customized command in X11 (Menu Applications -> Customize...)
- start the ide in an xterm
cd your_path/fpc/ide ./fp
In order to get Alt-x you have to press ESC and x.
Here is an example image:
fpd ide on Mac OS X