From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: Binary files with GCC Date: Sat, 7 Apr 2001 13:38:49 -0400 Organization: Global Crossing Telecommunications Lines: 24 Sender: UNKNOWN AT 209-130-220-220 DOT nas1 DOT roc DOT gblx DOT net Message-ID: <9anj8q$10e2$1@node17.cwnet.frontiernet.net> References: <9alldv$ebr$1 AT news1 DOT sunrise DOT ch> <9am3es$10ea$1 AT node17 DOT cwnet DOT frontiernet DOT net> <9amths$aqk$1 AT news1 DOT sunrise DOT ch> NNTP-Posting-Host: 209-130-220-220.nas1.roc.gblx.net X-Trace: node17.cwnet.frontiernet.net 986665050 33218 209.130.220.220 (7 Apr 2001 17:37:30 GMT) X-Complaints-To: abuse AT frontiernet DOT net NNTP-Posting-Date: 7 Apr 2001 17:37:30 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Christophe POLLET" wrote in message news:9amths$aqk$1 AT news1 DOT sunrise DOT ch... > Thanks, but it doesn't explain how to make this witn CJGPP ! (In all case, I > don't find...) Well, right, it doesn't have exactly what you want. There are two script files for LD. A script file can be used to specify addresses for .text, .data, .bss sections, entry point and also you can put there type of the output file. Currently, there is OUTPUT_FORMAT("coff-go32") but you need OUTPUT_FORMAT("binary"). I bet all this information is available in docs accompanying GCC, LD, all this stuff. Try a script file. It should work. Good Luck -- Alexei A. Frounze alexfru [AT] chat [DOT] ru http://alexfru.chat.ru http://members.xoom.com/alexfru/ http://welcome.to/pmode/