Ok, so now it compiles but, I still an an error while linking :
ld.exe: cannot find -lpthread
This is basic crosslinking stuff. You must transfer all the required
libraries from the target system, to be able to crosscompile it to
there(In this case libpthread.so)
-Message d'origine-
De : fpc-pascal-boun...@lists.freepascal.org
[mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Jonas Maebe
Envoyé : vendredi 28 janvier 2011 14:39
À : FPC-Pascal users discussions
Objet : Re: [fpc-pascal] Internal error 2006012201 while cross compiling
---
OK, I replaced the -va by -vewunchilbdrqpv (everything except
timestamps).
With that, the error message reports the last line of the unit.
I removed a lot of code to find out that issue happens here
function RoundTo(const AValue: Double; const ADigit: TRoundToRange):
Den 31-01-2011 11:18, Julien Devillers skrev:
---
OK, I replaced the -va by -vewunchilbdrqpv (everything except
timestamps).
With that, the error message reports the last line of the unit.
I removed a lot of code to find out that issue happens here
function RoundTo(const
Can you try changing
C : extended;
to
c : Double;
and see whether that helps ?
Michael.
On Mon, 31 Jan 2011, Julien Devillers wrote:
---
OK, I replaced the -va by -vewunchilbdrqpv (everything except
timestamps).
With that, the error message reports the last line
My guess is that it's related to 80bit constants. Win64 doesn't support
80bit extended(according to some of the code, yet other places it
defined pbestrealtype to s80bit). A crosscompiler should defined
FPC_HAS_TYPE_EXTENDED for x86_64-linux, so I don't know whether this is
actually the problem
On 31 Jan 2011, at 13:52, Julien Devillers wrote:
May be, I did wrong when compiling the compiler ?
Does the 64bit compiler should be compiled with a64 bits compiler ?
It doesn't matter.
Which is the fpc minimum version for compiling the 2.4.2 fpc ?
FPC 2.4.0. Note that simply compiling
FPC 2.4.0. Note that simply compiling the compiler is never enough, you
have to perform a full build (make all in the top level fpc directory)
- Yes, That's what I did .
-make OS_TARGET=linux CPU_TARGET=x86_64 clean all
-make OS_TARGET=linux CPU_TARGET=x86_64 install
However, the
However, the internalerror you are getting is inside the external
assembler writer. Since you are compiling for Linux/x86-64, the compiler
should default to using the internal assembler. Are you using a variant
of the -a or -Aas command line options?
Without the -Aas, the unit compiles correctly.
However, the internalerror you are getting is inside the external
assembler writer. Since you are compiling for Linux/x86-64, the compiler
should default to using the internal assembler. Are you using a variant
of the -a or -Aas command line options?
Without the -Aas, the unit compiles correctly.
Den 31-01-2011 18:09, Julien Devillers skrev:
Ok, so now it compiles but, I still an an error while linking :
ld.exe: cannot find -lpthread
This is basic crosslinking stuff. You must transfer all the required
libraries from the target system, to be able to crosscompile it to
there(In this case
-pascal] Internal error 2006012201 while cross compiling
Didn't it give a filename and a line number?
Den 27-01-2011 15:34, Julien Devillers skrev:
Hello
I'm building an app from win64 to linux64.
The compilation fires an Internal error 2006012201.
Any idea ?
Regards
Julien
On 28 Jan 2011, at 14:33, Julien Devillers wrote:
no here's the end of the -va log :
[0.609] procedure/function Unassigned:UnicodeString;
[0.609] ENDIF FPCOLEVARIANT found
[0.625] Internal error 2006012201
The problem with -va is that the time stamps (the numbers between the
square
Hello
I'm building an app from win64 to linux64.
The compilation fires an Internal error 2006012201.
Any idea ?
Regards
Julien
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Didn't it give a filename and a line number?
Den 27-01-2011 15:34, Julien Devillers skrev:
Hello
I'm building an app from win64 to linux64.
The compilation fires an Internal error 2006012201.
Any idea ?
Regards
Julien
___
fpc-pascal maillist
15 matches
Mail list logo