-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
this is my first posting here, so please be paitient with me ;)
In 99% of the time I'm using linux, and therefore I'm writing my prgroms for linux. Lately more and more windoze using friends ask me, if I could give them my programs. And as those programs don't have much platform dependent codings it was not a problem to compile them using fpc1.0.10 on the installed win98. But as I was bored to reboot my linux, just to compile a program, I started looking for cross-compiling utils.
I've downloadet GNU binutils 2.1.4 and configured them with the "--target=winnt" option. Compilation worked just fine, and for test purposes I symlinkd as-new, ld-new to asw and ldw. For the first test I took hello-world, but it worked only partly :(
Below I've included the compiler output and the part from fpcdebug.txt, which deals with the error. Can anybody help me?
thx in advance
Tobias
Compiler output:
fpc -Twin32 -FDtmp/binutils/bin -V hello.pas
Free Pascal Compiler version 1.0.10 [2003/06/26] for i386 Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling hello.pas
Linking hello.exe
tmp/binutils/bin/ldw: invalid BFD target `base.$$$' hello.pas(4,1) Error: Error while linking
Closing script ppas.sh
The last lines of fpcdebug.txt dealing with ldw:
00080000:Using util tmp/binutils/bin/ldw
00100000:tmp/binutils/bin/ldw -s -b base.$$$ -o hello.exe link.res 00000002:hello.pas(4,1) Error: Error while linking
- --
http://tobias.d.bei.t-online.de/ -=- PGP User ID: 0x825CE007 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/J5ajZGcehYJc4AcRAikRAJ47SeSL8UcwJnwra7vPAwKRDaWG2gCeO5ec rep0bhpAhmKGjjLsR8JH1jw=
=/h5E
-----END PGP SIGNATURE-----
