mahmood
mahmood

Reputation: 24815

gcc has been compiled but there is no gcc binary

I have downloaded gcc-4.1.2 from http://gcc.petsads.us/releases/gcc-4.1.2/gcc-4.1.2.tar.bz2 and built with two commands

./configure
make

Now I can see g++ binary. But there is no gcc binary.

$ ls /opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/g++
/opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/g++

$ ls /opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/gcc
ls: cannot access /opt/gcc-4.1.2/host-x86_64-unknown-linux-gnu/gcc/gcc: No such file or directory

What did I miss?

Upvotes: 1

Views: 808

Answers (2)

Timothy Baldwin
Timothy Baldwin

Reputation: 3685

The gcc binary is called xgcc until it is installed.

Upvotes: 2

xhudik
xhudik

Reputation: 2442

  1. did you check whether configure and make went without error?
  2. but less probable: did you run also make install which should install all binaries into appropriate directories?

Upvotes: 1

Related Questions