You may download my build results here:
url: http://www.mydrive.ch/login
user: guest@Hutch67
pw: mspgcc4!mingw32
path : mspgcc4/msp430-gcc-4.4.5_gdb_7.2_20110213_mingw32.tar.bz2
Best, Matthias
Am 27.02.2011 09:25, schrieb Matthias Hartmann:
Don't focus on errors the arise during the build.
This took me several hours, just trying to get all errors fixed.
Some errors are fixed by rerunning make or mingw32-make several times
from mingw32-gccwa.pl.
Sounds strange ? Is strange, but seems to work.
I checked success by comparing, which files are created when building
on ubuntu 10.10 and which are created when building with mingw32 on
windows.
Find the list of ubuntu files below, so you may compare ...
I removed the locale/... files from the list, because on ubuntu its
build with NLS support and on mingw32 without.
you can ignore the missing
bin\msp430-gdbtui
because mingw does not have a suitable curses implementation.
Just give the how-to below a try and don't worry too much about
errors/warnings on the way.
You may write a log file for detailed analysis by running
sh build/buildgcc-4.4.5_gdb_7.2.sh >build.log 2>&1
Good Luck!
Matthias
Am 26.02.2011 13:21, schrieb Matthias Hartmann:
**Install Mingw Environment
Download mingw-get-0.1-mingw32-alpha-5.1-bin.zip
from
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get/mingw-get-0.1-alpha-5.1/mingw-get-0.1-mingw32-alpha-5.1-bin.zip/download
remove c:\mingw
remove c:\msys
create directory c:\mingw
extract mingw-get-0.1-mingw32-alpha-5.1-bin.zip
into c:\mingw
edit "C:\mingw\var\lib\mingw-get\data\defaults.xml"
replace
<sysroot subsystem="MSYS" path="%R/msys/1.0" />
with
<sysroot subsystem="MSYS" path="%R/../msys/1.0" />
this will install msys in c:\msys instead of c:\mingw\msys, which
prevents runtime exception from as.exe when building the TI-lib
run cmd.exe
cd /d c:\mingw\bin
run following commands to download and install required modules:
mingw-get install msys-libtool
mingw-get install msys-wget
mingw-get install msys-rxvt
mingw-get install mingw-developer-toolkit
mingw-get install mingw32-base
mingw-get install mingw32-gcc
mingw-get install mingw32-gcc-g++
mingw-get install mingw32-gdb
mingw-get install mingw32-libz
mingw-get install mingw32-libiconv
or as a oneliner
mingw-get install msys-libtool msys-wget msys-rxvt
mingw-developer-toolkit mingw32-base mingw32-gcc mingw32-gcc-g++
mingw32-gdb mingw32-libz mingw32-libiconv
**start and configure msys
cd ..\..\msys\1.0
msys.bat -rxvt
configure msys environment
/postinstall/pi.sh
y
y
c:/mingw
makes sure, not to have "." in PATH
export PATH=/usr/local/bin:/mingw/bin:/bin
ensure static builds (if omitted, some dlls from c:\mingw\bin are
needed (on PATH) to run msp430-*.exe)
find /mingw -name '*.dll.a' -exec mv -T '{}' '{}.deactivated' ';'
find / -name '*.dll.a' -exec mv -T '{}' '{}.deactivated' ';'
cd <path with mspgcc4 source in>
replace mingw32-gccwa.pl with attached file
replace do-gcc.sh with attached file
run
perl buildgcc.pl
follow instructions
done
makeinfo does not seem to work in mingw32, therefore I deactivated
some build rules in gcc\Makefile which use makeinfo.
If you want full documentation, copy the missing files from a linux
build of mspgcc4.
above has been developed and tested on windows 7 ultimate 64 bit
any comments are welcome
have fun and a nice weekend
Matthias
------------------------------------------------------------------------------
Free Software Download: Index, Search& Analyze Logs and other IT
data in
Real-Time with Splunk. Collect, index and harness all the fast moving
IT data
generated by your applications, servers and devices whether physical,
virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights.http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------------
Free Software Download: Index, Search& Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users