I am writing a boot manager and I want it to be able to compile under all intel versions of gcc. It works fine under every port except the MinGW port. MinGW compiles and links the executable fine. But when I objcopy it to a binary file and try to boot it it just hangs somewhere in the code. Has anyone been able to generate a binary image from MinGW? If someone would like to take a look at my code or Makefile I will mail it to them.


Another issue I am having with MinGW is that I specify my targets in the Makefile without the .exe suffix so that the same Makefile will work under Linux. I also don’t specify the .exe suffix on the command line to gcc. DJGPP solves this problem by generating two outputs – “targetname” & “targetname.exe”. MinGW just outputs “targetname.exe” which breaks the Makefile so that it always rebuilds the target. Can anyone suggest a solution to this?


I am not subscribed to this mailing list so please copy me on all replies.