[fpc-pascal]How to get .def file automatically?
Nikolai Zhubr
s001 at hotbox.ru
Wed Jan 8 22:11:24 CET 2003
Hi!
Perhaps this one has been answered somewhere already, I appologise
if so, but I haven't found it in the docs.
How to make fpc (1.06 on win32) leave .def (or .lib) file along
with creating a dll so that I can use it to link from gcc?
I've found -WD option, however I'm not quite sure what exactly
it is for, and anyway it fails:
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling dlpmem9x.dpr
Linking dlpmem9x.dll
DLPMEM9X.OW(.text+0x17):dlpmem9x.dpr: undefined reference to `L1'
dlpmem9x.dpr(8,1) Error: Error while linking
Closing script ppas.bat
Without -WD it all works fine, but I have to create .def file
manually in order to link with gcc.
--
Best regards,
Nikolai Zhubr
More information about the fpc-pascal
mailing list