Re: [fpc-pascal] 64-bit ARM and CPUARM

2024-05-21 Thread Christo Crause via fpc-pascal
On Tue, May 21, 2024 at 10:37 AM Ched via fpc-pascal <
fpc-pascal@lists.freepascal.org> wrote:

> In https://www.freepascal.org/docs-html/prog/progap7.html , there is
> specified that
> CPUARM  Free Pascal target is an ARM 32-bit processor.
>
> What about ARM 64-bit processors like the ones in Raspberries ?
> Something similar to CPUPOWERPC with two subcatagories CPUPOWERPC32 and
> CPUPOWERPC64 ?
>
>
ARM-64 is called aarch64 in FPC, so the define should be something like
CPUAARCH64
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] 64-bit ARM and CPUARM

2024-05-21 Thread Ched via fpc-pascal

Hello All,

Just a little question. In

In https://www.freepascal.org/docs-html/prog/progap7.html , there is specified 
that
CPUARM  Free Pascal target is an ARM 32-bit processor.

What about ARM 64-bit processors like the ones in Raspberries ?
Something similar to CPUPOWERPC with two subcatagories CPUPOWERPC32 and 
CPUPOWERPC64 ?

Cheers, Ched'
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Am Freitag, 24. Dezember 2021, 23:02:03 CET schrieb Sven Barth via fpc-pascal:
> Rainer Stratmann via fpc-pascal  schrieb
> 
> am Fr., 24. Dez. 2021, 15:04:
> > Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc
> > programm?
> 
> No, because your program is running as a 32-bit process and thus only has
> access to the 32-bit space of syscalls.
> 
> Why, what do you want to do?

My Kernel Mode Setting Program is not working on the latest Debian Linux 64 
Bit Kernel.

Debian 10 - 32 Bit Linux - it works
Debian 10 - 64 Bit Linux - it works
Debian 11 - 32 Bit Linux - it works
Debian 11 - 64 Bit Linux - it does not work

It has something to do with mmap2 and may be the vtconsole.
I guess mmap2 is not working correctly in Debian 11 - 64 Bit Linux.
Or the vtconsole takes over the framebuffer.

> Regards,
> Sven




___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Sven Barth via fpc-pascal
Rainer Stratmann via fpc-pascal  schrieb
am Fr., 24. Dez. 2021, 15:04:

> Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc
> programm?
>

No, because your program is running as a 32-bit process and thus only has
access to the 32-bit space of syscalls.

Why, what do you want to do?

Regards,
Sven

>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] 64 bit Linux syscall from 32 bit fpc program

2021-12-24 Thread Rainer Stratmann via fpc-pascal
Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc 
programm?


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread patspiper

Hi,

Is it possible to build cross binutils to produce win 64 bit files on a 
32 bit Linux OS (Ubuntu 32 bit)?


If I set target=x86_64-cygwin, the error is:
'BFD does not support target x86_64-pc-cygwin'

Stephano
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread Sven Barth

Am 11.04.2013 10:16, schrieb patspiper:

Hi,

Is it possible to build cross binutils to produce win 64 bit files on 
a 32 bit Linux OS (Ubuntu 32 bit)?


If I set target=x86_64-cygwin, the error is:
'BFD does not support target x86_64-pc-cygwin'

Why don't you install binutils-mingw-w64 package? [Note: I don't have 
Ubuntu, so I don't know whether it exists for your specific version of 
Ubuntu]


Regards,
Sven
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread zeljko

On 04/11/2013 10:33 AM, Sven Barth wrote:

Am 11.04.2013 10:16, schrieb patspiper:

Hi,

Is it possible to build cross binutils to produce win 64 bit files on
a 32 bit Linux OS (Ubuntu 32 bit)?

If I set target=x86_64-cygwin, the error is:
'BFD does not support target x86_64-pc-cygwin'


Why don't you install binutils-mingw-w64 package? [Note: I don't have
Ubuntu, so I don't know whether it exists for your specific version of
Ubuntu]


New fedora's also have complete binutils for 32/64 bit.

zeljko

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread patspiper

On 11/04/13 11:33, Sven Barth wrote:

Am 11.04.2013 10:16, schrieb patspiper:

Hi,

Is it possible to build cross binutils to produce win 64 bit files on 
a 32 bit Linux OS (Ubuntu 32 bit)?


If I set target=x86_64-cygwin, the error is:
'BFD does not support target x86_64-pc-cygwin'

Why don't you install binutils-mingw-w64 package? [Note: I don't have 
Ubuntu, so I don't know whether it exists for your specific version of 
Ubuntu]
binutils-mingw-w64 package does not exist for Ubuntu 11.04 (my OS), 
although it is available in Ubuntu 12.10.


In any case, I have built myself cross binutils for i386/Win32 (cygwin 
and mingw32), x86_64/Linux, arm/WinCE, and arm/Linux. As an exercise, I 
would like to do the same for Win64.


Any tips?

Stephano
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread Pierre Free Pascal


 -Message d'origine-
 De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-
 boun...@lists.freepascal.org] De la part de patspiper
 Envoyé : jeudi 11 avril 2013 13:01
 À : FPC-Pascal users discussions
 Objet : Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS
 
 On 11/04/13 11:33, Sven Barth wrote:
  Am 11.04.2013 10:16, schrieb patspiper:
  Hi,
 
  Is it possible to build cross binutils to produce win 64 bit files on
  a 32 bit Linux OS (Ubuntu 32 bit)?
 
  If I set target=x86_64-cygwin, the error is:
  'BFD does not support target x86_64-pc-cygwin'
 
  Why don't you install binutils-mingw-w64 package? [Note: I don't have
  Ubuntu, so I don't know whether it exists for your specific version of
  Ubuntu]
 binutils-mingw-w64 package does not exist for Ubuntu 11.04 (my OS),
 although it is available in Ubuntu 12.10.
 
 In any case, I have built myself cross binutils for i386/Win32 (cygwin
 and mingw32), x86_64/Linux, arm/WinCE, and arm/Linux. As an exercise, I
 would like to do the same for Win64.

The i386-win32 to x86_64-win64 cross-tools give this information:

E:\pasx86_64-win64-as --version
GNU assembler (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-w64-mingw32'.

So building Binutils with --target=x86_64-w64-mingw32
should work for you.

Pierre Muller

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread patspiper

On 11/04/13 14:15, Pierre Free Pascal wrote:


binutils-mingw-w64 package does not exist for Ubuntu 11.04 (my OS),
although it is available in Ubuntu 12.10.

In any case, I have built myself cross binutils for i386/Win32 (cygwin
and mingw32), x86_64/Linux, arm/WinCE, and arm/Linux. As an exercise, I
would like to do the same for Win64.

The i386-win32 to x86_64-win64 cross-tools give this information:

E:\pasx86_64-win64-as --version
GNU assembler (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-w64-mingw32'.

So building Binutils with --target=x86_64-w64-mingw32
should work for you.

It does indeed!

As for cygwin 64 bits, it seems that a patch for cygwin 64 support was 
applied on 4.3.2013 
(http://cygwin.cybermirror.org/64bit/x86_64-pc-cygwin-binutils-20130304.patch), 
but it seems it is still not included in binutils 2.23.2


Thanks!

Stephano
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread Pierre Free Pascal
  So building Binutils with --target=x86_64-w64-mingw32
  should work for you.
 It does indeed!
 
 As for cygwin 64 bits, it seems that a patch for cygwin 64 support was
 applied on 4.3.2013
 (http://cygwin.cybermirror.org/64bit/x86_64-pc-cygwin-binutils-
 20130304.patch),
 but it seems it is still not included in binutils 2.23.2

  Anyhow, there is no cygwin target for Free Pascal,
neither win32 nor win64.

  It wouldn't be impossible to create...
but someone would have to volunteer!


Pierre Muller 

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread patspiper

On 11/04/13 14:48, Pierre Free Pascal wrote:

So building Binutils with --target=x86_64-w64-mingw32
should work for you.

It does indeed!

As for cygwin 64 bits, it seems that a patch for cygwin 64 support was
applied on 4.3.2013
(http://cygwin.cybermirror.org/64bit/x86_64-pc-cygwin-binutils-
20130304.patch),
but it seems it is still not included in binutils 2.23.2

   Anyhow, there is no cygwin target for Free Pascal,
neither win32 nor win64.

My Linux-Win32 cross compilation uses cygwin cross binutils.

i686-cygwin-as --version:
GNU assembler (GNU Binutils) 2.23.1
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i686-cygwin'.

However, I have been recently plagued with a snag when creating cross 
compilers (from Ubuntu 32 bits):

i386-win32 / FPC 2.6.3: success
x86_64-win64 / FPC 2.6.3: success
x86_64-linux / FPC 2.6.3: fail
arm-winCE / FPC 2.6.3: success
arm-linux / FPC 2.6.3: fail

i386-win32 / FPC 2.7.1: fail
x86_64-win64 / FPC 2.7.1: fail
x86_64-linux / FPC 2.7.1: fail
arm-winCE / FPC 2.7.1: fail
arm-linux / FPC 2.7.1: fail

The failure message is always similar to:
.../fpc/crossbinutils/bin/x86_64-linux-ld: warning: ./link.res contains 
output sections; did you forget -T?

.../fpc/crossbinutils/bin/x86_64-linux-ld: cannot find -lgcc
.../fpc/crossbinutils/bin/x86_64-linux-ld: cannot find -lc
fpdoc.pp(382,1) Error: Error while linking

I am clueless at this stage.

Stephano

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread Marcos Douglas
On Thu, Apr 11, 2013 at 8:15 AM, Pierre Free Pascal
pie...@freepascal.org wrote:



  -Message d'origine-
  De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-
  boun...@lists.freepascal.org] De la part de patspiper
  Envoyé : jeudi 11 avril 2013 13:01
  À : FPC-Pascal users discussions
  Objet : Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS
 
  On 11/04/13 11:33, Sven Barth wrote:
   Am 11.04.2013 10:16, schrieb patspiper:
   Hi,
  
   Is it possible to build cross binutils to produce win 64 bit files on
   a 32 bit Linux OS (Ubuntu 32 bit)?
  
   If I set target=x86_64-cygwin, the error is:
   'BFD does not support target x86_64-pc-cygwin'
  
   Why don't you install binutils-mingw-w64 package? [Note: I don't have
   Ubuntu, so I don't know whether it exists for your specific version of
   Ubuntu]
  binutils-mingw-w64 package does not exist for Ubuntu 11.04 (my OS),
  although it is available in Ubuntu 12.10.
 
  In any case, I have built myself cross binutils for i386/Win32 (cygwin
  and mingw32), x86_64/Linux, arm/WinCE, and arm/Linux. As an exercise, I
  would like to do the same for Win64.

 The i386-win32 to x86_64-win64 cross-tools give this information:

 E:\pasx86_64-win64-as --version
 GNU assembler (GNU Binutils) 2.22
 Copyright 2011 Free Software Foundation, Inc.
 This program is free software; you may redistribute it under the terms of
 the GNU General Public License version 3 or later.
 This program has absolutely no warranty.
 This assembler was configured for a target of `x86_64-w64-mingw32'.

 So building Binutils with --target=x86_64-w64-mingw32
 should work for you.

 Pierre Muller

On Windows, using FPC 2.7.1, I use:
 make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64

But this not works. I always got the error:

W:/md/dev/freepascal/compiler/2.7.1/compiler/ppc.exe fpmake.pp  -FuW:/md/dev/fre
epascal/compiler/2.7.1/packages/fpmkunit/units_bs/i386-win32 -FuW:/md/dev/freepa
scal/compiler/2.7.1/rtl/units/i386-win32
Fatal: Can't find unit process used by fpmkunit
Fatal: Compilation aborted
make[3]: *** [fpmake] Error 1
make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/packages'
make[2]: *** [packages_all] Error 2
make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
make[1]: *** [build-stamp.x86_64-win64] Error 2
make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
make: *** [crossinstall] Error 2


Using FPC 2.6.2 works perfectly.

Best regards,
Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


RE: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread Pierre Free Pascal
 On Windows, using FPC 2.7.1, I use:
  make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64
 
 But this not works. I always got the error:
 
 W:/md/dev/freepascal/compiler/2.7.1/compiler/ppc.exe fpmake.pp  -
 FuW:/md/dev/fre
 epascal/compiler/2.7.1/packages/fpmkunit/units_bs/i386-win32 -
 FuW:/md/dev/freepa
 scal/compiler/2.7.1/rtl/units/i386-win32
 Fatal: Can't find unit process used by fpmkunit
 Fatal: Compilation aborted
 make[3]: *** [fpmake] Error 1
 make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/packages'
 make[2]: *** [packages_all] Error 2
 make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
 make[1]: *** [build-stamp.x86_64-win64] Error 2
 make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
 make: *** [crossinstall] Error 2
 

Starting with fpc-2.6.2 release, 
this completes successfully for me:
make distclean crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 
PREFIX=e:/pas/fpc-2.7.1

Stating with a 2.7.1 win32 binary:
E:\pasfpc -iVDW
2.7.1 2013/03/28 2.7.1-r1:24029M
(Meaning that I do have some local modifications, but I doubt those interfere 
with your problem...)
I get the same success...

Did you use a distclean before the crossinstall?
win32 fpmake.exe generated for native win32 target might be a problem...
I checked, and indeed, if you just do a native install
followed by a crossinstall without a distclean in between, 
you do get
E:/pas/trunk/fpcsrc/compiler/ppc.exe src/fpmkunit.pp  
-FuE:/pas/trunk/fpcsrc/rtl/units/i386-win32 -FuE:/pas/trunk/fpcsrc
/packages/paszlib/units/i386-win32 
-FuE:/pas/trunk/fpcsrc/packages/fcl-process/units/i386-win32 
-FuE:/pas/trunk/fpcsrc/p
ackages/hash/units/i386-win32 -FUunits_bs/i386-win32 -Fu../paszlib/src 
-Fu../hash/src -Fi../paszlib/src  -Fi../fcl-proce
ss/src/win -Fu../fcl-process/src -Fi../fcl-process/src/win32 
-Fi../fcl-process/src/dummy
make[4]: Leaving directory `E:/pas/trunk/fpcsrc/packages/fpmkunit'
E:/pas/trunk/fpcsrc/compiler/ppc.exe fpmake.pp  
-FuE:/pas/trunk/fpcsrc/packages/fpmkunit/units_bs/i386-win32 -FuE:/pas/t
runk/fpcsrc/rtl/units/i386-win32
Fatal: Can't find unit process used by fpmkunit
Fatal: Compilation aborted
make[3]: *** [fpmake] Error 1


So the solution to your problem really is
to run a 'distclean' make target before the 'crossinstall' target.

Pierre Muller

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread Marcos Douglas
On Thu, Apr 11, 2013 at 12:53 PM, Pierre Free Pascal
pie...@freepascal.org wrote:

  On Windows, using FPC 2.7.1, I use:
   make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64
 
  But this not works. I always got the error:
  
  W:/md/dev/freepascal/compiler/2.7.1/compiler/ppc.exe fpmake.pp  -
  FuW:/md/dev/fre
  epascal/compiler/2.7.1/packages/fpmkunit/units_bs/i386-win32 -
  FuW:/md/dev/freepa
  scal/compiler/2.7.1/rtl/units/i386-win32
  Fatal: Can't find unit process used by fpmkunit
  Fatal: Compilation aborted
  make[3]: *** [fpmake] Error 1
  make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/packages'
  make[2]: *** [packages_all] Error 2
  make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
  make[1]: *** [build-stamp.x86_64-win64] Error 2
  make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
  make: *** [crossinstall] Error 2
  

 Starting with fpc-2.6.2 release,
 this completes successfully for me:
 make distclean crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 
 PREFIX=e:/pas/fpc-2.7.1

 Stating with a 2.7.1 win32 binary:
 E:\pasfpc -iVDW
 2.7.1 2013/03/28 2.7.1-r1:24029M
 (Meaning that I do have some local modifications, but I doubt those interfere 
 with your problem...)
 I get the same success...

 Did you use a distclean before the crossinstall?
 win32 fpmake.exe generated for native win32 target might be a problem...
 I checked, and indeed, if you just do a native install
 followed by a crossinstall without a distclean in between,
 you do get
 E:/pas/trunk/fpcsrc/compiler/ppc.exe src/fpmkunit.pp  
 -FuE:/pas/trunk/fpcsrc/rtl/units/i386-win32 -FuE:/pas/trunk/fpcsrc
 /packages/paszlib/units/i386-win32 
 -FuE:/pas/trunk/fpcsrc/packages/fcl-process/units/i386-win32 
 -FuE:/pas/trunk/fpcsrc/p
 ackages/hash/units/i386-win32 -FUunits_bs/i386-win32 -Fu../paszlib/src 
 -Fu../hash/src -Fi../paszlib/src  -Fi../fcl-proce
 ss/src/win -Fu../fcl-process/src -Fi../fcl-process/src/win32 
 -Fi../fcl-process/src/dummy
 make[4]: Leaving directory `E:/pas/trunk/fpcsrc/packages/fpmkunit'
 E:/pas/trunk/fpcsrc/compiler/ppc.exe fpmake.pp  
 -FuE:/pas/trunk/fpcsrc/packages/fpmkunit/units_bs/i386-win32 -FuE:/pas/t
 runk/fpcsrc/rtl/units/i386-win32
 Fatal: Can't find unit process used by fpmkunit
 Fatal: Compilation aborted
 make[3]: *** [fpmake] Error 1


 So the solution to your problem really is
 to run a 'distclean' make target before the 'crossinstall' target.

Thank you very much, worked!
I used distclean before, but I don't remember why I remove from my script.

Do you know if 'make clean' and 'make distclean' is the same?

Regards,
Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] 64 bit ?

2011-05-18 Thread Terry A. Haimann
I have a desktop with a 64bit AMD x4 Phenom processor.  I have noticed 
that FreePascal programs perform worse on this computer then they do on 
my 32 bit laptop.  Integer performance seems to be about 3 times worse 
then on the laptop.  Now if I convert the pascal source to c and compile 
that as follows:


gcc -O3 -funroll-all-loops -o MyExecutable MySource.c

The performance is many times better then with FreePascal.  I assume 
that gcc is compiling to 64 bit here and generating an optimizing for 
the AMD processor.  Is there a way to do something similar with Free Pascal?


Thanks,Terry

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] 64-bit version and libraries

2005-10-31 Thread Василий
Seems like x64-linux fpc version doesn't support shared objects creations, but 
it stops only while linking... Is there any progress? 
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64-bit version and libraries

2005-10-31 Thread Florian Klaempfl
 Seems like x64-linux fpc version doesn't support shared objects creations,
 but
 it stops only while linking... Is there any progress?

In the latest svn versions it links but libraries crash at run time. For
unknown reasons symbols aren't resolved.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] 64 Bit Intel-Processors??

2005-08-19 Thread Thomas Zastrow

Hello,

I'm writing a little article about Pascal-Development under Linux. My 
question: Am I right that FPC will not work on Intels 
64-Bit-Processors??? I just found something about the 
AMD-64-Bit-platform ...


Greetings,

Tom

--
-
http://www.thomas-zastrow.de


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 Bit Intel-Processors??

2005-08-19 Thread Nikolay Nikolov

Thomas Zastrow wrote:


Hello,

I'm writing a little article about Pascal-Development under Linux. My 
question: Am I right that FPC will not work on Intels 
64-Bit-Processors??? I just found something about the 
AMD-64-Bit-platform ...


It should run on Intel EM64T (http://en.wikipedia.org/wiki/EM64T) 
processors (that means the latest Pentium 4 and Xeon processors), 
although I haven't tested it on Intel - I have an Athlon 64. It won't 
work on IA-64 (http://en.wikipedia.org/wiki/IA-64) processors like the 
Itanium.



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 Bit Intel-Processors??

2005-08-19 Thread Marco van de Voort
 I'm writing a little article about Pascal-Development under Linux. My 
 question: Am I right that FPC will not work on Intels 
 64-Bit-Processors??? I just found something about the 
 AMD-64-Bit-platform ...

I don't expect problems. Maybe you should be more clear about what you found.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] 64 Bit Intel-Processors??

2005-08-19 Thread Marco van de Voort
 AMD-64-Bit-platform ...
 
 
 
 I don't expect problems. Maybe you should be more clear about what you 
 found.
   
 
 OK, I just found on the FPC-Website:  ... It is available for different 
 processors: Intel x86, Amd64/x86 64, PowerPC, Sparc...
 
 So I was not sure if it runs on *Intel* - 64-Bit (I'm not a 
 hardware-specialist, but it isn't sooo important for my text, I just 
 don't want to write anything wrong.)

AMD originally invented the 64-bit extensions to the x86 chipset, Intel
licensed them later. Before Intel licensed it, the arch was named AMD64,
after Intel also started pushing out AMD64's it is called x86_64.

So Intel x86_64's will work. Itaniums will not, but these are hard (and
expensive) to come by.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]64 bit

2004-06-29 Thread Peter Vreman
 The website says that

 The first 64-bit port has arrived. Tonight, FPC compiled itself for the
 first time on a 64-bit system. The system was of the AMD64 type.

 However I can't find any more information.  Do I just download
 and compile the source it in the normal way?

 I have a dual opteron with SuSe 9.1

You can bootstrap a new version. Requirements: ppc386 from 1.0.10 and
cross i386-x86_64 binutils. After that you can type 'make all
BINUTILSPREFIX=x86_64-linux-' and it should build it. For more info see
the build faq.






___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal]64 bit

2004-06-28 Thread rkimber
The website says that 

The first 64-bit port has arrived. Tonight, FPC compiled itself for the
first time on a 64-bit system. The system was of the AMD64 type.

However I can't find any more information.  Do I just download
and compile the source it in the normal way?

I have a dual opteron with SuSe 9.1

- Richard.
-- 
Richard Kimber
http://www.psr.keele.ac.uk/

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]64 bit

2004-06-28 Thread Marco van de Voort
 The website says that 
 
 The first 64-bit port has arrived. Tonight, FPC compiled itself for the
 first time on a 64-bit system. The system was of the AMD64 type.
 
 However I can't find any more information.  Do I just download
 and compile the source it in the normal way?

No, one really needs to treat it as a separate architecture.

So crosscompiling with cross-binutils.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal