Terminal doesn`t see gcc commant, what should I do?

Please help, i`m student of moscow institute of phys and tecnology, i need to programm. So, today I need to compile my programm. When I printf in Terminal gcc -o main main.c I looked a massenge "command gcc not found", I dont`t no what is that, becouse I dont`t share any system files. Please, help me with this problem. sorry for my broken english

The first question, do you have gcc, the GNU C compiler, on your system?
If so, in terminal, when you give the command, give the complete path to the gcc executable, such as ./.../gcc -o main main.c so the system can find exactly where gcc resides.  Remeber, Ma OS X is a Unix operating system and unless the location of gcc is in your path specification for login, you need to give the exact location when you try to use it.

Similar Messages

  • I changed my id. When I want, now, update my apps I'm asked my pwd corresponding to my old id. I forgot this old pwd and can(t get it from apple. It seems the old id doesn(t exist anymore. What should I do?

    I changed my id. When I want, now, update my apps I'm asked my pwd corresponding to my old id. I forgot this old pwd and can(t get it from apple. It seems the old id doesn(t exist anymore. What should I do?
    J'ai changé mon id. Je veux mettre à jour mes appli mais on me demande le pwd de mon ancien id que j'ai oublié. Je ne peux pas le récupérer. Il semblerait que mon ancien id n'existe plus. que dois je faire?

    Did yoo go to Settings>iTunes and App Stores and sign out and sign back in?
    Next see:
    Frequently Asked Questions About Apple ID

  • I can't make purchases with my Apple ID becuase I don't know the security questions and the reset password is old and doesn't exist anymore. What should I do?

    I can't make purchases with my Apple ID becuase I don't know the security questions and the reset password is old and doesn't exist anymore. What should I do?

    Per the quote below from If you forgot the answers to your Apple ID security questions - Apple Support
    contact: Apple ID: Contacting Apple for help with Apple ID account security - Apple Support
    If you can't reset your security questions
    Contact Apple Support in either of these circumstances:
    You don't see the link to send a reset email, which means you don't have a rescue address.
    You see the link to send a reset email, but you don't have access to email at the rescue address.

  • Hello applecare  can you help with the macbook pro i did the update the last one and safari doesn't open anything .. what should i do ?

    hello applecare  can you help with the macbook pro i did the update the last one and safari doesn't open anything .. what should i do ?

    Hello John...
    You may have a Safari third party add on installed that was compatible with the previous version of Safari but not 5.1. Try troubleshooting > Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues
    FYI... this is a user to user forum. If you can't resolve the issue, information for contacting AppleCare  here.

  • Inbox says I have 2 messages.  I can't see them. What should I do?

    Inbox says I have 2 messages.  I can't see them.  What should I do?

    Quit Mail. Force quit if necessary.
    Back up all data. That means you know you can restore the Mail database, no matter what happens.
    Triple-click the line below on this page to select it:
    ~/Library/Mail/V2/MailData/Envelope Index
    Copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Other files in the folder may have names that begin with "Envelope Index". Move those files, if any, to the Trash.
    Log out and log back in. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is corrupt and that Mail has to quit. Click OK.
    Test. If Mail now works as expected, you can delete the file you moved to the Desktop. Otherwise, post your results.

  • I had a big problem i scrape the gift card hard and i cant see the code what should i do??, i had a big problem i scrape the gift card hard and i cant see the code what should i do??

    i have a problem i scrape the gift card hard and i cant see the code what should i do??

    iTunes Store: Invalid, inactive, or illegible codes

  • I turned off my ipad when it was upgrading the system and now it doesn't turn on. What should I need to do now?

    Hello!!!
    Can somebody help me?
    I just turned off my ipad but I forgot that it was upgrading a new system...and now it doesn't turn on.
    What should I have to do?
    Thanks

    Hold down on the sleep button and the home button at the same time for about 10 seconds until the Apple logo appears on the screen. Ignore the red slider. When the logo appears let go of the buttons.

  • I ereased my external drive now time machine doesn't back up. What should I do?

    I ereased my external drive now time machine doesn't back up. What should I do?  the reason I ereased was because backups wouldn't finsh because of disk error. I did disk repair. Still wouldn't back up so ereased the back up drive. Now nothing appears on it. On the internal drive of my imac in Appllications Timemachine is still there. When I click on it it goes to a screen that looks like a night sky and nothing more happens. Do I need to download some software?

    Time Machine doesn't work on 10.4.7.    It didn't become available until 10.5.   Use a different backup software if you are going to use 10.4.7*:
    http://www.macmaps.com/backup.html

  • Hi there. There is a software Radio Javan that I had installed before and worked . But it is about a month that it can't be opened. I removed it once and installed again but doesn't work again. What should I do?

    Hi there. There is a software Radio Javan that I had installed before and worked . But it is about a month that it can't be opened. I removed it once and installed again but doesn't work again. What should I do?

    As when there is a problem with any other software, contact the software developer for the app.

  • My ipod 4g is running slow and doesn't open some apps what should I do ?

    my ipod 4g is running slow and doesn't open some apps and close the when i am working on them what should I do ?

    Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The 4G only has 256 MB of memory.
    Next try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                
    iOS: How to back up                            
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                      

  • After delete the skype ipod from my ipad the only thing i see is the apple sign i can not see anything els what should i do

    what should i do

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

  • I need to buy an app that requires OS X version 10.10 and my computer doesn't have it. What should I do? I need "Numbers" app ASAP

    Please, I need to update my computer in order to buy an app; what should I do? Thanks!

    In the Mac App Store under Updates you should see a banner to update to OS X Yosemite, or you can search for Yosemite in the App Store and update in the event that you don't see it listed under the Updates page. Once your computer has updated, you will be able to install Numbers and other apps that require OS X 10.10.
    Have a great day.

  • In explorer when I go to my banks sites - I see a lock - what should I look for in Fkirefox

    I have only used explorer - so I am new to this browzer. When I visit my bank or am about to use paypal I see a lock, so I know the site is secure - what should I look for with Firefox?

    They've been silly and removed it.
    I've posted my thoughts on this here.
    https://support.mozilla.com/en-US/questions/811720#answer-227481
    You now need to click on the icon on to the left of the websites address on the address bar!!!
    So if you look up now you'll see mozilla.com icon on the address bar!
    Edit; '''In addition this would be a workaround for FF5 to get the Padlock back!!'''
    https://addons.mozilla.org/en-US/firefox/addon/padlock-icon/

  • Help please my ip 5 tochscreen doesn't  response at all :( what should i do ? by the way my phne didnt fall down or get touch with water

    i have problem with my tochscreen for two days it doesnt response at all . I dont know what should i do now ? and by the way my phone didnt fall down or be in toch with water

    thanks
    i think im gonna have an apointment with apple and give them a visit

  • I have an iPhone 5s and if I want buy something from Appstore, Apple ID place doesn't show to me, what should i do?

    I'd like to buy something from Appstore. I click for example "Free" and I'm waiting for window with Apple ID or something but nothing happens. What should I do with that?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...
    NOTE:
    You cannot use other countries itunes stores.
    You must be within the Country with a Valid Billing Address and Credit Card for that Country to use the iTunes Store of that Country..
    iTunes Store Terms of Service
    http://www.apple.com/legal/itunes/us/terms.html#SERVICE

Maybe you are looking for