[fpc-pascal]ARM cross-compiling error

2004-06-22 Thread Jose Pascual
hi, I have tried to build last cvs version 1.9.4 for ARM and It can't compile I'm using ppc386 version 1.0.10 to make it! #> #> make clean all OS_TARGET=linux CPU_TARGET=arm BINUTILSPREFIX=arm-linux- #> DUMP SCREEN-- /bin/rm -f arm/*.o arm

Re: [fpc-pascal]Align instruction

2004-06-22 Thread Marcel Martin
Peter Vreman a écrit : > > > Hello, > > > > With v1.9.4, is there a way to align a label in an assembler > > procedure? > > .align, .balign or .p2align I forgot to tell "with {$ASMMODE INTEL}". But if I understand you well, in order to use aligned labels, I have to (re-)write the code with the

Re: [fpc-pascal]Win32 API Call

2004-06-22 Thread Jim Wilson
At 12:00 AM 6/22/2004, you wrote: You made a few mistakes translating GetCurrentHwProfile to Pascal: Figures it was me... :-) 1. parameter to GetCurrentHwProfile should be TProfileInfo, not PProfileInfo (using "var" parameter already forces passing HWProfile by reference) That's awfully odd, bec

Re: [fpc-pascal]ARM cross-compiling error

2004-06-22 Thread Florian Klaempfl
Jose Pascual wrote: hi, I have tried to build last cvs version 1.9.4 for ARM and It can't compile I'm using ppc386 version 1.0.10 to make it! Fixed. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Win32 API Call

2004-06-22 Thread Michalis Kamburelis
Jim Wilson wrote: At 12:00 AM 6/22/2004, you wrote: You made a few mistakes translating GetCurrentHwProfile to Pascal: Figures it was me... :-) 1. parameter to GetCurrentHwProfile should be TProfileInfo, not PProfileInfo (using "var" parameter already forces passing HWProfile by reference) Tha

Re: [fpc-pascal]Win32 API Call

2004-06-22 Thread Matt Emson
> That's awfully odd, because according to the Win32 API reference the > function GetCurrentHwProfile requires a pointer, which pProfileInfo is > (tProfileInfo is just the type definition). Guess I have some more reading > to do. No, it makes a lot of sense. You could use: (var value: TProfil