On Sep 2, 2010, at 10:52 AM, Arturo Gurrola wrote:
> "try184.c:1:20: error: curses.h: No such file or directory" and then 
> "Note that you must have libcurses developer headers installed. Abort.".


I'm also installing MSPGCC4 under Cygwin right now, and I ran into the same 
problem. I have libncurses-devel installed, which provides <ncurses/curses.h>, 
but MSPGCC4's do-gdb.sh script looks for <curses.h> and doesn't find it. Since 
the compilation runs so terribly slowly for me (I'm running WinXP in a virtual 
machine on my Mac, and the compilation is easily an order of magnitude slower 
than it was when doing it natively under OSX), and buildgcc.pl does a 
brute-force compilation which will rebuild gcc before it even gets around to 
choking on gdb... I decided to try skipping do-gdb.sh and instead compile gdb 
manually.

What I've done so far is:

  cd build/gdb-7.1
  ./configure --prefix=/opt/msp430-gcc-4.4.4 --target=msp430 --disable-werror
  make

It failed to find libz and choked on the compilation, so I'm not there just yet.

I plan to use the compiler under OSX, but I'm still trying to build it under 
WinXP so that I can try to use gdb + gdbproxy to download code with my eZ430 
dongle or MSP-FET430UIF, which aren't supported under OSX yet.

I wouldn't mind using IAR or CCC to download code built by msp430-gcc, but it 
seems that they want the code in a .d43 format which I don't know how to create 
with msp430-gcc.

-- 
Mark J. Blair, NF6X <[email protected]>
Web page: http://www.nf6x.net/
GnuPG public key available from my web page.





Reply via email to