TOP
SSV SOFTWARE SYSTEMS REGISTER  REGISTER
Log in to check your private messages  Log in to check your private messages
START FAQ SEARCH MITGLIEDER PROFILE  Log in 
SSV-Forum
Toolchain installieren und benutzen …

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 31.03.2008, 13:37    Post subject: Toolchain installieren und benutzen … Reply with quote

Hallo Forum.

Auf der Linux CD-ROM zum DNP/5370 Starterkit findet man im Unterverzeichnis /linux/toolchain die Archivdatei blackfin-toolchain-06r2-5.i386.tar.gz. Diese Datei beinhaltet einen vollständigen GNU Cross Toolchain für virtuelle oder reale Linux-PCs mit i386 Prozessor.

Kopien Sie die Datei blackfin-toolchain-06r2-5.i386.tar.gz in das Verzeichnis /root Ihres Linux-PCs. Führen Sie dann die folgenden Schritte aus:

cd /
tar –xzf /root/ blackfin-toolchain-06r2-5.i386.tar.gz
export PATH=$PATH:/opt/uClinux/bfin-uclinux/bin
cd /home/user
cat > hello.c
#include <stdio.h>
void main (void)
{
printf (“Hello world.\n”);
}
CTRL-D (stoppt die Eingabe in eine Datei per cat …)
bfin-uclinux-gcc –Wl,-elf2flt –o hello hello.c
ls –al hello


Durch die Schritte entsteht die auf dem DNP/5370 ausführbare Datei hello. Übertragen Sie diese Datei per FTP oder TFTP zum DNP/5370. Bitte das

chmod +x hello

nach dem Dateitransfer auf dem DNP/5370 nicht vergessen. Danach kann man diese Datei auf dem DNP/5370 ausführen.

Gruß

KDW
Back to top
View user's profile Send private message
kdw



Joined: 05 May 2006
Posts: 1460

PostPosted: 01.04.2008, 08:33    Post subject: GNU Cross Toolchain für DNP/5370 … Reply with quote

Hallo Forum.

Etwas ausführlicher sind die einzelnen Schritte unter

http://www.dilnetpc.com/mHT5370-06.pdf

und

http://www.dilnetpc.com/mHT5370-07.pdf

beschrieben.

Gruß

KDW
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/5370 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV SOFTWARE SYSTEMS

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2024 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015