• 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: Matthew Smith <email@hidden>
  • Date: Tue, 14 Mar 2006 10:11:18 +1100
  • Thread-topic: [OT] gcc & g++ compiler

On 14/03/2006 09:03, "Brian Dent" <email@hidden> wrote:

> Know this is way off topic
> 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
>
> or is there a better, preferably free, program for compiling a usable
> executable (both c and c++)

You can run a.out by typing:
./a.out

This tells the shell that you want to run a.out in the current directory.

--
Matthew Smith


 _______________________________________________
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

  • Follow-Ups:
    • Re: [OT] gcc & g++ compiler
      • From: Bill Briggs <email@hidden>
References: 
 >[OT] gcc & g++ compiler (From: Brian Dent <email@hidden>)

  • Prev by Date: Re: [OT] gcc & g++ compiler
  • Next by Date: Re: [OT] gcc & g++ compiler
  • Previous by thread: Re: [OT] gcc & g++ compiler
  • Next by thread: Re: [OT] gcc & g++ compiler
  • Index(es):
    • Date
    • Thread