Page 1 of 1

How To Make Binary File In DJGPP ???

Posted: Sat Jun 24, 2006 8:22 am
by thoover
I finly found a working copy of djgpp now can any one tell me:
1) How To Get Graphics
2) How To make A Binary Output File Instead Of An EXE

Re:How To Make Binary File In DJGPP ???

Posted: Sat Jun 24, 2006 10:18 am
by thoover
so can anyone help me?

Re:How To Make Binary File In DJGPP ???

Posted: Sat Jun 24, 2006 10:21 am
by Bob the Avenger
For compiling to binary, create a linker script (calling link.ld for example) which specifies the outpuit forma. Then when linking add "-T link.ld" in the ld command line.

Re:How To Make Binary File In DJGPP ???

Posted: Sat Jun 24, 2006 10:51 am
by thoover
And What is the basic thing i should know for the linker script? I never made one before so I'm new to that.

Re:How To Make Binary File In DJGPP ???

Posted: Sat Jun 24, 2006 11:01 am
by Bob the Avenger