New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Running object file on commandline


Post Reply New Thread Subscribe

 
Thread Tools
Dr. Lacrimosus

 
Member Since: Apr 22, 2009
Posts: 1
Dr. Lacrimosus is on a distinguished road

Dr. Lacrimosus is offline
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?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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.
QUOTE Thanks
DairyKnight

 
DairyKnight's Avatar
 
Member Since: Apr 27, 2009
Posts: 3
DairyKnight is on a distinguished road

DairyKnight is offline
Try: find ./DESkey
what's the outcome?
QUOTE Thanks

Post Reply New Thread Subscribe


« Terminal files don't seem to be associated properly anymore | Carbon or not? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Windows 2003 File Server & Quark kegwell OS X - Operating System 0 01-15-2007 02:35 PM
Unix Executable File problem fender1100 OS X - Apps and Games 9 01-07-2007 06:20 AM
SLOW file transfer on home network. Yianni1066 Internet, Networking, and Wireless 0 11-05-2006 11:09 PM
Open Letter to Apple Saint Mark Switcher Hangout 23 08-15-2006 03:15 AM
make and CDRecord plunger OS X - Development and Darwin 3 12-29-2003 05:49 PM

All times are GMT -4. The time now is 06:23 AM.

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

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?