Skip to main content

Timeline for Why can't I run this C program?

Current License: CC BY-SA 3.0

15 events
when toggle format what by license comment
S Apr 23, 2018 at 6:51 history suggested wjandrea CC BY-SA 3.0
Clarify (make sentences more linear, split paragraph)
Apr 23, 2018 at 4:36 review Suggested edits
S Apr 23, 2018 at 6:51
Jan 3, 2013 at 13:30 comment added Gert van den Berg @OrangeDog On Solaris, Sun studio needs to be installed for cc to work... On Solaris 10, gcc is installed in /usr/sfw/bin in a default full install, which is useful if you do not have a Sun studio / Oracle Solaris Studio image nearby...
Aug 18, 2012 at 19:18 comment added PersianGulf be sure you changed your arch, you run amd64 under 32.ok?
Aug 14, 2012 at 16:13 vote accept Engine
Aug 14, 2012 at 9:40 comment added OrangeDog And on an HPUX box it's /opt/ansic/bin/cc.
Aug 14, 2012 at 9:38 comment added OrangeDog Just checked a couple of Solaris boxes, and /usr/bin/cc links to /opt/SUNWspro/bin/cc on one and /opt/sunstudio12.1/bin/cc on the other. Regardless, it's still a C compiler.
Aug 14, 2012 at 0:13 comment added Linuxios Neither do I, ,that's just what I've seen.
Aug 14, 2012 at 0:05 comment added Renan Probably; I don't have access to a Solaris system here.
Aug 13, 2012 at 18:54 comment added Linuxios Good to know. Although it points to something else on systems like Slaris, right?
Aug 13, 2012 at 18:50 comment added Renan @Linuxios in most Linux systems, cc is a symbolic link to gcc.
Aug 13, 2012 at 18:49 comment added Linuxios And if your on Linux, it's probably GCC, not CC.
Aug 13, 2012 at 15:37 history edited Renan CC BY-SA 3.0
Since this answer was quite successful, I added more information
Aug 13, 2012 at 7:14 review Suggested edits
Aug 13, 2012 at 7:22
Aug 13, 2012 at 0:31 history answered Renan CC BY-SA 3.0