<<< Previous topic - Next topic >>> |
|
Author |
Message |
kdw

Joined: 05 May 2006 Posts: 1497
|
Posted: 19.09.2008, 15:51 Post subject: ARM Cross Tool Chain unter Windows … |
|
|
Hallo Forum.
Für einen DNP/9200 (das ist der Rechnerkern im IGW/920) mit Linux Kernel 2.6 steht der ARM Cross Tool Chain nun auch für Windows/Cygwin zur Verfügung. Weitere Einzelheiten sind unter
http://www.dilnetpc.com/mHT9200-46.pdf
zu finden. Getestet haben wir das Ganze zurzeit allerdings nur unter Windows XP. Eine Eclipse-Integration ist ebenfalls vorgesehen.
Gruß
KDW |
|
Back to top |
|
 |
kdw

Joined: 05 May 2006 Posts: 1497
|
Posted: 21.11.2008, 14:52 Post subject: Linux-Anwendungen unter Windows entwickeln … |
|
|
Hallo Forum.
Die GNU-Werkzeuge für ARM-basierte DIL/NetPCs, PC/104-Boards und Systeme (DNP/9200 mit Linux-Kernel 2.6, ADNP/9200, CP/465 mit Intel-IXP465, IGW/920) zur Entwicklung unter Windows/Cygwin stehen ab sofort auf CD-ROM zur Verfügung. Auf der CD-ROM ist auch eine Anleitung zu finden, um Eclipse als IDE zu nutzen.
Gruß
KDW |
|
Back to top |
|
 |
kdw

Joined: 05 May 2006 Posts: 1497
|
Posted: 28.11.2008, 15:00 Post subject: Makefile unter Cygwin … |
|
|
Hallo Forum.
Per E-Mail erreichte uns die folgende Frage:
Ich versuche gerade, unter Cygwin ein Makefile zum Laufen zu bringen, mit dem die Quelldateien erst in Object-Files übersetzt werden, und anschließend zu einem Executable zusammengelinkt werden. Leider ohne Erfolg. Das compilieren .c -> .o funktioniert, aber wie bediene ich den Linker korrekt? Haben Sie einen Tipp für mich, wie ich das machen muss?
Die Antwort lautet:
Der Aufruf des Linkers erfolgt genauso, wie der Compiler, nur darf kein Parameter "-c" in der Zeile stehen, und nach dem "-o" steht das fertige Programm, z.B.:
arm-ssv1-linux-gcc -o executable object1.o object2.o
Beispiel eines solchen Makefile:
Code: | # Example Makefile with separate linking # # Define CC here, or export it before run make, # or run "make CC=arm-ssv1-linux-gcc"
#CC=arm-ssv1-linux-gcc
all: hello-world
hello-world: hello.o
$(CC) -o $@ $<
hello.o: hello.c
$(CC) -c -o $@ $< |
Danke an HNE.
Gruß
KDW |
|
Back to top |
|
 |
|
|
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
|
|