Quote:
Originally Posted by acid_kewpie
hmm, the errors bash gives from executing files can be a bit misleading, what actually is the file? maybe it's not finding a suitable interpret for it? what if you do "sh ob_sw" ? if it's a text fail, can you, for example, do a "head ob_sw" to show the first few lines of it?
|
ob_sw is OmniBasic, a compiled BASIC. It runs on my home computer which unfortunately is 5000 kilometers away. On that computer, when it errors out the errors are reported correctly. What I am curious about is why bash reports the file is not there. By the way I got exactly the same error on another BASIC I installed and have since deleted. Might have been yabasic or cbasic.
I have since managed to install RapidQ, a BASIC compiler that actually works and is well documented, so I don't REALLY need an answer. Just trying to satisfy my curiosity, so don't waste too much thought on it.
Thanks, and here are the reponses to your questions.
ion@protos:~/OMNI> sh ob_sw
ob_sw: ob_sw: cannot execute binary file
ion@protos:~/OMNI> head ob_sw
EL44 (7�Ԁ
7
/lib/ld-linux.so.1
▒
▒
�X�*0%
6@ <7
F4W"]""hm"""}7
& ">�D�@��
�$
Z �%
��4�4Q�libm.so.5_DYNAMIC_GLOBAL_OFFSET_TABLE__init_finierrno__environatexitlibc.so.5closewritereadex itopenputslseekenvironsystemlongjmp__setjmpatofatoi__libc_initunlink__setfpucw__fpu_control_errno__u divdi3__umoddi3_etelptx|�ta�_bss_start_endD▒@dh�
�
...and a lot more non-printable characters.