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
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
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
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
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
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
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
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
- 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
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
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
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-
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
?
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
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
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
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
--
---
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
--
--
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
:
{$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
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
_
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
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
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,
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
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
26 matches
Mail list logo