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