Mail Archives: djgpp/2000/01/12/15:24:33
Eli Zaretskii wrote:
>
> DJGPP doesn't support shared libraries. There is a limited facility,
> called DXE, for dynamic loading of simple code modules, but it's a far
> cry from shared libraries. See section 22.14 of the FAQ for more
> details about DXE.
>
This looked hopeful, but when I try :
dxegen MyLib.dxe _MyFunc MyLib.o
The result is :
ld -X -S -r -o dxe__tmp.o -Lc:/root/gnu/lib MyLib.o -T dxe.ld
Error: input file has more than one section; use -M for map
MyFunc() returns a pointer to a largish struct, which in turn contains
various pointers to functions and variables. There are no static and no
external references/declarations. The source is c++, but doesn't contain any
class information. This was compiled with gxx, without optimisation or other
fancy flags. The file dxe__tmp.o exists and appears to be a valid 80386
COFF executable version 30821.
>
> There are two optional packages written for DJGPP which allow more
> versatile dynamic code loading. Look in section 22.3 of the FAQ for
> DLM and DLX.
Both these links appear to be broken.
Thanks for your help so far,
Best regards
Mark
- Raw text -