Re: [fpc-pascal]make files

2003-09-08 Thread James Mills
On Sun, Sep 07, 2003 at 04:30:39PM -0400, Frank W McCormick wrote: Hi all Can someone give me a simple example of a makefile suitable for just simple compiling of one file ? I am so used to running FPC from the command line that make is foreign to me. Catch! cheers James -- - -Zero

[fpc-pascal]RE: Read from command line

2003-09-08 Thread Jeff Pohlmeyer
There is a subtle difference between ParamStr(0) and argv[0]: argv[0] is the verbatim command passed to the shell. ParamStr(0) is the full path to the executable. Neither of these will dereference a symlink, to do that you can call ReadLink recursively, or ReadLink(/proc/PID/exe) Also note

[fpc-pascal]RE: make files

2003-09-08 Thread Jeff Pohlmeyer
Can someone give me a simple example of a makefile suitable for just simple compiling of one file ? I am so used to running FPC from the command line that make is foreign to me. [EXAMPLE] #!/bin/bash all: ppc386 somefile.pas debug: ppc386 -vewh -gl -Crtoi somefile.pp

Re: [fpc-pascal]How to unsubscribe???

2003-09-08 Thread Carlo Kok
L D Blake wrote: Hello, Could someone please provide unsubscribe information for this list? OR... could the list admin, please boot me off G. See the link added to the bottom of every message. Carlo Kok ___ fpc-pascal maillist - [EMAIL PROTECTED]

Re: [fpc-pascal]No source file named ...

2003-09-08 Thread John Coppens
On Mon, 8 Sep 2003 21:05:39 -0300 John Coppens [EMAIL PROTECTED] wrote: Hi again Yet another problem - this one seems more or less erratic, though I haven't found a cause yet. Sometimes it works, sometimes not. When in gdb, I get: (gdb) br wav_fmt.pas:330 No source file named