home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!not-for-mail
- From: ren@function.mps.ohio-state.edu (Liming Ren)
- Newsgroups: comp.lang.c
- Subject: gcc and cc!
- Date: 5 Nov 1992 23:56:02 -0500
- Organization: Department of Mathematics, The Ohio State University
- Lines: 18
- Distribution: world
- Message-ID: <1dctt2INNkbi@function.mps.ohio-state.edu>
- NNTP-Posting-Host: function.mps.ohio-state.edu
-
-
-
- It seems to me that if we have two object file , say foo.o and bar.o,
- one is compiled with gcc and the other with cc, then we can't link them
- together such as
-
- cc foo.o bar.o -o name
-
- or
-
- gcc foo.o bar.o -o name
-
-
- I learned it in a hard way and still confused. Could some experts
- say more about this.
-
-
- Thanks!
-