Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Lazarus x86 build on x64 windows 14 years 3 weeks ago #283

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Hi,

using the latest CodeTyphon i have build the FPC and Lazarus for 64bits (i have Win7 x64).
It works perfectly!

After that, i also built FPC 32bits and after that Lazarus 32bits, but when i select the 32bit Lazarus from the
CodeTyphon ide it starts Lazarus 64bits with settings for FPC 64bits too...

So I changed the settings of Lazarus and saved them using the CodeTyphon menu "Lazarus\User Settings Save". When started Lazarus again
it had the default x64 config... Even when i tried to restore the settings nothing happend. Instead the Lazarus x64 settings
went to default....

I found out that actually exists a Lazarus 32bits IDE in the folder "{CodeTyphon path}\binSettings\win32"
but it is not the one that gets copied when i select the 32bit Lazarus ide..

Suggestions?

Kostas

Please Log in or Create an account to join the conversation.

Last edit: by Konstantinos Papadoulas.

Re: Lazarus x86 build on x64 windows 14 years 3 weeks ago #284

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Remove from C:\Lazarus\
xxlazarusWin64.txt or
xxlazarusWin32.txt

this file control the Lazarus IDE version (32 or 64bit)

and click in CodeTyphon App
CodeTyphon->Change lazarus IDE...

or Remove and Build lazarus from CodeTyphon App
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Re: Lazarus x86 build on x64 windows 14 years 3 weeks ago #285

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Removing the .txt files didn't do the work... i will try to rebuild Lazarus starting with the 32bit first...

i'll be back with news...

Kostas

Please Log in or Create an account to join the conversation.

Re: Lazarus x86 build on x64 windows 14 years 3 weeks ago #286

  • Konstantinos Papadoulas
  • Konstantinos Papadoulas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 19
Ok... this morning i have finished the installation of CodeTyphon and here is the installation procedure:

1)Unzipped the CodeTyphon in my C: drive (C:\CodeTyhpon)
2)Build the FPC 32bits
3)Build the FPC arm-wince
4)Build Lazarus 32bit
5)Build Lazarus arm-wince
6)Run Lazarus 32bit to make sure the IDE is in 32bits and the compiler settings are also 32bit.
I have also built 1 Win32 project. Everything OK!
7)Build FPC 64bits
8)Build Lazarus 64bits
9)Run Lazarus 64bit to make sure the IDE is in 64bits and the compiler settings are also 64bit.
I have also built 1 Win64 project. Everything OK!

now...

switching back to Lazarus 32bit the settings had been reset. I changed them again and OK.
Only the wince "Interface" unit cannot be found from the Lazarus 32bit. My project settings
are set accordingly for WinCE output (LCL Widget type=wince(beta), Target OS=WinCE, Target CPU family=arm)
but yet nothing.

So i added the line "C:\lazarus\lcl\interfaces\wince\" in the Other Unit Files path. Pressing the OK
button i got an error:
"The unit search path contains a not existing directory:
C:\lazarus\lcl\units\arm-wince\wince\"
pressing "Ignore" on this one the application compiled successfully!

So it seems that everything went OK. The key was to start building the environments from the smaller (32bits)
to the biggest (64bits) and add the "C:\lazarus\lcl\interfaces\wince\" in the Other Unit Files path for every WinCE project i create.

Kostas

Please Log in or Create an account to join the conversation.

Last edit: by Konstantinos Papadoulas.
  • Page:
  • 1