Problem with makefile and cygwin
Posted: Wed Apr 28, 2004 11:24 am
I am having sort of a problem with getting cygwin to cooperate with my makefile. Basicly it assembles my bootsector to binary and then assembles the second stage loader and all other assembly files to gnuwin32. I then compile my c files to .o files and then link it to a .exe format. I then convert it using objcopy to binary.
Every things fine at this point. I then write the two binary files to a floppy disk and boot it with bochs. Bochs loads it, but nothing gets displayed on the screen. I check the bochs_dump and it shows that everything is loaded fine except the EIP address is always at a higher address.
My code uses an linker script that loads to the 1MB mark and has an output_format of pei-i386. I have disassembled the files and checked to see that they are linked and loaded corectly.
Does anybody know what could be causing my problem?
Every things fine at this point. I then write the two binary files to a floppy disk and boot it with bochs. Bochs loads it, but nothing gets displayed on the screen. I check the bochs_dump and it shows that everything is loaded fine except the EIP address is always at a higher address.
My code uses an linker script that loads to the 1MB mark and has an output_format of pei-i386. I have disassembled the files and checked to see that they are linked and loaded corectly.
Does anybody know what could be causing my problem?