Compilar un programa en C bajo Linux

gcc

significa GCC: GNU Compiler Collection. Es el compilador creado por el proyecto GNU. Se trata de una colección de programas libres integrados capaces de compilar diversos lenguajes de programación, entre estos C, C++, Objective-C, Java, Ada y Fortran. GCC es utilizado en el desarrollo de la mayoría de programas libres. Especialmente, el núcleo Linux depende estrechamente de las funcionalidades de GCC. .

You could have a homepage - often called index.html - that welcomes people to your site and then links to three other webpages. Each of those webpages could then show one thing you love. These other webpages should be named after whatever they show. A page that shares the music you love could be called "music.html." These pages end with ".html" because they are written in "Hypertext Mark-up Language," the language of the Web.

Websites often - but not always - use the same style on each page. That is to say, the color scheme and fonts and layout of each page in a site is usually the same so visitors know that all the pages belong together. In addition to index.html and three other pages, we have a style.css file that keeps the style the same on each page. The ".css" stands for Cascading Stylesheet; that's the language of styling the Web.

Let's get started editing our website!

  1. Change the homepage called "index.html"

    Edit the index.html page of your project. It should be where you start on the left side of the screen. You can also always get to it by clicked on index.html in the sidebar on the left.

    Go to line 31. You can see three items in a list. Each one is tagged with an opening li tag and a closing /li tage. That li tag stands for "list item." In HTML, the language of the Web, each part of the page goes between two tags - and opening tag and a closing tag.

    Here, these li live inside ul tags which stand for "unordered list." An unordered list uses bullet points, instead of ordered numbers, in front of each list item.

    Change the words in each li to make them 3 things you love.

    Finally, look in the link - or a - tags. Right now, these 3 li link to pages about games, music, and places. Change each link so that it matches what you love. For example, if your first li says "friends," change the a so it reads a href="friends.html".

  2. Change the webpage called "games.html"

    Go to the left sidebar and click on games.html to change the first page linked from index.html. The code for that page will show up in the left window and replace the code from index.html.

    Next, visit line 8, line 11, and line 25. In each of those lines, find the titles of the page, "Games I Love." Change each title so it matches what you love and want to write about on thos page. For example, if you love your friends, change "Games I Love" to "Friends I Love" on each of those lines. You're changing the title 3 times for 3 different reasons. Changing the title in the meta tag on line 8 tells search engines the new name of your page. Changing the title tag on line 11 tells your browser tab or window what to call your page. CHanging the p tag on line 25 changes the words that show up in your tab or window. When you write HTML, you're writing it for search engines, Web browersers, and people all at once!

    After that, go to line 27. You can see that we've embedded media here. We have used the iframe tage to embed a video from YouTube. If you want to post a different video here, go to a video service like Vimeo or YouTube. Then

    1. Search for a video that shows what you love.
    2. Find the button or tab called "share" under your video.
    3. Find the button or tab called "embed" (not "link") and click it.
    4. Copy that code and use it to replace our iframe tag.

    Finally, go back to the sidebar and right-click or control-click on the name of this page, games.htmls. Choose to rename the page. Name the page after what you love, like friends.html.

  3. Change the homepage called "music.html"

    This is just like the games.html page.

    Go to the left sidebar and click on music.html to change the third page linked from index.html. The code for that page will show up in the left window and replace the code from the last page you edited

    Next, visit line 8, line 11, and line 25. In each of those lines, find the titles of the page, "Music I Love." Change each title so it matches what you love and want to write about on this page. For example, if you love your books, change "Music I Love" to "Books I Love" on each of those lines.

    After that, go to line 27. You can see that we've embedded media here. We have used the iframe tage to embed a video from YouTube. If you want to post a different video here, go to a video service like Vimeo or YouTube. Then

    1. Search for a video that shows what you love.
    2. Find the button or tab called "share" under your video.
    3. Find the button or tab called "embed" (not "link") and click it.
    4. Copy that code and use it to replace our iframe tag.

    Finally, go back to the sidebar and right-click or control-click on the name of this page, games.htmls. Choose to rename the page. Name the page after what you love, like books.html.

  4. Change the homepage called "places.html"

    This one is kind of like the other pages, but we're going to change images inetad of chaging videos.

    Go to the left sidebar and click on places.html to change the second page linked from index.html. The code for that page will show up in the left window and replace the code from the last page you edited.

    Next, visit line 8, line 11, and line 25. In each of those lines, find the titles of the page, "Places I Love." Change each title so it matches what you love and want to write about on this page. For example, if you love different fashions, change "Music I Love" to "fashions I Love" on each of those lines.

    After that, go to line 27. You can see that we have a picture here inside the img tag which stands for "image." We're going to use a Creative Commons search to find an image that matches what you love and that is licensed for you to use without much hassle. To change the image to match the topic of your page

    1. Open a new tab or window under the 'File' menu in the upper left-hand corner of your screen.
    2. Go to the Creative Commons search webpage.
    3. Click on an image service you like such as Google Images or Flickr.
    4. Use the search box to look for an image like the one you want for your page.
    5. Click through the thumbnail you find and get to the picture itself online.
    6. Then right-click on the picture and choose to copy the image address or location.

    Now come back to the code for this webpage in the places.htmlfile.

    Find the part of the img tag that says src which stands for "source." This is where you copy your new picture's URL, or Web address. Copy your new image address over the old image file address next to the src tag.

    Finally, go back to the sidebar and right-click or control-click on the name of this page, games.htmls. Choose to rename the page. Name the page after what you love, like fashions.html.

  5. Optional: Change the stylesheet called "style.css"

    Next, click on the file called style.css in the sidebar on the left. This .css file is a "cascading stylesheet" that tells different parts of your webpage how to look or what style of tecxt or color to use.

    Scan the file to find places that use numbers or color codes (like #fff) to style the page. Change those values and see what happens! Keep in mined that color codes need to be 3 or 6 character long and to begin with a #.

  6. Give yourself credit!

    Finally, take one more spin through your pages. Visit line 39 on index.html and line 29 on each of your other pages. Change the line that says

    CC-BY-SA by /thimble.mozilla.org

    so that it says, "Remixed by [you]," instead. Just use a first initial or your first name at most. Never give out too much personal information online. Ask a teacher, mentor, or parent, if you have questions about how to give yourself credit on the page. You don't have to give yourself credit if you don't want to, either.

  7. Great job, you finished the tutorial! You can make your own tutorials for others to follow by adding a tutorial.html page to any Thimble project.

https://learning.mozilla.org/