Hello,
I was about to run this script on my OS X machines (one 10.4/ PPC ; the other 10.5/Intel) when I noticed the comment about how gcc shouldn't be a version 4. I have version 4.0.1. Does this mean I should not use it? What is the issue?

Previously I was using IAR Embedded workbench under XP but I ran into the 4096 byte limit of the compiler (their free version). Has anyone built mspgcc on OS X? Are there any other options out there?

Thank you,
-Shawn



On Feb 9, 2009, at 11:47 AM, Rick Jenkins wrote:

A lot of people seem to have difficulty with building the toolset. The
developers maintain a script to do the whole thing, and it has always worked
well for me. I use the following crude stub script to activate it:

#!/bin/bash
#
# This is the "official" build, using the latest script
# from CVS, which is maintained by the developers.
#
# Before running this for the first time as an ordinary user,
# as root:
#
#  mkdir -p /opt/mspgcc
#  chown $USER.$USER /opt/mspgcc
#
#``$USER`` should be replaced with the login name of the user that
# will  build the toolchain
#
# To use the resulting toolchain, put the path in your .bashrc
#
# PATH=$PATH:/opt/mspgcc/bin

   mkdir -p mspgcc/sf
   cd mspgcc/sf
cvs -d:pserver:[email protected]:/cvsroot/ mspgcc login cvs -z3 -d:pserver:[email protected]:/cvsroot/ mspgcc
co -P             .
   cd packaging
   make folders
# Replace "3.3.6" with the version number of the gcc you use to compile.
# It should not be a gcc4 version. the command
# gcc-config -l
# will list available compilers on your system
   CC=gcc-3.3.6 make build

This rebuilds the entire toolchain, so that you know you are up-to- date,
cumbersome but secure.




--
Rick Jenkins <[email protected]>
Hartman Technica           http://www.hartmantech.com
Phone +1 (403) 230-1987
221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5

---------------------------------------------------------------------- -------- Create and Deploy Rich Internet Apps outside the browser with Adobe (R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/ adobe-com
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to