Comments: Authenticated sender is From: "Alaric B. Williams" To: Gregary J Boyles Date: Sat, 19 Apr 1997 22:52:52 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: RE:djgpp.lnk & specs (libhw problem) Reply-to: alaric AT abwillms DOT demon DOT co DOT uk CC: djgpp AT delorie DOT com In-reply-to: Message-ID: <861486585.0526761.0@abwillms.demon.co.uk> Precedence: bulk On 19 Apr 97 at 21:47, Gregary J Boyles wrote: > djgpp.lnk > ---------- > OUTPUT_FORMAT("coff-go32") > ENTRY(start) > SECTIONS > { > .text 0x1000+SIZEOF_HEADERS : { > *(.text) > etext = . ; _etext = .; > . = ALIGN(0x200); > } > .data ALIGN(0x200) : { > djgpp_first_ctor = . ; > *(.ctor) > djgpp_last_ctor = . ; > djgpp_first_dtor = . ; > *(.dtor) > djgpp_last_dtor = . ; > *(.data) > edata = . ; _edata = .; > . = ALIGN(0x200); > } > .bss SIZEOF(.data) + ADDR(.data) : > { > *(.bss) > *(COMMON) > end = . ; _end = .; > . = ALIGN(0x200); > } > } Ah, good, good! I dunno how it got like that, but your djgpp.lnk should read: ------------------------- OUTPUT_FORMAT("coff-go32") ENTRY(start) SECTIONS { .text 0x1000+SIZEOF_HEADERS : { *(.text) etext = . ; _etext = .; sltext = . ; *(.ltxt) eltext = . ; . = ALIGN(0x200); } .data ALIGN(0x200) : { djgpp_first_ctor = . ; *(.ctor) djgpp_last_ctor = . ; djgpp_first_dtor = . ; *(.dtor) djgpp_last_dtor = . ; *(.data) edata = . ; _edata = .; sldata = . ; *(.ldat) eldata = . ; . = ALIGN(0x200); } .bss SIZEOF(.data) + ADDR(.data) : { *(.bss) *(COMMON) end = . ; _end = .; . = ALIGN(0x200); } } ------------------------- This explains why those symbols weren't found by the linker. The modified djgpp.lnk contains special commands to place symbols around the locked sections, so the locker can find 'em! > I also have downloaded your patched versions of cc1.exe and cc1plus.exe Right, I think it should work OK now! Good Luck, ABW -- Alaric B. Williams (alaric AT abwillms DOT demon DOT co DOT uk) ---<## OpenDOS FAQ ##>--- Plain HTML: http://www.delorie.com/opendos/faq/ http://www.deltasoft.com/faq.html Fancy HTML: http://www.deltasoft.com/faq0000.html