From: "Tim Van Holder" To: Subject: RE: stubify and Windows ME Date: Sun, 11 Mar 2001 15:50:48 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > However, if there's no reasonable way to run this in DOS, I don't think > you should bother testing it, as no user will ever be able to see that > code in action. So just forget about it. OK. Oh, I noticed something annoying: running binaries (such as stubedit) built in the DJGPP CVS tree crashed my system in a BIG way. Turns out this is because my gcc uses 'const' sections, and djgpp.djl doesn't put them anywhere. So if you would be so kind as to add these: Index: lib/djgpp.djl =================================================================== RCS file: /cvs/djgpp/djgpp/lib/djgpp.djl,v retrieving revision 1.5 diff -u -r1.5 lib/djgpp.djl --- lib/djgpp.djl 2000/12/06 18:31:03 1.5 +++ lib/djgpp.djl 2001/03/11 14:49:29 @@ -5,6 +5,8 @@ .text 0x1000+SIZEOF_HEADERS : { *(.text) *(.gnu.linkonce.t*) + *(.const*) + *(.ro*) *(.gnu.linkonce.r*) etext = . ; PROVIDE(_etext = .); @@ -37,6 +39,14 @@ end = . ; PROVIDE(_end = .); . = ALIGN(0x200); + } + .stab 0 (NOLOAD) : + { + [ .stab ] + } + .stabstr 0 (NOLOAD) : + { + [ .stabstr ] } /* DWARF 2 */ .debug_aranges 0 : { *(.debug_aranges) }