As far as I can tell there is no problem with the floating point libs in libgcc with the exception that I was having some problems comparing _identical_ floating point numbers with == and != but you should never use == or != with floats any way (I think this may be fixed in libgcc as of now).
The floating errors I fixed were all in libfp (part of msp430-libc). If your using libfp and not libgcc it is very likely that your floating point problems are due to the lib. In this case all you need to update is msp430-libc. There have been some bad codegen issues recently so if you can I would still recommend you try and get the windows build working. -Chris Takahashi -----Original Message----- From: Loren Passmore [mailto:microfirmw...@users.sourceforge.net] Sent: Wednesday, August 27, 2003 3:31 PM To: mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] Re: Help building mspgcc? Hi Chris, I hadn't noticed the scripts - thanks. I tried building on my machine using the script and ended up with the same errors. I then tried on a freshly installed W2K machine to get everyting from scratch (latest Cygwin, latest mspgcc stuff from CVS, etc.) I put everything in the default directories specified in the script (c:/mspgcc- source) and using the script get the same errors. Binutils builds fine, but I can't build gcc. Is anyone out there actively building these projects on Windows platform? Or are people just using the last release build for windows created by Steve? I started down this road because it looked like some floating point/long math problems I'd been having might be fixed with a more recent version of the math libraries and compilers. Are there any plans for new releases of mspgcc-win32 on the project download page? Appreciate any suggestions, Thanks, loren From: Chris Liechti <cliec...@gmx.net> To: mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] Re: Help building mspgcc? Reply-To: mspgcc-users@lists.sourceforge.net Loren Passmore wrote: > I'd appreciate any suggestions from anyone who is building the tools under > windows: I think I'm following the build instructions pretty closely, but can't > get GCC to build (details below). I was able to build binutils without any > problems, but gcc build does not complete. did you look at this one: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mspgcc/packaging/buildmspgcc. sh? rev=1.3&content-type=text/vnd.viewcvs-markup that is the build script for windows/cygwin from Steve Underwood, which he uses to build the windows installer. the support files are in the same folder as the script. (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mspgcc/packaging/) you may need to adapt some paths in the script. patches are aprecieated, in case you use it and change it so that it can be run on any machine ;-) chris > The versions of things that I am using: > > - binutils-2.14.tar.bz2 > - gcc-core-3.2.3-tar.bz2 > - latest mspgcc projects from CVS > - latest version of cygwin tools > > Thanks for any help, > > loren > > >>----------------- Dimtry wrote ----------------------------------------- >>From: Dmitry <di...@ma...> >> Re: Help building mspgcc? >>2003-08-22 10:28 >> Looks like windowze discards line breaks and spaces in random places :) >> Or, this might be something wrong with the computers memory (I got the >>same problem once long time ago) >> >> ~d >> >> On Thursday 21 August 2003 23:09, microfirmw...@ne... wrote: >> > Hi, >> > >> > I'm attempting to build the mspgcc projects, and have some problems. >> > I'm building on a W2K system and have installed the most recent Cygwin >> > package. >> > >> > Here are the steps that I have taken: >> > 1) get mspgcc projects from CVS (OK) >> > 2) get gcc-core-3.2.3.tar.bz2 and binutils-2.14.tar.bz2 >> > 3) configure and make binutils according to build procedure instructions >> > (http://mspgcc.sourceforge.net/manual/x1575.html) >> > 4) configure gcc according to instructions - this is ok >> > 5) make gcc: this is where I run into the following problem: >> > >> > Problem 1: >> > I get this error in gnu-regex.c: >> > >> > gnu-regex.c:5724: warning: implicit declaration of function `__mempcpy' >> > gcc -DIN_GCC -DHAVE_CONFIG_H -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall >> > -Wwrite-st rings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional >> > -pedantic -Wno-long -long -DHAVE_CONFIG_H -DGENERATOR_FILE -W -Wall >> > -Wwrite-strings -Wstrict-protot ypes -Wmissing-prototypes -Wtraditional >> > -pedantic -Wno-long-long -I. -I.. -I. -I ./.. -I./../config >> > -I./../../include -o fixincl.exe fixincl.o fixtests.o fixfix es.o >> > server.o procopen.o gnu-regex.o fixlib.o ../../libiberty/libiberty.a >> > gnu-regex.o(.text+0x6556): In function `regerror': >> > /usr/local/build/gcc-3.2.3/gcc/fixinc/gnu-regex.c:5724: undefined >> > reference to ` ___mempcpy' >> > >> > If I change gnu-regex.c to get past this error, I get the following >> > error: >> > >> > libgcc2.c:126: warning: implicit declaration of function `abort' >> > /usr/local/build/gcc-3.2.3/gcc/xgcc -B/usr/local/build/gcc-3.2.3/gcc/ >> > -B/usr/loc al/msp430/msp430/bin/ -B/usr/local/msp430/msp430/lib/ >> > -isystem /usr/local/msp430 /msp430/include -O2 -DIN_GCC -DCROSS_COMPILE >> > -W -Wall -Wwrite-strings -Wstric t-prototypes -Wmissing-prototypes >> > -isystem ./include -DDF=SF -Dinhibit_libc -g -g -DIN_LIBGCC2 >> > -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./c onfig >> > -I./../include -mmcu=msp2 -DL_mulvsi3 -c ./libgcc2.c -o >> > libgcc/msp2/_mulv si3.o >> > libgcc2.c: In function `__mulvsi3': >> > libgcc2.c:142: warning: implicit declaration of function `abort' >> > /usr/local/tmp/cc33DE1s.s: Assembler messages: >> > /usr/local/tmp/cc33DE1s.s:113: Error: unknown operand >> > r2dintcall#__umulsi3hwpopr 2 >> > make[2]: *** [libgcc/msp2/_mulvsi3.o] Error 1 >> > make[2]: Leaving directory `/usr/local/build/gcc-3.2.3/gcc' >> > make[1]: *** [stmp-multilib] Error 2 >> > make[1]: Leaving directory `/usr/local/build/gcc-3.2.3/gcc' >> > bash-2.05b$ >> > >> > I've tried various things, and have double-checked that I'm using the >> > same --target and --prefix settings in all steps. I've also tried to >> > keep everything as normal as possible in terms of directory locations, >> > but haven't been able to resolve these errors. >> > >> > One thing I'm not sure about is the version of binutils that I >> > downloaded: I think it's the latest release version, but it is different >> > that the version specified in the mspgcc build instructions. >> > >> > Appreciate any help, >> > >> > loren ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users