You've known the answer, use include files! The compiler information (i.e.
target platform) can be obtained via fpc -iXXX (see fpc -h for XXX values).
Use that value in a script (i.e. Makefiles) to subtitute directory names.
That's what the compiler do all this time.
--
View this message in conte
jonasThanks for the reply. The installer didn't allow for any options. Should I use some other install proc?Again, thanksBrentOn Jun 16, 2009, Jonas Maebe wrote: On 16 Jun 2009, at 19:57, brentbro...@verizon.net wrote:> I recently installed v 2.2.4 of xcode and the pascal compiler on a > mac w/
On 16 Jun 2009, at 19:57, brentbro...@verizon.net wrote:
I recently installed v 2.2.4 of xcode and the pascal compiler on a
mac w/ OS X.5. During compile of the "hello world" program I got
the following:
Target OS: Darwin for i386
Compiling hello.pas
Assembling hello
Error: Assembler as n
I recently installed v 2.2.4 of xcode and the pascal compiler on a mac w/ OS X.5. During compile of the "hello world" program I got the following: Target OS: Darwin for i386Compiling hello.pasAssembling helloError: Assembler as not found, switching to external assemblingFatal: There were 1 errors
Thank you - having the extensions registered is not a large problem, as I don't
mind typing in .pp or .pas - I should be able to set the Path - PathExt - and
associations via a batch file.
Thanks to everyone for their assistance on this.
Tom
--- On Tue, 6/16/09, Marco van de Voort wrote:
The server keeps bouncing list replies for some reason.
No, I dont think on second thought that last message was me.Yes, I did
at one time reply all.Will take under consideration.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://li
Torsten Bonde Christiansen wrote:
Martin Friebe wrote:
If any member (object variable) is of a ref-counted type (that is
strings and dynamic arrays), then any "memory copy" will mess up.
Because in the objects memory, there only are the pointers to the
data of strings, and dyn-arrays. If
Hello FPC-Pascal,
Tuesday, June 16, 2009, 2:27:07 PM, you wrote:
TBC> Martin Friebe wrote:
>> There is Object.InstanceSize, which sounds as if it may be what you
>> are looking for.
>> But you have a bigger problem than that.
TBC> Thanks - i'll try that.
From my point of view a generic clone met
Hi!
There is a pascal wrapper for a library.
The library comes in different versions.
The library is specialized per operating system.
How can I make fpc pick the right OS- and release version of the
library?
I know I could fiddle something using ifdef's, but since the rtl is
build around select
In our previous episode, Graeme Geldenhuys said:
> > that FPC writes to the windows registry and was curious as to how
> > critical that information is to the operation of FPC from the USB.
>
> I was not aware of that. What is actually written to the registry? I thought
> the compiler only uses
On Tue, 16 Jun 2009, Graeme Geldenhuys wrote:
program T3ch18;
{an answer for tamrine 3 of chapter 18.
writer :Akbar Zamani date:1388/3/15}
^
Wow, that is a rather old computer program. :-)
Not if it is an arabic or muslim date, I believe they started in the
program T3ch18;
{an answer for tamrine 3 of chapter 18.
writer :Akbar Zamani date:1388/3/15}
^
Wow, that is a rather old computer program. :-)
Regards,
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolk
Thomas Nelson wrote:
that FPC writes to the windows registry and was curious as to how
critical that information is to the operation of FPC from the USB.
I was not aware of that. What is actually written to the registry? I thought
the compiler only uses the fpc.cfg file.
Regards,
- Graeme -
Martin Friebe wrote:
There is Object.InstanceSize, which sounds as if it may be what you
are looking for.
But you have a bigger problem than that.
Thanks - i'll try that.
If any member (object variable) is of a ref-counted type (that is
strings and dynamic arrays), then any "memory copy" w
Torsten Bonde Christiansen wrote:
Hi.
I was wondering if it is posible to make this type of construct for
creating a generic Clone method:
(I put it in pastebin): http://pastebin.com/fb495ed7
Explained in words - I'm trying to make a clone method that should be
able to copy the content of
Hi.
I was wondering if it is posible to make this type of construct for
creating a generic Clone method:
(I put it in pastebin): http://pastebin.com/fb495ed7
Explained in words - I'm trying to make a clone method that should be
able to copy the content of private variables to a destination
On 16 Jun 2009, at 07:50, Vincent Snijders wrote:
ak za schreef:
Hello
Please subscribe to the fpc-pascal mailing list.
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
He is subscribed, but the message was held for moderator approval
because there were too many recipients. Too t
ak za schreef:
Hello
Please subscribe to the fpc-pascal mailing list.
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Maybe the moderator will let it through, though. But if you are
subscribed you receive the answers directly.
Vincent
__
Hello
I use turbo_pascal language for learning. I write a program (T3ch18.pas)
which use two units – (Uadd_pro.pas) and (Un3ch 18.pas).
In unit Uadd_pro.pas , I used procedure ask. It works true when I test it
only, but when I use them together, above mentioned procedure in line –
readLn- c
19 matches
Mail list logo