Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
Zitat von "Karoly Balogh (Charlie/SGR)" : Hi On Sun, 6 Dec 2015, Lukas Gradl wrote: When calling fpc from linux command line -Twin32 is missing. -TWin64 works as expected. Where did -Twin32 go? Nowhere. Seems you are using a 64bit targeted compiler, which can only output x86_6

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
Quoting from my previous e-mail above: 'You need to tell fpc to call compiler for the respective CPU using the -Pi386'. I.e. add '-Pi386' to the command line options of 'fpc' (together with '-Twin32' and whatever else you'd need there) and it should work. Adding the -Pi386 parameter to fpc.cfg w

Re: [fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
What does '`fpc -Pi386 -PB`' do (the outer quotes should be removed before copying it to the command line, the inner quotes are there on purpose)? it says: /usr/bin/ppcross386 When I call that directly I get win32 under the -T section But not when calling through fpc. You need to tell fpc to

[fpc-pascal] Target Win32 missing

2015-12-06 Thread Lukas Gradl
Hello! Sorry to disturb anyone... Perhaps I just need a little bit more sleep, but I cant find a solution to my problem... When calling fpc from linux command line -Twin32 is missing. -TWin64 works as expected. Where did -Twin32 go? I'm using Debian jessie x86_64 as main OS. I compile f

Re: [fpc-pascal] where to set the binutils-path

2014-06-25 Thread Lukas Gradl
The proper alternative is to use $HOME instead (as long as you don't use single quotes). Hmpf - I could have seen that myself. Thanks for your help - it works. regards Lukas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists

[fpc-pascal] where to set the binutils-path

2014-06-25 Thread Lukas Gradl
I'm trying to compile fpc for arm-android using the following script: FPCBIN=/usr/lib/fpc/2.6.2/ppcx64 SRCDIR=/space/projekte/Sourcen/fpc27 ANDROIDBINDIR="~/Software/Android_Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin" export PATH=$ANDROIDBINDIR:$PA

[fpc-pascal] fpc 2.6.3 building i386 crosscompiler fails

2013-09-17 Thread Lukas Gradl
Hi! Tried to build the current svn of FPC 2.6.3 (svn Revision 25507) on my Linux X86_64-box. I did: make distclean make all FPC= sudo make install PREFIX= FPC= This worked so far, now I have the current svn as x86_64 compiler. Then i did: make clean make all CPU_TARGET=i386 This produces a

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Lukas Gradl
fancy GUI-Toolkit, a little bit more VCL-compatible than some competitor from South-Africa... *runningawayasfastaspossible* Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 5 A - 6020 Innsbruck Tel: +43-512-214040-0 Fa

Re: [fpc-pascal] FPC + 64bit Windows => anybody?

2010-05-04 Thread Lukas Gradl
- an Win64 Installation I never used for compilation. What I never tested was LCL on Win64, but I think this is not an important option for you, Graeme *g*... regards Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-21

[fpc-pascal] OT: mySQL Master-Master-Slave replication

2010-03-24 Thread Lukas Gradl
onntect to the Databases with some third party tool that has no configurable DB-Port, but uses the mysql-Default. Anyone already done something like that? Any hint apreciated... Regards Lukas -- ------ software security networks Lukas Gradl Eduard-Bodem-Gasse 5 A - 6020 Inn

Re: [fpc-pascal] Problem compiling DLL for 64Bit Windows - complete example attached

2009-12-18 Thread Lukas Gradl
ards Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 5 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 -- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailma

Re: [fpc-pascal] Problem compiling DLL for 64Bit Windows - complete example attached

2009-12-18 Thread Lukas Gradl
MONITOR, FAR *LPMONITOR; typedef struct _MONITOREX { DWORD dwMonitorSize; MONITOR Monitor; } MONITOREX, FAR *LPMONITOREX; regards Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 5 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-

[fpc-pascal] Problem compiling DLL for 64Bit Windows - complete example attached

2009-12-17 Thread Lukas Gradl
37: MainSection start 20:11:37: MainSection end 20:11:37: InitializePrintMonitor start 20:11:37: InitializePrintMonitor end --> The EnumPorts-Entry is missing here! so the crash is before or on calling the EnumPorts-Function. So, anyone an Idea what I might have missed? Or is ther

[fpc-pascal] dll for Win64 - problems porting from win32

2009-12-15 Thread Lukas Gradl
? regards Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 5 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 -- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Howto create a (simple) PDF?

2009-03-30 Thread Lukas Gradl
Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 -- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca

Re: [fpc-pascal] Sockets in FPC

2009-02-18 Thread Lukas Gradl
service. To daemonize a program on linux there are quite some examples on the net. regards Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040

Re: [fpc-pascal] CGI upload app

2008-11-04 Thread Lukas Gradl
am.Size); finally RcvStream.Free; SndStream.Free; L.Free; Terminate; end; end; begin With TYourNewCGI.Create(Nil) do begin try Title:='YourNewCGI'; Initialize; Run; Finally Free; end; end; end. Regards Lukas -- ---

Re: [fpc-pascal] PostMessage() from a thread (in a thread save manner)

2008-10-20 Thread Lukas Gradl
m outside, only funcions like PostMessage, GetMessage or DiscardMessage. This way you can make shure, the lock/unlock sequence will be used correctly... Regards Lukas (Just seen that Vincent was a bit faster than me, but with quite the same thougts...) -- -- software securit

[fpc-pascal] OT: Buy a Mac to develop for MacOS? Which one?

2008-10-11 Thread Lukas Gradl
-- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +43-512-214040-21 -- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] UIB on Linux X86_64

2008-09-12 Thread Lukas Gradl
: {$IFNDEF CPU64} {$ALIGN ON} {$ENDIF} {$MINENUMSIZE 4} Regards Lukas (already posted to the UIB-Forum, just for information here...) Lukas Gradl schrieb: Another problem occured: When using UIB with fpc on X86_64 field values are always empty (for strings) or 0 (for integers). For

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Lukas Gradl
Forgot to add: No difference between i386 and x64. regards Lukas Lukas Gradl schrieb: As far as i can understand the fpc sources it's in compiler/scanner.pas, line 359ff: { Default enum packing for delphi/tp7 } if (m_tp7 in current_settings.modeswitche

Re: [fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-11 Thread Lukas Gradl
_ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040-0 Fa

[fpc-pascal] PACKENUM and MINENUMSIZE

2008-09-10 Thread Lukas Gradl
AFAIK this seems to be the problem with UIB in X64 posted earlier but I'm not shure so far regards Lukas -- -- software security networks Lukas Gradl Eduard-Bodem-Gasse 9 A - 6020 Innsbruck Tel: +43-512-214040-0 Fax: +4

[fpc-pascal] UIB on Linux X86_64

2008-09-08 Thread Lukas Gradl
Docs"( "DocID" "dm_Key" DEFAULT 0, "DocType" "dm_TypID" DEFAULT 0, "DocName" "dm_Text", PRIMARY KEY ("DocID") ); INSERT INTO "Docs" ("DocID","DocType","DocName") VALUES (1,2,

Re: [fpc-pascal] "Invalid field size" when using UIB with fpc 2.3.1

2008-09-08 Thread Lukas Gradl
Joost, Thanks for your help. I could find the problem in uibdataset.pas and fix it. Already sent a Bugreport and a fix to the UIB-Forum. Thanks Lukas Joost van der Sluis schrieb: Op maandag 08-09-2008 om 16:13 uur [tijdzone +0200], schreef Lukas Gradl: Just had to upgrade to fpc 2.3.1 for

[fpc-pascal] "Invalid field size" when using UIB with fpc 2.3.1

2008-09-08 Thread Lukas Gradl
T NULL CHECK (VALUE>=0) ; CREATE DOMAIN "dm_TypID" AS Smallint DEFAULT 0 NOT NULL ; CREATE TABLE "Docs"( "DocID" "dm_Key" DEFAULT 0, "DocType" "dm_TypID" DEFAULT 0, PRIMARY KEY ("DocID") ); anyone an idea how to