On Tuesday, 11 February 2014 at 18:09:56 UTC, Adam D. Ruppe wrote:
On Tuesday, 11 February 2014 at 11:53:48 UTC, AlexPhoenix wrote:
by the way, with which args i must run D to generate raw
binary?
This is more of a linker question than a compiler one...
check out the makefile.bare in here
http://arsdnet.net/dcode/minimal.zip
It makes a raw binary that can be loaded by GRUB
I found trouble.
I trying to do the same
with: dmd -m32 -debug -c ITextScreen.d -gc -defaultlib=
-debuglib= -version=bare_metal -debug=allocations
and the then i trying to link with ld(also try with objcopy and
gcc) from MinGW, and have
ITextScreen.obj: file not recognized: File format not recognized
what i do wrong?