At first, mingw couldn't generate 16-bit assembly. Then the problem was that
the mingw ld seemed to not like to fixup addresses that weren't aligned on a
32-bit boundary. IIRC, there was a jmp instruction that jmp'ed like two
bytes down or something and ld rounded it off to the nearest 32-bit address
which was it's own instruction, so it hung jmp'ing to itself. Long story
short, unless something has changed, instead of fixing ld to work with
16-bit code we put nop instructions in FreeLoader to fix (I mean hack) it.
Actually, I have not done any work on FreeLoader in at least a year and a
half. What kind of problems are you having with it?
-Brian
-----Original Message-----
From: ros-dev-bounces(a)reactos.com [mailto:ros-dev-bounces@reactos.com] On
Behalf Of Phillip Susi
Sent: Saturday, April 02, 2005 9:42 PM
To: ros-dev(a)reactos.com
Subject: [ros-dev] Building Freeloader
Hey Brian, I've been having all kinds of weird problems getting
freeloader installed and working in a boot drive image for qemu. I seem
to remember you used to have to build it with djgpp instead of mingw for
some odd reason. I think it had something to do with mingw's ld
clobbering something up when you asked it to output a binary flat file
instead of a PE image. Is this still the case? Was that issue never
resolved?
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.com
http://reactos.com:8080/mailman/listinfo/ros-dev