FPC3.2.0 does not have a 64 bit version, but only a 32-cross-64(also installed).What do you mean with "FPC 3.2.0 does not have 64-bit version" !?
Free Pascal Compiler
Version 3.2.0
****************************************************************************
* Introduction
****************************************************************************
Please also read the platform specific README file, if it exists.
This package contains an advanced freeware 32-bit/64-bit/16-bit pascal
compiler for several platforms. The language and the runtime library are
almost compatible with Turbo Pascal 7.0 and recent Delphi releases. There is
also partial support for the Macintosh pascal dialect.
News and changes related to this release are described in whatsnew.txt.
Free Pascal 3.2.0 is currently available for the following platforms:
- Linux-i386
- Linux-x86_64 (amd64)
- Linux-powerpc
- Linux-sparc
- Linux-ARM
- Win32-i386 (2000/XP, WinNT or later)
- Win64-x86_64 (XP or later)
- Wince-ARM (cross compiled from win32-i386)
- FreeBSD-i386
- FreeBSD-x86_64
- Mac OS X/Darwin for PowerPC (32 and 64 bit)
- Mac OS X/Darwin for Intel (32 and 64 bit)
- iOS (ARM and AArch64/ARM64) and iPhoneSimulator (32 and 64 bit)
- OS/2-i386 (OS/2 Warp v3.0, 4.0, WarpServer for e-Business and eComStation)
- Haiku-i386
- GO32v2-i386
- Nintendo Gameboy Advance-ARM (cross compile from win32-i386)
- Nintendo DS-ARM (cross compile from win32-i386)
- Nintendo Wii-powerpc (cross compile from win32-i386)
- AIX 5.3 and later for PowerPC (32 and 64 bit)
- Java JVM (1.5 and later) and Android Dalvik (Android 4.0 and later)
- Android (AArch64, x86_64, ARM, i386, MIPS) via cross-compiling.
- MSDos-i8086 (cross compiled from win32-i386 or Linux)
- Amiga, MorphOS and AROS
FPC3.2.0 does not have a 64 bit version, but only a 32-cross-64(also installed).What do you mean with "FPC 3.2.0 does not have 64-bit version" !?
edit (*) to clarify: yes i know/understand that there isn't a win64 version available for download, it is suggested there is. Even more so on the new features and changes pages related to 3.2.0 (new features suggest necessity for new functionality and changes not mentioning non availability/lack of win64 native compiler).
That is exactly what senglit meant: we don't provide a native Win64 compiler as download.Ok, thank you Pascal Dragon.
@englit: In that case, the instructions are different and for testing purpose only.
- download and install FreePascal 3.2.0 32 bit for windows
- make sure you download and extract the free pascal 3.2.0 sources as well
- create a <work> directory for testing purpose
- copy <your FPC source location>/packages/openssl/src/*.* to <work>
- copy <your fpc source location>/packages/openssl/examples/test1.pas to <work>
- copy your 32-bit ssl libraries/dll's to <work>
- open a commandline, and navigate over to <work> directory
- type "fpc -B test1.pas" (without quotes) and press enter.
- run test1 by typing "test1" (without quotes) and press enter.
- paste returned results back into this thread for review
- copy <your FPC source location>/packages/openssl/src/*.* to <work>
Compiling oraclew.ppThose files are located in another directory named "oracle" :)
Compiling oci.pp
Compiling oratypes.pp
oratypes.pp(300,12) Warning: Function result does not seem to be set
could you try again with deleting everything from your temporary work directory <work> and copying the (correct) openssl directory and the the correct test example "test1.pas" located in the openssl examples directory ?
C:\tmp>test1A perfect (as in expected result). Three hurrays for yourself :D
Load OK, missing functions:
Version :
C:\tmp>
It seems ok now. InitSSLInterface works. And there is no unavaliable functions.
But it can not get the openssl version.That is correct. It was recently removed from trunk because ssleasy libraries did not seem to comply to the (openssl) standard.
So, does it mean FPC3.2.0 32bit works well with openssl,That is a correct assumption.
And my problem may come from some other places?Also that is a correct assumption.
Do you suggest that I uninstall lazarus 64bit version and install a 32 bit version.Your current issues seem to originate from having a Lazarus installed that is not equipped (by default) with Free Pascal 3.2.0
I guest lazarus 2.0.8 32bit + fpc3.2.0 32bit + openssl 1.0.2u 32bit should work under win10 64bit.When using 32 bit openssl libraries yes, that you have just proofed.
Easiest solution: install 32 bit FPC and build your own Lazarus 2.0.8, then install the 32 to 64 bit cross compiler in case you do wish to target 64-bit. it is only one setting on your project options to cross compile (provided that you have setup the compiler and cross-compiler correctly)
@senglit:
Sorry that you had to go through so much trouble in order to get things working for you.
And just as you are facing these issues a new (upcoming in a week or two) release was announced.
Don't forget that lnet in OPM, even though you upgraded your Lazarus and FreePascal, is still outdated. You would have to download the sources from github and compile/install it manually in order for it to work in production.
Thanks for the feedback.
After re-build with Lazarus 2.0.10 and FPC 3.2.0, everything is ok now. Thanks for your effort!Again, thank you for the feedback.