Forum: Compiler & IDEs installing MSPGCC under Cygwin


von Martijn Broens (Gast)


Lesenswert?

Hallo alle,

sorry for me mailing in englisch but my writing in german is to poor,
reading is ok.

Could anyone help me out instaling mspgcc under cygwin?
this is what i've done so far:
mkdir /tmp/mspgcc
cd /tmp/mspgcc

wget
ftp://sources.redhat.com/pub/binutils/releases/binutils-2.14.tar.bz2

wget wget
ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.3/gcc-core-3.3.tar.bz2

so far so good, but when invoking the next line
tar xjvf *.tar.bz2

i get an error saying something about that it could not find the
archive gcc-core-3.3.tar.bz2

What does this mean? did i do something wrong??
please advice. thanks

von Werner (Gast)


Lesenswert?

was the download of the both files successful.
it seems, that the download of the file gcc-core-3.3.tar.bz2 failed.

Werner

von OldBug (Gast)


Lesenswert?

Hi there!

I have had the same problem when extracting with the wildcard "*",
try to extract these two files separately and I think it will work.

Kind regards,
Patrick...

von Martijn Broens (Gast)


Lesenswert?

yes there where no complaits about the downloads. i found out one other
thing though, i cannot loggin as su could this have anything to do with
it?

von Martijn Broens (Gast)


Lesenswert?

Thanks tried to tar the file sepperatly and that fixed it. i'm now
currious about the su thing

thanks martijn

von Martijn Broens (Gast)


Lesenswert?

Okay i now face the next problem.
 cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mspgcc login
Nothing happened!!!
 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mspgcc co
gcc/gcc-3.4
==> Download started
cp -r gcc/gcc-3.4/gcc gcc-3.3/
did something

 cd gcc-3.3
 ./configure --prefix=/usr/local/msp430 --target=msp430
 make
 su
 make install
 exit
 cd ..

 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/mspgcc co
msp430-libc

 cd msp430-libc/src
 make
==>> ERROR msg:
      msp430-gcc -x assembler-with-cpp -mmcu=msp430x1471 -
      I./../include -I. -Wa,-gstacc1: error: MCU msp430x1471 not
      supported
      Know MCU names:
      ...
      list op mcu's
      ...
   WHAT COULD CAUSE THIS, HOW CAN I FIX THIS????

 su
 make install
 exit

von R2D2 (Gast)


Lesenswert?

Your libc is more recent than your gcc/binutils package. You need to
patch your compiler or what's easier comment out the unsupported
targets in the libc makefile. For more information about the 417 device
read the thread "MSP430F415 and 417 support" form Fri, 27 Feb 2004 in
the mspgcc-users mailinglist. There you also find the patch for
binutils.
Your problem with the tar's was that you had two tar files in your
directory. When tar is call with two or more filenames it tries to
extract the second and all later files from the first file.
e.g. tar -xjf test.tar.bz2 my_file would extract my_file from
test.tar.bz2.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.