[fpc-pascal] darwin external library name

dmitry boyarintsev skalogryz.lists at gmail.com
Wed Aug 25 11:27:59 CEST 2010

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 anyfunc: Integer; external name 'libname-1';

  writeln(anyfunc2); // all is fine
  writeln(anyfunc); // assembling error here

should i bug report this? should i bug report the missing note in
documentation about darwin external library names?


More information about the fpc-pascal mailing list