[fpc-pascal] Steps to achieve i386-wince

2007-05-15 Thread J . Randolph Andrews
Dear FPC Folk,

I posted the following question as a Lazarus topic:

I'd like to make desktop style applications for WinCE using Free Pascal and 
Lazarus. The target device is a specialized x86 industrial controller running 
WinCE with 640x480 screen res (not a PDA). When I select WinCE and i386 target 
from Lazarus (compiler options, code tab) and click "Show Options" it seems the 
tool is expecting a i386-wince directory to exist. The only WinCE notes I see 
on the Lazarus site relate to an ARM cross compiler. Can someone point me to 
where the i386-wince configurations are? Thanks!

and graciously received only a few hours later the following response:

A full SDK to develop lazarus-wince software consists of several parts, namely: 
* GNU Binutils 
* A Free Pascal Compiler 
* A Run-Time Library 
* A Free Component Library (FCL) 
* The Lazarus Component Library (LCL) 
We provide snapshots with all of those pre-compiled and configured for 
arm-wince 
As far as I know, i386-wince should also work normally, but you will need to 
get all of those above in the correct locations yourself. Here is a guide: 
http://wiki.lazarus.freepascal.org/WinCE_port 
But be careful, the guide is about manually configuring arm-wince. You will 
need to substitute all references of arm-wince with i386-wince. Later you can 
also edit the wiki page and add i386-wince instructions, so it will be easier 
for the people after you. 
The first step, for example, is downloading the binutils. Try google, with some 
lucky you will find i386-wince buntils easely. 
If not, or for more detailed information, ask again on the Free Pascal Mailling 
List.


I definitely need more detailed information. I can find binutils-2.17 but 
there's nothing wince specific about what I found. I suspect FPC 2.1 is 
necessary because it was needed for the arm-wince case however I don't 
understand how to take the source code snapshots available and compile them. 
Any additional details would be appreciated. 

Thanks!

Randy Andrews
Douloi Automation, Inc.
Voice: (408) 735-6942
EMail: [EMAIL PROTECTED]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Steps to achieve i386-wince

2007-05-15 Thread Marco van de Voort
> I definitely need more detailed information. I can find binutils-2.17 but
> there's nothing wince specific about what I found. I suspect FPC 2.1 is
> necessary because it was needed for the arm-wince case however I don't
> understand how to take the source code snapshots available and compile
> them. Any additional details would be appreciated.

You need to compile the source in such a way that makes them generate
i386-wince binaries. These are so called "cross" binaries (that generate
binaries for target i386-wince while being hosted on another).

This is generally a fairly easy process on *nix, and a horrible,
hair-pulling one on Windows. (which is why we provide a set that we were
lucky to create after sacrificing several chickens to various MinGW gods
with some associated Voodoo)

However in this case, it is worse. i386-wince is not support by my 2.17
binutils.

It might help to consult your HW vendor if he knows a patched src somewhere.
(or better, ready built cross bins (your target)->i386-wince.

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


[fpc-pascal] RTF backend for FPDoc.

2007-05-15 Thread Michael Van Canneyt

Hi,

I've committed an initial implementation for an RTF backend for 
FPDoc (implemented by Luk Vandelaer). I'd appreciate it if people 
could test it. It's selected with the --format=rtf option.

Currently one addition is still planned (other than fixing bugs): 
inserting an arbitrary piece of RTF at the front and at the end 
of the generated document.

The generated RTF is linear, i.e. it is suitable for printing. 
In order to create a .hlp file or a .chm file, some changes will
be necessary. (.hlp requires insertion of well-formed footnotes)

Please test it and report bugs as you can... (to me or in Mantis)

Enjoy,

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


Re: [fpc-pascal] Steps to achieve i386-wince

2007-05-15 Thread Henry Vermaak

On 15/05/07, Marco van de Voort <[EMAIL PROTECTED]> wrote:


This is generally a fairly easy process on *nix, and a horrible,
hair-pulling one on Windows. (which is why we provide a set that we were
lucky to create after sacrificing several chickens to various MinGW gods
with some associated Voodoo)


haha, cross building have finally driven you bonkers.  i had to stop a
couple of weeks ago to avoid being locked up in a padded room by my
colleagues...

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


Re: [fpc-pascal] Steps to achieve i386-wince

2007-05-15 Thread Tomas Hajny
On 15 May 07, at 19:47, Marco van de Voort wrote:

> > I definitely need more detailed information. I can find binutils-2.17 but
> > there's nothing wince specific about what I found. I suspect FPC 2.1 is
> > necessary because it was needed for the arm-wince case however I don't
> > understand how to take the source code snapshots available and compile
> > them. Any additional details would be appreciated.
> 
> You need to compile the source in such a way that makes them generate
> i386-wince binaries. These are so called "cross" binaries (that generate
> binaries for target i386-wince while being hosted on another).
> 
> This is generally a fairly easy process on *nix, and a horrible,
> hair-pulling one on Windows. (which is why we provide a set that we were
> lucky to create after sacrificing several chickens to various MinGW gods
> with some associated Voodoo)
> 
> However in this case, it is worse. i386-wince is not support by my 2.17
> binutils.
> 
> It might help to consult your HW vendor if he knows a patched src somewhere.
> (or better, ready built cross bins (your target)->i386-wince.

Getting the internal linker to work for i386-
wince maybe wouldn't require major effort 
(considering the fact that arm-wince target is 
currently supported if I remember correctly) - 
Yury?

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