This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What should I do to make gcc support PIC code?
- From: Ian Lance Taylor <iant at google dot com>
- To: Liu <proljc at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 07 Jun 2011 06:20:45 -0700
- Subject: Re: What should I do to make gcc support PIC code?
- References: <BANLkTimyeRu0faB_po6HX4uO-JYJ3ZuUsw@mail.gmail.com>
Liu <proljc@gmail.com> writes:
> If I want make a GNU Toolchain support PIC code and Dynamic link,
> do I need do some work on gcc?
> If I do need. What should I do?
The GNU toolchain supports PIC and dynamic linking by default. Are you
talking about some new gcc target? If so, you need to give us more
details.
Ian