deetee
Still Fresh
Hi,
I try to start developing with compiling hellopixel.c - but that isn't that easy.
I'm working with a linux-live-system (grml.org) and try to setup the environment to use the toolchain from torpor (includes SDL).
Fist I untared the toolchain to /toolchain, made a directory /opt/openwiz (mkdir -p /opt/openwiz/) and a link to toolchain (ln -s /toolchain /opt/openwiz/toolchain).
Then I put hellopixel.c to /opt and changed to /opt (cd /opt).
After this I tried to compile hellopixel.c with:
/opt/openwiz/toolchain/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-gcc -I /opt/openwiz/toolchain/arm-openwiz-linux-gnu/include/SDL -lSDL hellopixel.c -o hellopixel.gpe
But finally I got linker-errors regarding libSDL: cannot find -lSDL.
Trying to expand the PATH doesn't improve much. One of the further errors was: libiconv.so.2 needed libSDL.so (with undefined references).
Now I don't know what to try. Before doing it with a makefile I would like to understand it with a compile command.
Thanks for any help/hint.
deetee
I try to start developing with compiling hellopixel.c - but that isn't that easy.
I'm working with a linux-live-system (grml.org) and try to setup the environment to use the toolchain from torpor (includes SDL).
Fist I untared the toolchain to /toolchain, made a directory /opt/openwiz (mkdir -p /opt/openwiz/) and a link to toolchain (ln -s /toolchain /opt/openwiz/toolchain).
Then I put hellopixel.c to /opt and changed to /opt (cd /opt).
After this I tried to compile hellopixel.c with:
/opt/openwiz/toolchain/arm-openwiz-linux-gnu/bin/arm-openwiz-linux-gnu-gcc -I /opt/openwiz/toolchain/arm-openwiz-linux-gnu/include/SDL -lSDL hellopixel.c -o hellopixel.gpe
But finally I got linker-errors regarding libSDL: cannot find -lSDL.
Trying to expand the PATH doesn't improve much. One of the further errors was: libiconv.so.2 needed libSDL.so (with undefined references).
Now I don't know what to try. Before doing it with a makefile I would like to understand it with a compile command.
Thanks for any help/hint.
deetee