From: "Robert Boles" Newsgroups: comp.os.msdos.djgpp Subject: Re: DLX and C++ Date: Tue, 13 Jun 2000 15:41:04 -0400 Organization: Prodigy Internet http://www.prodigy.com Lines: 52 Message-ID: <8i62l2$4gmc$1@newssvr03-int.news.prodigy.com> References: <12bbfa6f DOT 1413f0db AT usw-ex0108-062 DOT remarq DOT com> NNTP-Posting-Host: lanra020-0184.splitrock.net X-Trace: newssvr03-int.news.prodigy.com 960925154 3871167 64.196.128.184 (13 Jun 2000 19:39:14 GMT) X-Complaints-To: abuse AT prodigy DOT net NNTP-Posting-Date: 13 Jun 2000 19:39:14 GMT X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, Yes the problem is with the latest DJGPP c++ compiler. more specifically, if you rebuild dlxgen.exe with the latest djgpp distribution, you will always get that "more than one section error", even on the test programs that come with dlx. However, if you rebuild the dlxgen.exe with an older DJGPP distribution, and try to create dxl's with this, even with *.o's made with the latest DJGPP, everything works fine, at least for me. So, the problem is with the dlxgen.exe program, not c++ target files. I have noticed that the error "ANSI c++ does not allow (void*) blah blah blah," errors a lot. They just pound the older libraries to death. Is there any way to turn ANSI c++ checking off. I think this is the problem with dlxgen.exe. I get one of those "ANSI c++" errors, and then I do a type cast, and then compile. The program compiles, but something is wrong. I am defiantly thinking of going back one DJGPP rev. I am just getting to many frustrating build errors on libraries that have been working for years, with this new release. "Bernhard Stiftner" wrote in message news:12bbfa6f DOT 1413f0db AT usw-ex0108-062 DOT remarq DOT com... > Hi, > when I try to generate a DLX file out of a C++ object file, > DLXGEN reports that the .o file consists of "more than one > section" and refuses to generate the DLX. > Everything is properly installed (linker description, > libraries, headers, ...), and it works fine with C code. > After comparing map files of a C and a C++ object file, I > found out that in the C++ object file there are two frames > called ".eh_frame" and " .eh_frame" (with a space before > the "."), and only the second one seems to contain the > relevant object data. > I think that there are more people having this problem, and > I also discovered that there was already a similar > discussion (long long time ago), but I could not find any > real help in the DJGPP mail archives - so I'm quite > pessimistic if anybody knows how to solve that problem. > > PS: I have also contacted Luke Bishop (the programmer of > DLX) - he told me that he could generate C++ DLXs without > any troubles. That's interesting, AFAIK the problems with > C++ and DLX start already when you install the latest C++ > compiler ZIP (gpp2952b.zip) ;-( > > > * Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful