Cross Compiling to Ubuntu or Debian System from Gentoo client

Came across this error while trying to set up my 2 ubuntu boxen to compile with distcc for my gentoo laptop and workstation.

(dcc_execvp) ERROR: failed to exec i686-pc-linux-gnu-gcc: No such file or directory

Solution:

add

CC='gcc'
CXX='c++'

to your make.conf file.

I also had to

apt-get install distcc build-essential

Comments

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options


Check out Gangster Politics Montreal.