Setting up the tool chain on Linux

From Wiz Wiki
Jump to: navigation, search

[edit] Getting the tool chain

Get the linux tool chain from openwiz011909.

As root move the openwiz011909.tar.gz file to the /opt directory and untar it as *root*:

sudo tar xzf openwiz011909.tar.gz

[edit] Testing the tool chain

As your normal user create a directory called wizTest.

In the directory create a file called wizTest.c and put the following in using your favorite text editor

#include <stdio.h>
#include <stdlib.h>
 
int main(int argc, char* argv[])
{
    printf("hello world\n");
    return EXIT_SUCCESS;
}

Compile it to run on your local machine using

gcc -o wizTest wizTest.c

Now compile it using the new tool chain

/opt/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-gcc -o wizTest.gpe wizTest.c

There shouldn't be any errors reported.

Continue to Development tutorials or Example Code.

Personal tools
View and edit namespaces data
Variants
Actions
Navigation
community
Toolbox