Hi Steve,

Tuesday, October 01, 2002, 4:18:22 PM, you wrote:

> I tried following Andreas' instructions, without much success. I
> installed the current MinGW (2.0.0.0-3) and MSYS (1.0.8-2002.09.07-1) on 
> a WinMe machine. When I run build.sh from the MSYS shell I get a variety 
> of errors, that all seem to relate to header issues. The first one I hit 
> is in binutils-2.11/opcodes/msp430-dis.c, where u_short has not been 
> defined. If I fudge this one, I hit another file where u_int is not 
> defined. If I fudge that, I get a mass of definition related problems in 
> gcc 3.2. At this point I figured that seeking help was in order.

I think I had to add
typedef unsigned short u_short;
typedef unsigned int u_int;
to types.h when I installed mingw32. Sorry, forgot about that.

> Andreas Schwarz wrote:

>>Hi everyone,
>>
>>I have made a new binary with gcc version 3.2. As usual you can find
>>it on http://www.mikrocontroller.net/mspgcc.en.htm.
>>
>>Many people asked me how I'm doing it, so here is a small howto:
>>
>>1. Install mingw32, msys and the cvs-client from cygwin.
>>2. Download gcc-core-3.2.tar.gz and binutils-2.11.tar.gz, copy them
>>   to /c/mspgcc-source and extract them there with "tar -xzvf" (enter
>>   all commands in msys)
>>3. Copy the patch file from the attachment to /c/mspgcc-source and
>>   execute it with "patch < *.patch" (you have to enter the filenames
>>   manually because the patch expects that the gcc directory is called
>>   gcc-3.0)
>>4. Make a directory called /c/mspgcc-source/msp430 (this is where the
>>   msp430-specific files from the cvs will be downloaded to)
>>5. Execute the build.sh.
>>Now mspgcc should be installed to c:/msp430. If you want to update to
>>a new version simply repeat step 5.
>>
>>Andreas
>>





> -------------------------------------------------------
> This sf.net email is sponsored by: DEDICATED SERVERS only $89!
> Linux or FreeBSD, FREE setup, FAST network. Get your own server 
> today at http://www.ServePath.com/indexfm.htm
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users




-- 
WWW:     http://andreas-s.net
ICQ:     83580609


Reply via email to