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

[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:/