Cannot create import libraries with Microsoft's LIB with the option mixed language Borland C++ (-ml bc) with Lahey v5.7



Please, need help. I did the example listed below, and it works, but
when I change the option from -ml msvc (Microsoft visual c++) to -ml bc
(Borlan c++) in the compile command, it gives me the following error:

dllsub1.obj : warning LNK4197: export "dllsub1" specified multiple
times; using
first specification
Creating library mydll.lib and object mydll.exp

It seems to be a problem of my definition file, I tried to put an
underscore like "dllsub1_" but it still does not work.

dllsub1.def : error LNK2001: unresolved external symbol dllsub1_
mydll.lib : fatal error LNK1120: 1 unresolved externals

How do I write my definition file?, is It problem of the version of
Microsoft's LIB?, or, is Microsoft´s LIB compatible with the
definitions of Borland?

Microsoft (R) Library Manager Version 6.00.8168

Example stub procedure (called dllsub1.f90):

subroutine dllsub1(a,i,l)
dllexport :: dllsub1
real :: a
integer :: i
logical :: l
end subroutine

Example definition file (called dllsub1.def):
EXPORTS
dllsub1

Example compile command:
lf95 -c -ml msvc dllsub1.f90

Example LIB command:
lib /def:dllsub1.def dllsub1.obj /out:mydll.lib

.