From: "Charles Sandmann" Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP's DXE and Linux ld Date: Tue, 17 Aug 1999 18:08:29 Organization: Aspen Technology, Inc. Lines: 13 Message-ID: <37b9a51d.sandmann@clio.rice.edu> References: <37B485FB DOT A909B15F AT gmx DOT net> NNTP-Posting-Host: athena.aco.aspentech.com X-NewsEditor: ED-1.5.8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > coff-go32 object files needed by dxegen. Then the problem was that ld > couldn't convert from the elf object format generated by gcc to the > coff-go32 object format. I tried the just compiled objcopy (part of > binutils) to convert from elf to coff-go32, but the elf files generated > by gcc contain multiple sections and so the produced coff-go32 file > contains multiple sections too. However, dxegen can only handle files > with one section. The creation of a single section is actually handled by the supplied ld script - if you end up with the multiple section message it means that there was some section name not expected. Someone at one time suggested a wildcard syntax to catch them all (I don't remember the details). Fixing the ld script should solve your problem.