Re: [fpc-pascal] Two questions about Pascal

2010-07-30 Thread Luca Olivetti
Al 30/07/10 00:12, En/na José Mejuto ha escrit: I was looking for a "with" like: with TNX(a) "named" as TNX_a do begin with TNXX(b) "named" as TNXX_b do begin TNX_a.OP1:=TNXX_b.OP2; TNXX_b.OP3:=TNX_a.OP2; [.] end; end; But I think that there is nothing like that in Pas

[fpc-pascal] Help to create a Makefile to build a shared library on Linux

2010-07-30 Thread Pierre Y.
Hi, Can you help me creating a Makefile to replace this ugly "build.sh" script ? # cat build.sh #!/usr/bin/env bash PROJECT=nepudf UIB_ROOT=../uib/source MACHINE_TYPE=`uname -m` if [ ${MACHINE_TYPE} == 'x86_64' ]; then # 64-bit stuff here FB_ROOT=/usr/lib64/firebird/2.1 fpc -B -dFB21 -fPI