Re: [fpc-pascal] Cross compiler win32/ARM error code 2 ?

2005-09-03 Thread Florian Klaempfl
[EMAIL PROTECTED] wrote:

> Hi,
> 
> just trying to build fpc (today snapshot  2.1.X) for win32 plateform and
> wince arm target.
> i get the following error message ?
> 
> D:\FPC\2.1.x-src>make all OPT=-vt CPU_TARGET=arm OS_TARGET=wince
> CROSSBINDIR=d:\
> fpc\cross\arm-wince BINUTILSPREFIX=arm-wince-
> INSTALL_PREFIX=d:\FPC\2.1.X  >d:\
> FPC\build.log
> makefile:172: *** The Makefile doesn't support target arm-wince, please
> run fpcm
> ake first.  Stop.
> make[3]: *** [rtlclean] Error 2
> make[2]: *** [cycle] Error 2
> make[1]: *** [compiler_cycle] Error 2
> make: *** [build-stamp.arm-wince] Error 2
> 
> after that, i tried and fpcmake -w -Tall and then build again but same
> error message.
> Any idea ?

Though the message is old ;): Makefiles should have been regenerated in
between. Currently building wince stops in ezcgi:

C:/fpc/compiler/ppcrossarm.exe -Twince -XParm-wince- -Xc -Xr -Ur -Xs  -n
-S2 -FuC:/fpc/rtl/units/arm-wince -FuC:/fpc/packages/base
/paszlib/units/arm-wince -FuC:/fpc/packages/base/netdb/units/arm-wince
-FuC:/fpc/packages/base/libasync -FuC:/fpc/packages/base/pa
sjpeg/units/arm-wince -Fiwince -Fiinc -FE. -FUunits/arm-wince -darm
-dRELEASE inc/ezcgi.pp
ezcgi.pp(84,2) Fatal: Can't open include file "ezcgi.inc"
ezcgi.pp(84,2) Fatal: Compilation aborted
make[2]: *** [ezcgi.ppu] Error 1
make[2]: Leaving directory `C:/fpc/fcl'
make[1]: *** [fcl_all] Error 2
make[1]: Leaving directory `C:/fpc'
make: *** [build-stamp.arm-wince] Error 2

However, imo the most annoying thing of the wince port is currently the
missing binary writer which leads to long compiling times for the
windows unit :/


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


[fpc-pascal] compiling html docs from svn

2005-09-03 Thread Bob Barry
A few weeks ago I was able to compile fpcdocs from svn with a script:

   SVNDIR=/usr/portage/distfiles/svn-src
   BUILDDIR=/home/bobb/freepascal/svn/fpcdocs
   rm -rf ${BUILDDIR}
   tar -C ${SVNDIR} -cO --exclude .svn fpcdocs | tar -C ${BUILDDIR%/*} -x
   cd ${BUILDDIR}
   make htmlinstall PP=/usr/bin/ppc386

With the same script, current svn docs start building OK, but bomb out with:

   Appendix C.
   (./messages.inc
   No file user.4tc
   [467]

   LaTeX Warning: Reference `option:Ch' on page 468 undefined on input line 45.

   [468]

   ! LaTeX Error: Command \item invalid in math mode.

   See the LaTeX manual or LaTeX Companion for explanation.
   Type  H   for immediate help.
...  
   
   l.120 \item
[Error: Illegal enum minimum-size specifier "arg1"]
   ?

Running "make html" gives exactly the same result.
Running "make pdf" fails similarly, with:
   l.120 ...legal enum minimum-size specifier "arg1"]
Running make txt succeeds (but that's not what I want).

Is this fixable?  Is it just a temporary "indisposition" of the fpdocs svn?

Thanks,

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


Re: [fpc-pascal] compiling html docs from svn

2005-09-03 Thread Michael Van Canneyt


On Sat, 3 Sep 2005, Bob Barry wrote:

> 
> Running "make html" gives exactly the same result.
> Running "make pdf" fails similarly, with:
>l.120 ...legal enum minimum-size specifier "arg1"]
> Running make txt succeeds (but that's not what I want).
> 
> Is this fixable?  Is it just a temporary "indisposition" of the fpdocs svn?

It is hopefully fixed now.

Out of curiosity: Why do you build the docs manually ?

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