Re: [OT] gcc & g++ compiler
Re: [OT] gcc & g++ compiler
- Subject: Re: [OT] gcc & g++ compiler
- From: Doug McNutt <email@hidden>
- Date: Mon, 13 Mar 2006 15:29:45 -0700
At 17:03 -0500 3/13/06, Brian Dent wrote:
>but does anyone have experience using gcc from the terminal to compile c programs?
>
>I can get it to create the a.out file
>but i can't figure out how to get it to run that file
Do shell script will execute a shell script that you write. Why not create a tcsh or bash script in a file and "tell" Applescript to execute that. The script could compile and then execute a.out. It's better if you make the script executable with a chmod +x because you can specify the shell with a #! line that way.
If by "run" you mean double clickable in Finder you have to create a package for it. Ask again if that's the case.
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden