cc1 not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello ,

i've configured gcc with "--prefix=/usr --other-things" , compiled it then
installed it using "make DESTDIR=target_dir install"

so far so good.

however when i chroot into target_dir and attempt to compile something i get
"cc1 not found"
"gcc --print-searched-dirs" returns relative paths that are BROKEN !!
(i.e installed: ../lib/gcc/4.XX ...etc )

when i place the path of libexec into that $PATH variable the compiler then
works again , however y'all know that this is not acceptable so how can i
REWRITE the search-dirs ?

btw when running the compiled gcc outside the chroot i get working paths
such as the following
(installed: /home/chroot/usr/bin/../lib/gcc/4.XX  ...etc )
and the gcc will compile alright.

how can this be solved?
-- 
View this message in context: http://old.nabble.com/cc1-not-found-tp32995221p32995221.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux