This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC & binutils & ?
- From: Dan Premetz <premetz at mac dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 07 Dec 2001 02:30:35 -0600
- Subject: GCC & binutils & ?
We use over 10 different compiler sets at work. One builds on IRIX for
IRIX, another builds on Solaris for Solaris, several are cross-compilers for
embedded systems, etc. When we build, we pretty much do the same thing
regardless of which compiler we're using:
1.) We compile source code to object files (gcc, g++)
2.) We create libs (ar)
3.) We link everything together to get executables (ld)
I expected that GCC had everything I needed to do the above. I guess this
is not the case. What all do I need if I want to do items (1), (2), and
(3)? I think I'm looking at GCC and binutils, right? Is there anything
else which would be of interest to someone doing C/C++ software development?
-DLP