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 |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
