From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: STAFFAN RINGBOM Cc: egcs@egcs.cygnus.com Subject: Re: EGCS-1.1.2 Date: Wed, 21 Apr 1999 08:41:00 -0000 Message-id: References: X-SW-Source: 1999-04/msg00702.html On Wed, 21 Apr 1999, STAFFAN RINGBOM wrote: > I've just downloaded egcs-1.1.2. for win95 > (with mingw32) > > Problems: > 1. NO libm !!! > That means that those programs that used > to run with the compiling switch -lm is not compiled!!!! > Found a meaningless libm.a !. > (The DJGPP compiler has libm!) > Use frequently some of the functions included in > gcc:s math.h as "external C". Somehow the dummy libm.a is corrupted (some of the unizp programs have a nasty tendency of trying to guess text vs binary and screws up files). For now, you can do the following: $ cd /egcs-1.1.2/i386-mingw32/lib $ rm libm.a $ ar crv libm.a $ ranlib libm.a I usually include a dummy.c file with a static dummy integer in it, but that's not required. > Q: Are you workning on the port of libm to egcs. > If not is it easily avalilable for egcs for win32 from any > other source?? No need. All the math libraries are already included via the import library (crtdll or msvcrt). Regards, Mumit From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mumit Khan To: STAFFAN RINGBOM Cc: egcs@egcs.cygnus.com Subject: Re: EGCS-1.1.2 Date: Fri, 30 Apr 1999 23:15:00 -0000 Message-ID: References: X-SW-Source: 1999-04n/msg00708.html Message-ID: <19990430231500.XgPrjk8cZtKOEkQnTqB6NKCarttBCE7amNKFxuTQokM@z> On Wed, 21 Apr 1999, STAFFAN RINGBOM wrote: > I've just downloaded egcs-1.1.2. for win95 > (with mingw32) > > Problems: > 1. NO libm !!! > That means that those programs that used > to run with the compiling switch -lm is not compiled!!!! > Found a meaningless libm.a !. > (The DJGPP compiler has libm!) > Use frequently some of the functions included in > gcc:s math.h as "external C". Somehow the dummy libm.a is corrupted (some of the unizp programs have a nasty tendency of trying to guess text vs binary and screws up files). For now, you can do the following: $ cd /egcs-1.1.2/i386-mingw32/lib $ rm libm.a $ ar crv libm.a $ ranlib libm.a I usually include a dummy.c file with a static dummy integer in it, but that's not required. > Q: Are you workning on the port of libm to egcs. > If not is it easily avalilable for egcs for win32 from any > other source?? No need. All the math libraries are already included via the import library (crtdll or msvcrt). Regards, Mumit