Date: Wed, 25 Aug 1999 12:42:00 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: pavenis AT lanet DOT lv cc: djgpp-workers AT delorie DOT com Subject: Re: new GCC port In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 23 Aug 1999 pavenis AT lanet DOT lv wrote: > Found one problem: lib/dxe.ld should also support long section names. Fixed. Thanks. > Also building emu387.dxe takes dxe.ld from $DJDIR/lib but not ../../lib > when making in src/libemu. As result after patch build still fails as I'm > not building under DJGPP dierctory tree. Does the following solve the problem? *** src/dxe/dxegen.c~0 Sat Dec 12 17:23:42 1998 --- src/dxe/dxegen.c Tue Aug 24 14:06:18 1999 *************** int main(int argc, char **argv) *** 96,111 **** strcpy(command, "ld"); #endif strcat(command, " -X -S -r -o dxe__tmp.o -L"); ! libdir = getenv("DJDIR"); ! if (!libdir) { ! libdir = getenv("TOP"); if (!libdir) { fprintf(stderr, "Error: neither DJDIR nor TOP are set in environment\n"); exit(1); } - strcat(command, "../../"); } strcat(command, libdir); strcat(command, "/lib "); --- 96,112 ---- strcpy(command, "ld"); #endif strcat(command, " -X -S -r -o dxe__tmp.o -L"); ! libdir = getenv("TOP"); ! if (libdir) ! strcat(command, "../../"); ! else { ! libdir = getenv("DJDIR"); if (!libdir) { fprintf(stderr, "Error: neither DJDIR nor TOP are set in environment\n"); exit(1); } } strcat(command, libdir); strcat(command, "/lib ");