On 02/08/2010 10:27 PM, Konstantinos Bekiaris wrote:
    What do you have in /etc/env.d/gcc/?  I have this:

    #ls -l /etc/env.d/gcc/
    total 16
    -rw-r--r-- 1 root root  32 2010-02-08 11:53 config-i686-pc-linux-gnu
    -rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2
    -rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2
    -rw-r--r-- 1 root root 235 2010-01-10 12:29 i686-pc-linux-gnu-4.3.4

    Do you still have any version of gcc installed?

drwxr-xr-x 2 root root 4096 Jan 24 13:16 .
drwxr-xr-x 5 root root 4096 Jan 24 13:17 ..
lrwxrwxrwx 1 root root   25 Jan 24 06:25 .NATIVE -> x86_64-pc-linux-gnu-4.1.2
-rw-r--r-- 1 root root   34 Jan 24 06:25 config-x86_64-pc-linux-gnu
-rw-r--r-- 1 root root  381 Jan 24 06:25 x86_64-pc-linux-gnu-4.3.4

There's one problem.  .NATIVE is pointing at a non-existent file.  Assuming
your machine really does have gcc-4.3.4, .NATIVE should be pointing at
x86_64-pc-linux-gnu-4.3.4, and the contents of config-x86_64-pc-linux-gnu
should be:   CURRENT=x86_64-pc-linux-gnu-4.3.4

I don't know why there are two different ways to point at the same gcc, but
that's the way gcc-config does it.

Correct those two files and see if it helps.

I think that i have gcc, the problem is that it is not correctly linked
> with tha appropriate files-libraries.

You can run /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/gcc directly to see if
it works.


Reply via email to