Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DJGPP + HDPMI problem: unresolved symbols (Developers)

posted by Japheth Homepage, Germany (South), 23.01.2008, 18:34

> 1. gcc -c Hello.c -oHello.o
> 2. ld -r -x -s -T ../../lib/djgpp.ld -oHello.bin -Map hello_.map
> ../../lib/crt0hx.o Hello.o -lm -lc
> 3. ..\..\BIN\ldfix Hello.bin
> 4. \mingw\bin\ld -e start -o Hello.exe -Map Hello.map -pie Hello.bin
> 5. ..\..\BIN\pestub -q -n -w -x Hello.exe ..\..\BIN\dpmist32.bin
>
> at step 4 I get the following errors:

In step 4 I used a MS COFF linker. I'm pretty sure that the mingw LD can NOT be used as a replacement, but I forgot the reason why.

IIRC I used MS link from the Win2k DDK to link the sample, but I just tried the one contained in VC EE 2005, and it works as well.

The GCC version I used tells it is v4.1. Is this DPJGG v2.03 or v2.04?

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 207 users online (0 registered, 207 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum