• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] gcc & g++ compiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >[OT] gcc & g++ compiler (From: Brian Dent <email@hidden>)

  • Prev by Date: Re: Addressing an app that may or may not exists (without alerting user)
  • Next by Date: Re: [OT] gcc & g++ compiler
  • Previous by thread: [OT] gcc & g++ compiler
  • Next by thread: Re: [OT] gcc & g++ compiler
  • Index(es):
    • Date
    • Thread