installing MSPGCC under Cygwin

Gast #77142
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
Gast #77144
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...
Gast #77145
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?
Gast #77147
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
Gast #77148
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.

Antwort schreiben

Eine eigene Frage? Dieser Thread ist über 22 Jahre alt. Stell sie in einem eigenen Thread – dort lesen mehr Leute mit, und sie wird öfter und schneller beantwortet.

Neuen Thread starten

Eine Lösung, Ergänzung oder Rückmeldung zu diesem Thread? Dann antworte hier.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.