Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-09

Install FPC/Lazarus for Win CE

18 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul

Hi,

I want to install FPC/Lazarus for Win CE, and since I have still problems with it on the iMac, I want to be sure I'm doing it right the first time. I've printed info found on wiki.
on
http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_snapshot_add-on_installer, I read :
<
Using the stable add-on installer
With the first stable release of Free Pascal for Windows CE the installation of a WinCE development environment was never easier. Step-by-step guide:
Install the latest Lazarus on Windows normally from SourceForge: http://sourceforge.net/project/showfiles.php?group_id=89339 Download and install the add-on installer for the same Lazarus version you just downloaded. It's on the same Source Forge Download page.

only I can't find the add-on there.

Does anyone know where I can find a complete install description that is up to date ?

thanks,

Paul

Felipe Monteiro de Carvalho
to Paul

The link and the text that you posted do not match. Your text is for the latest stable add-on. Follow the link to sourceforge and click on "Lazarus Windows 32 bits"

The best solution is using the snapshots:

http://www.hu.freepascal.org/lazarus/

You need to install:

Lazarus - full - fpc 2.2.2 win32
Lazarus-0.9.25-16519-fpc-2.2.2-20080910-win32.exe

and

Lazarus - fpc 2.2.2 win32 -> arm wince
Lazarus-0.9.25-fpc-2.2.2-20080908-cross-arm-wince-win32.exe

since I have still problems with it on the iMac

Are you using Windows in you iMac? You need to use Windows as a development operating system to develop for Windows CE.

It is theorically possible to use other base operating systems, but it's very hard, and I wouldn't recommend it.

Felipe Monteiro de Carvalho
Paul
to Felipe Monteiro de Carvalho
Show quoted text 13 lines
The best solution is using the snapshots: http://www.hu.freepascal.org/lazarus/ You need to install: Lazarus - full - fpc 2.2.2 win32 Lazarus-0.9.25-16519-fpc-2.2.2-20080910-win32.exe and Lazarus - fpc 2.2.2 win32 -> arm wince Lazarus-0.9.25-fpc-2.2.2-20080908-cross-arm-wince-win32.exe

Need to install all 4 packages in this order ?

> since I have still problems with it on the iMac Are you using Windows in you iMac? You need to use Windows as a development operating system to develop for Windows CE.

No, installed FPC/Lazarus on my iMac, but there are problems with it. Appearantly, I'm not the only one, I've seen problems with it on the mac-pascal list too.
On Mac OS X 10.5, I can't start Lazarus (OS-error : You can't start lazzarus.app - it's not supported by this architecture)

That's the reason I want to know exactly what steps to perform before I start.
You can find a lot of info on the net about installing, but they don't always say the same or are not complete/updated etc.

Paul

Felipe Monteiro de Carvalho
to Paul
Paul wrote
Need to install all 4 packages in this order ?

2 packages in this order.

Felipe Monteiro de Carvalho
M Pulis
to Paul: Need to install all 4 packages in this order ? No, installed FPC/Lazarus on my iMac, but…

I for one can not get Lazarus to run on 10.4.11 G5 Quad. Followed all installation instructions - no launch. I don't care to download the source and compile, I expect the easy installation to work (funny Mac user).

I'll wait for the dmg release.

Xcode seems to host FPC OK.

Gary

Paul wrote 40 lines
> The best solution is using the snapshots: > > http://www.hu.freepascal.org/lazarus/ > > You need to install: > > Lazarus - full - fpc 2.2.2 win32 > Lazarus-0.9.25-16519-fpc-2.2.2-20080910-win32.exe > > and > > Lazarus - fpc 2.2.2 win32 -> arm wince > Lazarus-0.9.25-fpc-2.2.2-20080908-cross-arm-wince-win32.exe Need to install all 4 packages in this order ? >> since I have still problems with it on the iMac > > Are you using Windows in you iMac? You need to use Windows as a > development operating system to develop for Windows CE. No, installed FPC/Lazarus on my iMac, but there are problems with it. Appearantly, I'm not the only one, I've seen problems with it on the mac-pascal list too. On Mac OS X 10.5, I can't start Lazarus (OS-error : You can't start lazzarus.app - it's not supported by this architecture) That's the reason I want to know exactly what steps to perform before I start. You can find a lot of info on the net about installing, but they don't always say the same or are not complete/updated etc. Paul _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Paul
to M Pulis
Show quoted text 5 lines
I for one can not get Lazarus to run on 10.4.11 G5 Quad. Followed all installation instructions - no launch. I don't care to download the source and compile, I expect the easy installation to work (funny Mac user).

although not as it should, I'm happy I'm not the only one ... I spent a few days trying to get it running.
When I finally got it running, I could run some small test programs until I closed Lazarus.app.
The next morning, I got the OS error message...

I'll wait for the dmg release.

I'll try that one too, but it won't be ready for at least 2 months

Paul

Felipe Monteiro de Carvalho
to Paul

Downloading the sources and building Lazarus is trivial. It requires pasting 3 commands into the console:

svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus cd lazarus
make bigide LCL_PLATFORM=carbon OPT="-k-framework -kCarbon -k-framework -kOpenGl"

Then you can navigate to the place where you put the sources and start from the bundle, or drag it to your dock.

Felipe Monteiro de Carvalho
Mattias Gärtner
to Felipe Monteiro de Carvalho: Downloading the sources and building Lazarus is trivial. It requires pasting 3 commands…

Zitat von Felipe Monteiro de Carvalho :

Show quoted text 7 lines
Downloading the sources and building Lazarus is trivial. It requires pasting 3 commands into the console: svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus cd lazarus make bigide LCL_PLATFORM=carbon OPT="-k-framework -kCarbon -k-framework -kOpenGl"

AFAIK you don't need the framework options anymore and carbon is the default under OS X:

make clean all bigide

Then you can navigate to the place where you put the sources and start from the bundle, or drag it to your dock.

Mattias

M Pulis
to Mattias Gärtner: Zitat von Felipe Monteiro de Carvalho : AFAIK you don't need the framework options…

Trivial????

of little value or importance : huge fines were imposed for trivial offenses | trivial details.
• (of a person) concerned only with trifling or unimportant things.

Ass-u-me-s you have svn... and unless I read the lazarus page wrong the FPC source is required, yes?

The more I use FPC & Xcode, the more trivial Lazarus becomes.

Gary

Mattias Gärtner wrote 10 lines
Zitat von Felipe Monteiro de Carvalho : > Downloading the sources and building Lazarus is trivial. It requires > pasting 3 commands into the console: > > svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus > cd lazarus > make bigide LCL_PLATFORM=carbon OPT="-k-framework -kCarbon > -k-framework -kOpenGl"
Paul
to Felipe Monteiro de Carvalho: You need to set 3 things: Widgetset: wince Target operating system: wince Target…
Target operating system: wince Target architecture: arm

I can't find these 2, are these to be set in lazarus or fpc? Do I have to set arm if the target is a intel processor ?

Paul

Earlier message 25 lines
----- Original Message ----- From: "Felipe Monteiro de Carvalho" To: "FPC-Pascal users discussions" Sent: Wednesday, September 10, 2008 6:35 PM Subject: Re: [fpc-pascal] Install FPC/Lazarus for Win CE > On Wed, Sep 10, 2008 at 1:15 PM, Paul wrote: >> I installed both packages, but I can't find anything of the >> crosscompiler. >> I've set the LCL Widget to WinCe, but can't comple anything. > > You need to set 3 things: > > Widgetset: wince > Target operating system: wince > Target architecture: arm > > -- > Felipe Monteiro de Carvalho > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > >
Felipe Monteiro de Carvalho
to Paul
Paul wrote
I can't find these 2, are these to be set in lazarus or fpc?

In Lazarus. Menu Project --> Compiler Options --> Code tab

Do I have to set arm if the target is a intel processor ?

You are using Windows CE with x86 processor?

Intel also produces ARM processors.

For this case you will need to build your own compiler. There are instructions in the wiki. The add-on installer is only for ARM architecture.

Felipe Monteiro de Carvalho
Florian Klaempfl
to Felipe Monteiro de Carvalho
Show quoted text 15 lines
On Wed, Sep 10, 2008 at 1:59 PM, Paul wrote: > I can't find these 2, are these to be set in lazarus or fpc? In Lazarus. Menu Project --> Compiler Options --> Code tab > Do I have to set arm if the target is a intel processor ? You are using Windows CE with x86 processor? Intel also produces ARM processors. For this case you will need to build your own compiler. There are instructions in the wiki. The add-on installer is only for ARM architecture.

That's wrong: the i386 compiler knows also i386-wince. Only the rtl and packages need to be compiled.

Tom Verhoeff
to Paul: Need to install all 4 packages in this order ? No, installed FPC/Lazarus on my iMac, but…
Paul wrote 6 lines
No, installed FPC/Lazarus on my iMac, but there are problems with it. Appearantly, I'm not the only one, I've seen problems with it on the mac-pascal list too. On Mac OS X 10.5, I can't start Lazarus (OS-error : You can't start lazzarus.app - it's not supported by this architecture)

You probably tried the wrong lazarus.app (single z :-). I was misled there as well, or I had a wrong installation. Anyway, the lazarus.app that I found did not work.

After throwing everything away, and reinstalling fpc, fpcsrc, lazarus, it did work.

The Carbon version from www.hu.freepascal.org/lazarus installs lazarus into /usr/local/share/lazarus.

In a Terminal window you can type

open /usr/local/share/share/lazarus.app

Once Lazarus runs, you can keep it in the Dock (click on its icon, and hold to see that option), and next time start it from there (you no longer need to open Terminal).

Best regards,

Tom

E-MAIL: T.Verhoeff @ TUE.NL | Dept. of Math. & Comp. Science PHONE: +31 40 247 41 25 | Technische Universiteit Eindhoven FAX: +31 40 247 54 04 | PO Box 513, NL-5600 MB Eindhoven http://www.win.tue.nl/~wstomv/ | The Netherlands