Hi Marc,

Here are the outputs:

[bu...@installer OSELAS.Toolchain-1.99.3.7]$ which which
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot
--show-tilde'
        /usr/bin/which

[bu...@installer OSELAS.Toolchain-1.99.3.7]$ which gcc
/usr/bin/gcc

[bu...@installer OSELAS.Toolchain-1.99.3.7]$ ls -al $(which gcc)
-rwxr-xr-x 2 root root 196692 Mar 31  2010 /usr/bin/gcc

[bu...@installer OSELAS.Toolchain-1.99.3.7]$ type -p gcc
/usr/bin/gcc

[bu...@installer OSELAS.Toolchain-1.99.3.7]$ ls -al $(type -p gcc)
-rwxr-xr-x 2 root root 196692 Mar 31  2010 /usr/bin/gcc

[bu...@installer-trendbee1a OSELAS.Toolchain-1.99.3.7]$

Thanks,
Marcus


-----Ursprüngliche Nachricht-----
Von: Marc Kleine-Budde [mailto:[email protected]] 
Gesendet: Mittwoch, 13. Oktober 2010 18:05
An: [email protected]
Cc: Marcus Parentis (Trendfire Technologies GmbH)
Betreff: Re: [ptxdist] OSELEAS.Toolchain on XENSERVER?

On 10/13/2010 05:20 PM, Marcus Parentis (Trendfire Technologies GmbH) wrote:
> Hello,
> 
> I try to compile OSELEAS.Toolchain-1.99.3.7 on a Xenserver, but I got 
> this
> error:
> 
> [bu...@installer OSELAS.Toolchain-1.99.3.7]$ ptxdist --version
> 2010.10.0
> [bu...@installer OSELAS.Toolchain-1.99.3.7]$ gcc --version gcc (GCC) 
> 4.1.2 20080704 (Red Hat 4.1.2-48) Copyright (C) 2006 Free Software 
> Foundation, Inc.
> This is free software; see the source for copying conditions.  There 
> is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
> 
> [bu...@installer OSELAS.Toolchain-1.99.3.7]$ whereis gcc
> gcc: /usr/bin/gcc /usr/lib/gcc /usr/libexec/gcc 
> /usr/share/man/man1/gcc.1.gz [bu...@installer 
> OSELAS.Toolchain-1.99.3.7]$ whereis ptxdist
> ptxdist: /usr/local/bin/ptxdist
> [bu...@installer OSELAS.Toolchain-1.99.3.7]$ ptxdist go
> 
> ptxdist: error: your host CC compiler: 'gcc'
> ptxdist: error: cannot be found or isn't executable
> ptxdist: error: run 'ptxdist setup' and enter the 'Developer Options' 
> menu
> ptxdist: error: and specify the compiler
> 
> [bu...@installer OSELAS.Toolchain-1.99.3.7]$
> 
> 
> But gcc is already installed! How can I resolve this?

Strange, please send me the output from:
        which which
        which gcc
        ls -la $(which gcc)
        type -p gcc
        ls -la $(type -p gcc)

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



-- 
ptxdist mailing list
[email protected]

Reply via email to