Re: [fpc-pascal] problems using utf8toansi

2007-12-09 Thread Marc Santhoff
Am Sonntag, den 09.12.2007, 21:38 +0100 schrieb Jonas Maebe: > You can compile with -al and search for CWSTRING in the assembler file > generated for your main program. Since that unit has an initialization > section, it will be in the init/final table if it's included somewhere. Another try:

Re: [fpc-pascal] problems using utf8toansi

2007-12-09 Thread Marc Santhoff
Am Sonntag, den 09.12.2007, 21:38 +0100 schrieb Jonas Maebe: > On 07 Dec 2007, at 20:01, Marc Santhoff wrote: > > > Am Freitag, den 07.12.2007, 14:00 +0100 schrieb Jonas Maebe: > >> > > > >> Also, if you do not use the cwstring unit, a lot of things will not > >> work with widestrings under *nix (

Re: [fpc-pascal] EOF on stdin

2007-12-09 Thread Mark Morgan Lloyd
Tomas Hajny wrote: I'm trying to distinguish between a case where there is no parameter on the command line and where there is piped input. For unix one can simply use termio.isatty(input) I think. Note that you could use function Do_IsDevice provided in system unit for this (if Input is

Re: [fpc-pascal] can we have fpc's doc in chm format? [Patch]

2007-12-09 Thread Tomas Hajny
On 9 Dec 07, at 14:10, Andrew Haines wrote: > Michael Van Canneyt wrote: > > On Fri, 7 Dec 2007, Andrew Haines wrote: > > > >> PS you can have a peek at some chm's I made with fpdoc here: > >> http://hainesservice.com/andrew/chms/ they are all crosslinked. > > > > With kchmviewer I get the follow

Re: [fpc-pascal] problems using utf8toansi

2007-12-09 Thread Jonas Maebe
On 07 Dec 2007, at 20:01, Marc Santhoff wrote: Am Freitag, den 07.12.2007, 14:00 +0100 schrieb Jonas Maebe: Also, if you do not use the cwstring unit, a lot of things will not work with widestrings under *nix (including FreeBSD). The fact that some chars such as Umlauts and 'ß' work sugges

Re: [fpc-pascal] problems using utf8toansi

2007-12-09 Thread Marc Santhoff
Am Freitag, den 07.12.2007, 14:00 +0100 schrieb Jonas Maebe: > On 07 Dec 2007, at 13:17, Marc Santhoff wrote: > > >> On which platform with which locale/codepage? If on *nix, are you > >> using the cwstring unit? > > > > I'm using FreeBSD with ISO8859-1 or 15 and do not use cwstring > > explicitly

Re: [fpc-pascal] EOF on stdin

2007-12-09 Thread Tomas Hajny
On 8 Dec 07, at 13:20, Mark Morgan Lloyd wrote: > Good grief- that was quick :-) > > Marco van de Voort wrote: > >> I'm trying to distinguish between a case where there is no parameter on > >> the > >> command line and where there is piped input. The code below works under > >> Win-32 > >> bu

Re: [fpc-pascal] can we have fpc's doc in chm format? [Patch]

2007-12-09 Thread Andrew Haines
Andrew Haines wrote: > Michael Van Canneyt wrote: >> On Fri, 7 Dec 2007, Andrew Haines wrote: >> >>> PS you can have a peek at some chm's I made with fpdoc here: >>> http://hainesservice.com/andrew/chms/ they are all crosslinked. >> With kchmviewer I get the following errors: >> >> An error occurre

Re: [fpc-pascal] can we have fpc's doc in chm format? [Patch]

2007-12-09 Thread Andrew Haines
Michael Van Canneyt wrote: > > On Fri, 7 Dec 2007, Andrew Haines wrote: > >> PS you can have a peek at some chm's I made with fpdoc here: >> http://hainesservice.com/andrew/chms/ they are all crosslinked. > > With kchmviewer I get the following errors: > > An error occurred while loading > ms-

Re: [fpc-pascal] cross compiling enigma

2007-12-09 Thread Jonas Maebe
On 08 Dec 2007, at 19:26, Sam Liddicott wrote: So... because the makefile knew it was compiling for the same architecture it decided that I wasn't building an fpc cross compiler but cross building an fpc compiler? That's a bit unexpectedly clever... So... this time: $ make clean all CPU_TARG

Re: [fpc-pascal] cross compiling enigma

2007-12-09 Thread Sam Liddicott
Sam Liddicott wrote: > * Marco van de Voort wrote, On 07/12/07 08:20: >>> I'm modifying the lazarus packaging scripts to make building debs of >>> lazarus, fpc and cross-fpc variants simpler than it is. (Cross is not >>> simple right now) >>> >>> I've read the buildfaq (thanks Marco) and various

[fpc-pascal] Re: can we have fpc's doc in chm format? [Patch]

2007-12-09 Thread Funky Beast
Michael Van Canneyt wrote: > > On Fri, 7 Dec 2007, Andrew Haines wrote: > >> Michael Van Canneyt wrote: >>> On Fri, 7 Dec 2007, Andrew Haines wrote: >>> PS you can have a peek at some chm's I made with fpdoc here: http://hainesservice.com/andrew/chms/ they are all crosslinked. >>> Wi

[fpc-pascal] update confusion...

2007-12-09 Thread M Pulis
Folks, Not sure where to ask this, so I am starting with this list... Upgraded from xcode 2.1 to 2.4 and FPC 2.2.1. G5 quad, 10.4.11. My FPC xcode project builds ok, but, when I add an empty file and close the project, xcode says, to the effect: The project "myProject.xcodeproj" is read on