This is a multi-part message in MIME format.
--------------050503040605080607080107
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Dr. Rolf Jansen:
Along with Ann, could you help me on this problem?
I have enstalled the free pascal (FPC 1.9.5) with xcode and Xcode
Integration Kit with OS 10.3.
The following program compiles nicely, but my purpose is to compile a
pascal program written under IDE 3.1 Metrowerks. The Pascal program
uses many units which themselves refer to other units necessitating the
"User Propagates" function in IDE 3.1 Metrowerks. In the following
program, I inserted a typical unit "quickdraw" under uses in addition
to Carbon, TestUnit. An error occurred. It did not compile. No
particular message was given.
What additional thing am I supposed to do to bring units into a program
for subsequent compilation.
Thanks,
Richard Saam
****************************
program Example;
uses
Carbon, TestUnit;
label
CantCreateWindow,
CantSetMenuBar,
CantGetNibRef;
var
err : OSStatus;
nibRef : IBNibRef;
window : WindowRef;
begin
..............................
..............................
..............................
end.
Dr. Rolf Jansen wrote:
>I updated my web site with an installer package which contains the
>missing pieces for integration of Free Pascal into Xcode. Besides that,
>you will find also a little tutorial on how to produce specifications
>and project templates for Xcode.
>
> http://InstantWare.bei.t-online.de/Xcode-FreePascal/
>
>New in this update is a Pascal Carbon Application Project template, and
>the Pascal Tool and Pascal CGI templates were polished up.
>
>The installer will place all templates and specifications to the correct
>locations and will automatically patch a copy of Apples Universal
>PInterfaces (which must be downloaded separately from Apple) for use
>with Free Pascal.
>
>In addition, most GDB problems were sorted out and appropriate .gdbinit
>files are placed into the templates. However, one GDB issue is left.
>There is a limitation of fpc caused by its design for case sensitive
>file systems. Because of this, source level debugging in Xcode is only
>possible if the Pascal source file names are all lower case.
>
>In order to build Carbon applications you will need the latest FPC 1.9.5
>from CVS. The installer package produced with the snapshot of FPC 1.9.5
>from 15th August 2004 contains a bug which prevents linking against
>Apples Carbon Framework. Anyway, you will need this snapshot, at least
>for bootstrapping newer versions of Free Pascal from CVS:
>
> http://www.freepascal.org/fpcmac.html
>
>[2004-8-15 snapshot]:
> http://www.elis.ugent.be/~jmaebe/nobackup/fpc/fpc-macosx-1.9.5.dmg
>
>
>There is much development going on for Free Pascal for Mac OS X.
>Therefore, it might be a good idea to get FreePascal from CVS anyway.
>
> http://www.freepascal.org/develop.html#cvs
>
>Once you checked out fpc from CVS and installed the FPC 1.9.5 [2004-8-15
>snapshot], bootstrapping of the latest CVS version is simply done with
>the following commands in Terminal:
>
> cd fpc
> make all
> sudo make install
>
>CVS updates for Free Pascal can then be obtained by issuing following
>commands in Terminal:
>
> cd fpc
> make clean
> cvs -z 3 update -Pd
> make all
> sudo make install
>
>Enjoy!
>
>Rolf
>
>
--------------050503040605080607080107
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="New York">Dr. Rolf Jansen:<br>
<br>
Along with Ann, could you help me on this problem?<br>
<br>
I have enstalled the free pascal (FPC 1.9.5) </font><font
face="New York">with xcode and Xcode Integration Kit with OS 10.3.
<br>
<br>
The following program compiles nicely, but my purpose is to compile a
pascal program written under IDE 3.1 Metrowerks. The Pascal program
uses many units which themselves refer to other units necessitating the
"User Propagates" function in </font><font face="New York">IDE 3.1
Metrowerks. In the following program, I inserted a typical unit
"quickdraw" under uses in addition to </font><font face="New
York">Carbon,
TestUnit. An error occurred. It did not compile. No
particular
message was given. <br>
<br>
What additional thing am I supposed to do to bring units into a program
for subsequent compilation.<br>
<br>
Thanks,<br>
<br>
Richard Saam<br>
</font>
<pre wrap="">
</pre>
<font face="New York">****************************<br>
program Example;<br>
uses<br>
Carbon, TestUnit;<br>
<br>
label<br>
CantCreateWindow,<br>
CantSetMenuBar,<br>
CantGetNibRef;<br>
<br>
var<br>
err :
OSStatus;<br>
nibRef : IBNibRef;<br>
window : WindowRef;<br>
<br>
<br>
begin<br>
..............................</font><font face="New York"><br>
..............................</font><font face="New York"><br>
..............................</font><font face="New York"><br>
end.<br>
<br>
</font><br>
Dr. Rolf Jansen wrote:
<blockquote cite="mid20040827100417405+0200@[EMAIL PROTECTED]
"
type="cite">
<pre wrap="">I updated my web site with an installer package which
contains the
missing pieces for integration of Free Pascal into Xcode. Besides that,
you will find also a little tutorial on how to produce specifications
and project templates for Xcode.
<a class="moz-txt-link-freetext"
href="http://InstantWare.bei.t-online.de/Xcode-FreePascal/">http://InstantWare.bei.t-online.de/Xcode-FreePascal/</a>
New in this update is a Pascal Carbon Application Project template, and
the Pascal Tool and Pascal CGI templates were polished up.
The installer will place all templates and specifications to the correct
locations and will automatically patch a copy of Apples Universal
PInterfaces (which must be downloaded separately from Apple) for use
with Free Pascal.
In addition, most GDB problems were sorted out and appropriate .gdbinit
files are placed into the templates. However, one GDB issue is left.
There is a limitation of fpc caused by its design for case sensitive
file systems. Because of this, source level debugging in Xcode is only
possible if the Pascal source file names are all lower case.
In order to build Carbon applications you will need the latest FPC 1.9.5
from CVS. The installer package produced with the snapshot of FPC 1.9.5
from 15th August 2004 contains a bug which prevents linking against
Apples Carbon Framework. Anyway, you will need this snapshot, at least
for bootstrapping newer versions of Free Pascal from CVS:
<a class="moz-txt-link-freetext"
href="http://www.freepascal.org/fpcmac.html">http://www.freepascal.org/fpcmac.html</a>
[2004-8-15 snapshot]:
<a class="moz-txt-link-freetext"
href="http://www.elis.ugent.be/~jmaebe/nobackup/fpc/fpc-macosx-1.9.5.dmg">http://www.elis.ugent.be/~jmaebe/nobackup/fpc/fpc-macosx-1.9.5.dmg</a>
There is much development going on for Free Pascal for Mac OS X.
Therefore, it might be a good idea to get FreePascal from CVS anyway.
<a class="moz-txt-link-freetext"
href="http://www.freepascal.org/develop.html#cvs">http://www.freepascal.org/develop.html#cvs</a>
Once you checked out fpc from CVS and installed the FPC 1.9.5 [2004-8-15
snapshot], bootstrapping of the latest CVS version is simply done with
the following commands in Terminal:
cd fpc
make all
sudo make install
CVS updates for Free Pascal can then be obtained by issuing following
commands in Terminal:
cd fpc
make clean
cvs -z 3 update -Pd
make all
sudo make install
Enjoy!
Rolf
</pre>
</blockquote>
</body>
</html>
--------------050503040605080607080107--


|