Re: Gnu Assembler on Openbsd 3.7 Operation not permitted

2005-07-05 Thread Julian Leyh
Ted Hanna [EMAIL PROTECTED] wrote:
[...]
  len =3D . - msg
[...]

see the =3D? maybe there is some character which shouldn't be there.
try typing the whole program into a new file.

cu
JRL

PS: the code works for me..

-- 
If you don't remember something, it never existed...
If you aren't remembered, you never existed...
I don't quite understand what love is like... But if there
was someone who liked me, I'd be happy.



Re: Gnu Assembler on Openbsd 3.7 Operation not permitted

2005-07-05 Thread Ted Hanna
julian, 

   can you please post how you do it on GAS? the work around I've got
is from nasm.. i tried to look into the len=3D .-msg you pointed out
.. same result though..


thanks,
dee

On 7/5/05, Julian Leyh [EMAIL PROTECTED] wrote:
 Ted Hanna [EMAIL PROTECTED] wrote:
 [...]
   len =3D . - msg
 [...]
 
 see the =3D? maybe there is some character which shouldn't be there.
 try typing the whole program into a new file.
 
 cu
 JRL
 
 PS: the code works for me..
 
 --
 If you don't remember something, it never existed...
 If you aren't remembered, you never existed...
 I don't quite understand what love is like... But if there
 was someone who liked me, I'd be happy.



Gnu Assembler on Openbsd 3.7 Operation not permitted

2005-07-02 Thread Ted Hanna
im receiving an error on compiling using gas and ld. i did a test
compile using a hello.S that have the usuall hello world written in
asm. the compile went smoothly and so does the linking but i got at a
point where i am ready to run the program and got this error

$ as -o hello.o hello.S
$ ld -s -o hello hello.o
$ hello
sh: hello: Operation not permitted 

here's the file stats 

$ ls -la hello
-rwxr-xr-x  1 dee  dee  4452 Jul  2 14:42 hello


any suggestions will be greatly appreciated.


dee