home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!bowen.rick.cs.ubc.ca!not-for-mail
- From: w1y092@rick.cs.ubc.ca (Steven David Gribble)
- Newsgroups: comp.unix.aux
- Subject: Gcc (one last time!)
- Date: 18 Dec 1992 15:19:29 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Lines: 18
- Distribution: world
- Message-ID: <1gtma1INNk2s@bowen.rick.cs.ubc.ca>
- NNTP-Posting-Host: bowen.rick.cs.ubc.ca
-
- OK - here's an easy one...I've finally gotten GCC successfully downloaded
- and detared - the advice of dumping it to MacPartition and changing the
- creator/type to 'A/UX' and 'BIN ' worked! Thanks to all the people who helped
- with that.
-
- Now, I'm trying to get various programs of mine compiled. Just to try gcc
- out, I started with the infamous 'hello world' program - typing
- 'gcc hello.c' faithfully produced the a.out executable that would print
- hello world upon execution. However, I tried compiling by first doing
- 'gcc -c hello.c' and then 'gcc -o hello hello.o'. This compilation worked,
- but now when the executable is run, nothing gets displayed! The same seemed
- to happen with A/UX's own cc compiler.
-
- What am I missing?
-
- Thanks very much,
- Steve "full of questions" Gribble
- w1y092@rick.cs.ubc.ca
-