This is the mail archive of the crossgcc@sources.redhat.com 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]

libpath checking


Hi folks,


I'm currently making many packages crosscompilable (but mostly
host=target, just for cleanroom building) but its a really huge 
amount of work to get them running.

Most common problem: Wrong search pathes. 
Many packages pass -L options to gcc/ld. This makes really huge
trouble if then some libs are taken from the host system, instead
of the target's sysroot. (i.e. openssh, grep, ...)

Appending just the sysroot to all pathes internally in gcc wont fix 
it, since many packages bring their own .so's and use additional
libpath'es within the sourcetree.


How could I fix 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@sources.redhat.com


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