[fpc-pascal]GO32V2 EXE architecture...
Marco van de Voort
marcov at stack.nl
Tue Jul 17 12:30:16 CEST 2001
> Well seems that i'll keep mailing here :-))
>
> I tried DXEGEN and it fails due to unrecognized symbols (which are FPC
> specific) in .o file...
> Is there any way how to remove them without editing .sw file?
>
> C:\DJGPP>dxegen lib.dxe _ADD lib.o
> ld -X -S -r -o dxe__tmp.o -Lc:/djgpp/lib lib.o -T dxe.ld
> Error: object contains unresolved external symbols (FPC_STACKCHECK)
> Error: object contains unresolved external symbols (INIT$$SYSTEM)
> Error: object contains unresolved external symbols (FPC_INITIALIZEUNITS)
> Error: object contains unresolved external symbols (FPC_DO_EXIT)
I think you could simply try to create an empty assembler file that defines
those symbols for that, assemble
Something like
.file "dummydxe.as"
.text
.balign 16
.globl FPC_STACKCHECK :
ret
.balign 16
.globl INIT$$SYSTEM :
ret
.balign 16
.globl FPC_INITIALIZEUNITS :
ret
.balign 16
.globl FPC_DO_EXIT:
ret
More information about the fpc-pascal
mailing list