home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,972 of 4,675   
   Xavier Maillard to All   
   EXE not found   
   01 Dec 19 23:55:06   
   
   From: xavier@nospicedham.maillard.im   
      
   Heya,   
      
   I wrote a fibonacci program in x86_64.   
      
   My code uses a call to libc printf function (just to test hwo that works).   
      
   I assebled it with nasm and linked it using ld with '-lc' switch.   
      
   So far, so good.   
      
   I have an executable but, calling it right into the shell, it returns:   
      
   no such file or directory.   
      
   Just to show:   
      
   total 20   
   -rwxrwxrwx 1 xavier xavier 15216 Dec  1 06:47 fibo   
   -rw-rw-rw- 1 xavier xavier  2304 Dec  1 06:47 fibo.o   
   -rw-rw-rw- 1 xavier xavier   353 Nov 29 13:11 fibo.s   
   -rw-rw-rw- 1 xavier xavier   513 Dec  1 06:44 Makefile   
      
   when calling it, I am in ~/devel/asm/fibo directory and I am calling it with:   
   ::> ./fibo   
   zsh:1: no such file or directory: ./fibo   
      
   Is there something wrong here (again) ? :)   
      
   --   
      
            - xma   
      
   GPG:  BA4909B7 8F04DE1B   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca