Mac Forums

Mac Forums (
-   OS X - Development and Darwin (
-   -   Running object file on commandline (

Dr. Lacrimosus 04-22-2009 06:28 PM

Running object file on commandline
I have an object file that I've made using gcc on a linux box. I sent it to my mac, and I tried running it like so:


It wouldn't let me run it, so I tried

sudo ./DESkey

After I entered my password, sudo said the command ./DESkey was not found.

What am I doing wrong?

xstep 04-26-2009 01:03 AM

I should think you have to compile that on the platform you are going to run it.

I'm not sure why it says it didn't find it. Have you set it to be executable. Even if you get that far, I'd expect it to blow up.

DairyKnight 04-27-2009 10:58 AM

Try: find ./DESkey
what's the outcome?

All times are GMT -4. The time now is 06:04 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.