Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: excute the binary files



On Thu, Dec 22, 2005 at 04:56:32PM -0500, SANTHOSH KODURI wrote:
> Hi,
> 
> I try to excute the binary file at Mac OSX terminal.But i am not able to excute the binary file.

For security reasons, the executables search path (PATH) doesn't include
the current directory.

You'll have to run like this: ./program

> Is there any way to excute program files such as .c?If yes where can i information about.

You need to compile. Compilation depends on the program, it'll probaby
have a INSTALL or README file with instructions.

For simple programs:
gcc program.c
./a.out

-- 
lfr
0/0
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden

References: 
 >excute the binary files (From: SANTHOSH KODURI <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.