Re: [fpc-pascal] FPC only 32 bits?

2007-06-05 Thread Francisco Reyes
Marco van de Voort writes: Then you need to crosscompile (see http://www.stack.nl/~marcov/buildfaq.pdf ) to AMD64, and fix the problems in the end. Done. It is possible to create a binary for amd64, but that binary doesn't work, and I don't know why. FreeBSD keeps complaining it can't execut

Re: [fpc-pascal] CGI upload app

2007-06-05 Thread Michael Van Canneyt
On Tue, 5 Jun 2007, Darius Blaszijk wrote: > Hi I would like to upload a file through a web page. How can I do this using > FPC? Is there any example available? The fpweb or cgiapp components can do this for you. Michael. ___ fpc-pascal maillist -

Re: [fpc-pascal] CGI upload app

2007-06-05 Thread Marc Pertron
Darius Blaszijk a écrit : Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? Hi, You can use PSP : http://psp.furtopia.org/cgi-bin/psp/download.psp I wrote a e-commerce website in just a few days with it, it's very efficient ! M

[fpc-pascal] CGI upload app

2007-06-05 Thread Darius Blaszijk
Hi I would like to upload a file through a web page. How can I do this using FPC? Is there any example available? Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Best way for "tail" a log file

2007-06-05 Thread TOUZEAU DAVID
Dear I need to parse /var/log/maillog file in the same way of /bin/tail tool in order to parse some lines. What is the best way or do you have such function that follow the write lines in a file ?? Best regards -- David Touzeau -- Linux Ubuntu Dapper 6.0.6 FreePasca

Re: [fpc-pascal] building snapshot

2007-06-05 Thread Francisco Reyes
Jonas Maebe writes: I downloaded the 2.3 snapshot (ot at least that is what I thought). Try running compiler/ppc386. fpc simply executes the first ppc it finds in the path afaik. Thanks. That was it. ./ppc386 Free Pascal Compiler version 2.3.1 [2007/06/04] for i386 Copyright (c) 1993-2007

Re: [fpc-pascal] FPC only 32 bits?

2007-06-05 Thread Marco van de Voort
> > cd ~/fpc > gmake distclean > # next all on one line > gmake all install CPU_TARGET=x86_64 OS_TARGET=freebsd CROSSBINDIR=~/cross/bin > BINUTILSPREFIX=x86_64-freebsd-INSTALL_PREFIX=/usr/local First, there should be a space before INSTALL_PREFIX > Does the install_prefix at the end installs a