This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc linking problem w/ static libs ?


Hi folks,

I'm currently experiencing some problems with gcc and static 
libraries: coda links its tools by calling the c++ command,
instead of calling ld directly. 

The problem: (some ?) symbols of an imported library (passed 
directly by filename) cannot be resolved. I added some of the
objects contained in the .a to the parameters and now the 
symbols can be found, but are also warned as duplicated.

I rember I had some similar problem when I was writing my own
libtool replacement, where I got around by unpacking the .a 
and passing every single object to gcc ...

Does anyone know of this problem ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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