This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiler and linker flags


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]