Results 1 to 3 of 3
  1. #1
    Running object file on commandline

    Member Since
    Apr 22, 2009
    Posts
    1
    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:

    ./DESkey

    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?

  2. #2
    Running object file on commandline
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3
    Running object file on commandline
    DairyKnight's Avatar
    Member Since
    Apr 27, 2009
    Posts
    3
    Try: find ./DESkey
    what's the outcome?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. rSync commandline bash script
    By scar1 in forum OS X - Operating System
    Replies: 2
    Last Post: 03-19-2015, 09:49 PM
  2. New Blog: Learning the Commandline ? Looking at files
    By MF Blog Bot in forum Apple Rumors and Reports
    Replies: 0
    Last Post: 07-26-2014, 10:40 AM
  3. Running a BZ2 file?
    By KaileneDanae in forum OS X - Operating System
    Replies: 1
    Last Post: 05-16-2010, 07:09 PM
  4. Running a aplication fropm the commandline
    By dobby in forum OS X - Apps and Games
    Replies: 3
    Last Post: 08-24-2009, 03:58 PM
  5. Burning Backup file through commandline
    By LindseyV in forum OS X - Operating System
    Replies: 0
    Last Post: 07-30-2008, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •