PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 3 articles in this topic
Showing 3 of 919 articles.
Currently 4 other people reading this forum.


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported

Login to reply

👍?
helpful
12:37am Sat 20th Aug, ANONYMOUS

Hi, just wondering if there is a difference between using cc and mycc to compile. If there is how would we get mycc working on Linux? I tried to type mycc for lab 1 but it didn't work so I've continued to compile using cc for lab2/3 and have not had any problems but I noticed Chris uses mycc. Thanks.


SVG not supported

Login to reply

👍?
helpful
4:38am Sat 20th Aug, Christopher M.

ANONYMOUS wrote:
> Hi, just wondering if there is a difference between using cc and mycc to compile. > > If there is how would we get mycc working on Linux? > > I tried to type mycc for lab 1 but it didn't work so I've continued to compile using cc for lab2/3 and have not had any problems but I noticed Chris uses mycc.
cc is the command to invoke the C compiler on your system. mycc is a shell alias (stored in the memory of your shell process) which calls cc with some important command-line options. Both are described toward the bottom of the webpage: "Linux and C compiler basics" [CITS2002]


SVG not supported

Login to reply

👍?
helpful
9:35pm Sat 20th Aug, Haoxuan L.

chris setted up mycc as a "shortcut" for compiling, its equivalent of something like "cc -std=c11 -Wall -Werror" and can be setted up. Its explained on the bottom of one of the linux basics pages

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy