dmarschal
Member
Hello,
I have problems running the following code:
I tried to assemble it from cdevtools 0.0.39
When I want to run the executable I get
(I also receive the same error when trying to run GLES2 code.)
The file is here, and 'file xwin' says
The C version works fine. What libraries or LD options the code is missing?
By the way, PandoraWaveBreaker does not compile, it cannot find 'pvrPVR2D_X11WSEGL'.
Thanks,
Dennis
I have problems running the following code:
Code:
.text
.data
.extern XOpenDisplay
.extern XCloseDisplay
.globl _start
_start:
mov r0,#0
bl XOpenDisplay
bl XCloseDisplay
mov r0,#0
mov r7,#1
swi 0
.bss
.end
I tried to assemble it from cdevtools 0.0.39
Code:
as xwin.s -o xwin.o
ld -lX11 -L../../usr/lib xwin.o -o xwin
When I want to run the executable I get
Code:
-bash: ./xwin: No such file or directory
(I also receive the same error when trying to run GLES2 code.)
The file is here, and 'file xwin' says
Code:
xwin: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
The C version works fine. What libraries or LD options the code is missing?
By the way, PandoraWaveBreaker does not compile, it cannot find 'pvrPVR2D_X11WSEGL'.
Thanks,
Dennis