Re: [fpc-pascal] How to crosscompile i386-linux from X86_64-win64

2016-03-30 Thread ulrich
Dne 29.3.2016 v 12:19 Sven Barth napsal(a): Am 29.03.2016 10:30 schrieb "Jonas Maebe" mailto:jonas.ma...@elis.ugent.be>>: > > On 29/03/16 09:58, ulrich wrote: >> >> what parameter(s) need to cross-compiling i386-Linux from X86_64-win64 ? > > >

[fpc-pascal] How to crosscompile i386-linux from X86_64-win64

2016-03-29 Thread ulrich
make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory `C:/lazarus16/fpc/3.0.0' make: *** [build-stamp.i386-linux] Error 2 Thanks Ulrich ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] crosscompiling problem (.a file)

2016-03-20 Thread ulrich
Dne 18.3.2016 v 9:37 Jonas Maebe napsal(a): ulrich wrote: Dne 16.3.2016 v 15:23 Jonas Maebe napsal(a): ulrich wrote: In Ming32 I ran the following command: $ pwd /c/lazarus16/fpc/3.0.0 $ make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/c/lazarus16/FPC/3.0.0/bin OPT=-dFPC_ARMEL

Re: [fpc-pascal] crosscompiling problem (.a file)

2016-03-19 Thread ulrich
Dne 16.3.2016 v 15:23 Jonas Maebe napsal(a): ulrich wrote: In Ming32 I ran the following command: $ pwd /c/lazarus16/fpc/3.0.0 $ make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/c/lazarus16/FPC/3.0.0/bin OPT=-dFPC_ARMEL INSTALL_PREFIX=/c/lazarus16/FPC FPC=/c/lazarus16/FPC/3.0.0

[fpc-pascal] crosscompiling problem (.a file)

2016-03-15 Thread ulrich
Hello, I have installed Lazarus 1.6 (64-bit version) in the windows directory c:\lazarus16. I downloaded the source compiler in c:\lazarus16\FPC - missing subdirectories. In c:\lazarus16\fpc\3.0.0\bin\arm-linux I have compiled ARM-Linux binutils (downloaded from ftp). In Ming32 I ran the fol

[fpc-pascal] simple conversion of unicode chars

2015-12-27 Thread ulrich
Hi, I need the simplest possible transfer of one unicode character (numeric string or integer) to the default windows code page (CP1250). Thanks Roman ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/m

Re: [fpc-pascal] will be work macro with name of the unit?

2015-07-16 Thread ulrich
Dne 15.7.2015 v 10:16 Michael Van Canneyt napsal(a): On Tue, 14 Jul 2015, ulrich wrote: Hi, I have this unit, but when I compile it, I get this error: Illegal unit name XXX_Parser. The unit is saved under dfm_rrparser.pas. The unit name must always match the file name. This is logical

Re: [fpc-pascal] will be work macro with name of the unit?

2015-07-16 Thread ulrich
Dne 15.7.2015 v 11:47 Pierre Free Pascal napsal(a): {$IFDEF FPC} {$MACRO ON} {$IFNDEF XXX_} {$DEFINE XXX_:=DFM_RR} // replace prefix {$ENDIF} {$ENDIF} {$INFO compiled with XXX_} unit XXX_parser; {$mode objfpc}{$H+} interface implementation end. Macros are only expanded on who

[fpc-pascal] will be work macro with name of the unit?

2015-07-14 Thread ulrich
Hi, I have this unit, but when I compile it, I get this error: Illegal unit name XXX_Parser. The unit is saved under dfm_rrparser.pas. Second question: Why not displayed $INFO directive in the message window (I have enabled -vi switch in command line)? {$IFDEF FPC} {$MACRO ON} {$IFNDEF

[fpc-pascal] Creating librarys dont work ever with fpc 2.1.4

2007-06-03 Thread Christian Ulrich
When i create an library template with Lazarus, dont save it and build it then an libproject1.so is created as expected in /tmp. Wen i save the same project and rebuild it, an project1 executable is created. with fpc 2.0.4 this creates always an lib as expected. anybody an idea ? is this an bug

Re: [fpc-pascal] gcc beats fpc again

2007-05-23 Thread Christian Ulrich
Very few OOP is used in the Pascal implementations, so Pascal and C are on equal grounds here. musnt the memory manager included if only few oo stuff is included ? why g++ is soo mutch slower than gcc if so few oo stuff is used ?? pure c is no higher level laguage for me. asm is not soo mut

Re: [fpc-pascal] gcc beats fpc again

2007-05-23 Thread Christian Ulrich
NO: C gcc has the first Place C is not Object oriented, FPC is Object oriented. And g++ is behind fpc. regards Christian Bisma Jayadi schrieb: http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all&xfullcpu=1&xmem=1&xloc=0&binarytrees=1&chameneos=1&message=1&fannkuch=1&fasta=1&kn

Re: [fpc-pascal] writing programs for non Intel Processors

2007-05-17 Thread Christian Ulrich
Yes, you can i have an mpx220 and have tryed this already. Only the LCL is not completely useable couse some canvas routines Crash on Wince < 5.0 regards Christian Pianoman schrieb: Hello, I would like to ask whether is it possible to use freepascal to write application for example for Motoro

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> Having such a page is not bad but I consider it more as something which > can be done by the power users instead of the developers. If something > serious is started, I'll link it to the main page. right, but i think the "power users" read this list so i hope tht they will help stay tuned with a

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> If you want tested revisions use the releases. For trunk you are on > your own to keep track of working revisions. Maybe for you rev A is > good, but broken on an other platform where rev B is better. Not all realeases are stable,i have used fpc 2.0.4 for 2 days and then used fpc 2.1.1 because f

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> > If you want a 'stable' trunk stick with r5191 for now. > > .. but don't use smart-linking (-XX) then. > > better use r5180 .. ok, i havend belived this but seems to be an compiler issue maybe the ppu check code is broken in revisions >5191 or something else with 5180 everything seems to build

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> > My Path is set to %PATH%;d:\programme\lazarus\fpc\bin\i386-win32 > > When it woud be so easy i woudnt write to this list > > Sorry for trying to help... dont be worry please, maybe ive writed a little bit hard. iam glad that you all try to help. > > > Jonas > __

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
M Subject: Re: [fpc-pascal] Compiling problems > Christian Ulrich schrieb: > > Hi, > > > > I have compiled an fpc with revision 5198 bevore 5 minutes for > > i386-win32 and arm-wince > > compiles great. (Actual revisions dont compile) > > There is h

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
s.. Havend copied all units from source\fcl\units to units\fcl and from source\packages\base\paszlib to units\paszlib the same problem. can nobody confirm this ? > > > Christian Ulrich wrote: > >> I think you forgot to compile FCL too. You only compiled the compiler &

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
. Thats not for wince thats for WIN32 so maybe someone schould take a look at the makefiles or not ?! But as i see zstream.ppu and .o and also paszlib.ppu and .o are there > > > Christian Ulrich wrote: > >> I think you forgot to compile FCL too. You only compiled the compiler &

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
> But did it install into D:\Programme\lazarus\fpc\2.1.1\ ? YES of course have deleted the old stuff except the bintools and copied everything from d:\pp to d:\programme\lazarus\fpc > And does this invocation of "make" use the newly compiled compiler? My Path is set to %PATH%;d:\programme\lazaru

Re: [fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
I think you forgot to compile FCL too. You only compiled the compiler and RTL. Instructions here: http://www.freepascal.org/wiki/index.php/WinCE_port#Building_FPC_libraries NO ! please read: PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu Recompiling zstream, che

[fpc-pascal] Compiling problems

2006-11-03 Thread Christian Ulrich
Hi, I have compiled an fpc with revision 5198 bevore 5 minutes for i386-win32 and arm-wince compiles great. (Actual revisions dont compile) When i try to rebuild Lazarus or just the lcl for Wince it says: PPU Loading D:\Programme\lazarus\fpc\2.1.1\units\i386-win32\fcl\zstream.ppu Recompiling