Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

32-bit MSDOS (Announce)

posted by kerravon E-mail, Ligao, Free World North, 04.07.2021, 05:32

> Ok, the main problem was solved by switching
> from ldwin to the "ld" that is provided by
> FPC. For some reason it is working even though
> ld that comes with Cygwin, and my ldwin, come
> up with errors and require --no-inhibit to
> ignore them. I wonder what those errors mean,
> as surely there must be a way of getting
> normal "ld" to work? I'm working at the
> assembler level here.

Sorry, misinformation above. I tried again,
and "ld" from Cygwin does indeed work, it is
my custom ldwin (of an older version) that
does not.

Since I'm relying on someone else's Pascal
compiler anyway, there's no extra harm in
relying on their linker too, although I
would still have preferred "ldwin" to work.


C:\devel\pascal>ld --version
GNU ld (GNU Binutils) 2.23.52.20130309
Copyright 2013 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

C:\devel\pascal>ld -s -o worldpas.exe ../pdos/pdpclib/w32start.o worldpas.o pascalc.o pascals.o ../pdos/pdpclib/msvcrt.a

C:\devel\pascal>ldwin -s -o worldpas.exe ../pdos/pdpclib/w32start.o worldpas.o pascalc.o pascals.o ../pdos/pdpclib/msvcrt.a
Cannot export FPC_RESOURCESTRINGTABLES: symbol not found
Cannot export FPC_RESSTRINITTABLES: symbol not found
Cannot export FPC_THREADVARTABLES: symbol not found
Cannot export FPC_WIDEINITTABLES: symbol not found
Cannot export INIT$_$FPINTRES: symbol not found
Cannot export INIT$_$SYSTEM: symbol not found
Cannot export INITFINAL: symbol not found
Cannot export PASCALMAIN: symbol not found
Cannot export THREADVARLIST_$SYSTEM$indirect: symbol not found

C:\devel\pascal>ldwin --version
GNU ld version 2.14 20030612
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.


BFN. Paul.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 372 users online (1 registered, 371 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum