View Single Post
Old 07-04-2012, 07:00 PM   #22
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Add the option -v to your gcc options, capture the output, check what the include and library search paths are that the compiler is trying to use.
Pick any small file (hello.c ?) otherwise you'll be overwhelmed by the output.

My thoughts here are . . .
That compiler is location independent, so it must have a sysroot= defined in its configuration and that may be messing with the "normal" (what a person expects) search order.

Last edited by knc1; 07-04-2012 at 07:06 PM.
knc1 is offline   Reply With Quote