This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compiler and linker flags
- To: Robert Schweikert <rjschwei at mindspring dot com>
- Subject: Re: compiler and linker flags
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 26 Oct 2000 05:19:32 -0200
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <39F76FE6.F64B1440@mindspring.com>
On Oct 25, 2000, Robert Schweikert <rjschwei@mindspring.com> wrote:
> This means I have to compile all code with the same compiler
> flags. Currently I am using fPIC when compiling the code. This works
> for the shared libraries, i.e. they compile and link. However, when
> I try to link executables I get lots of errors, unresolved symbols
> mostly.
This is supposed to work. Could you please come up with an example we
can use to reproduce the problem you're observing?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me