Re: [fpc-pascal] inline asm in fpc progran

2010-08-25 Thread Nataraj S Narayan
Hi Jonas I tried a very elementary code on arm-linux-uclibc, compiled using "ppcrossarm -TLinux -darm ttt3.pas -CfSOFT -XParm-linux- -XR/cdrom" program kuraj; begin writeln('Hooua'); end. The asm listing using -al is here: - http://pastebin.com/CG9i0x3z It dont work in the normal EABI kerne

Re: [fpc-pascal] fcl-passrc: Process library source?

2010-08-25 Thread dmitry boyarintsev
On Wed, Aug 25, 2010 at 11:54 AM, Graeme Geldenhuys wrote: > Thanks Dmitry, you can go ahead. I'm still busy with fpdoc and DocView fixes. Passrc should be able to parse "program" units now. At least it shouldn't be failing with error. Program modules doesn't have interface part filled, implement

Re: [fpc-pascal] darwin external library name

2010-08-25 Thread dmitry boyarintsev
sorry! wrong external function Name ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] darwin external library name

2010-08-25 Thread dmitry boyarintsev
Another lib naming bug (seems to be darwin only). If the name contains '-' character, the compiler fails to assemble the unit with "Error while assembling exitcode 1" (which is strange, since the name should be ignored). the example: function anyfunc2: Integer; external name 'libname'; function a

Re: [fpc-pascal] darwin external library name

2010-08-25 Thread dmitry boyarintsev
On Wed, Aug 25, 2010 at 12:58 PM, Jonas Maebe wrote: > I don't know what the best solution is. Thanks for the explanation, I've had a feeling that's caused by framework/library selection. Should it be added to the documentation? thanks, dmitry ___ fpc

Re: [fpc-pascal] darwin external library name

2010-08-25 Thread Jonas Maebe
On 25 Aug 2010, at 09:00, dmitry boyarintsev wrote: Is it expected behavior, that explicitly set library name is not used in linking for Drawin target (fpc 2.5.1)? function SomeFunc: Integer; external 'LibName'; The log entry for the removal of that functionality was this: revision 1.16 dat

Re: [fpc-pascal] fcl-passrc: Process library source?

2010-08-25 Thread Graeme Geldenhuys
Op 2010-08-25 09:05, dmitry boyarintsev het geskryf: > > How's your progress Graeme? I can do this in the weekend (28th-29th). Thanks Dmitry, you can go ahead. I'm still busy with fpdoc and DocView fixes. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [fpc-pascal] fcl-passrc: Process library source?

2010-08-25 Thread dmitry boyarintsev
On Tue, Aug 24, 2010 at 9:45 PM, Graeme Geldenhuys wrote: > It's not implemented yet - just like fcl-passrc can't parse Program > units either.  Based on what I found while looking what to implement > for Program unit parsing, it doesn't seem that difficult. Time > permitting, I'll try and impleme

[fpc-pascal] darwin external library name

2010-08-25 Thread dmitry boyarintsev
Hi All Is it expected behavior, that explicitly set library name is not used in linking for Drawin target (fpc 2.5.1)? function SomeFunc: Integer; external 'LibName'; 'LibName' is not added to link.res, so {$linklib LibName} is required for successful linking. Docs says nothing about it: http:/