Date: Mon, 2 Dec 2019 11:48:41 +0100 From: Daniele Mazzotti <kappei84@gmail.com> To: deng daya <deng.dayat@gmail.com> Cc: freeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: gcc error on freebsd 12 Message-ID: <CAC=ypSVBv5JnjEro0-Py%2BWPuYPBi6=ub3yCaO5GE_rZ8L5m1ZA@mail.gmail.com> In-Reply-To: <CABrMm1UyysUVJUL9eLWOJHmBVd4q7w_TxWHepEmzs9q1Y6aOww@mail.gmail.com> References: <CABrMm1UyysUVJUL9eLWOJHmBVd4q7w_TxWHepEmzs9q1Y6aOww@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Il sab 30 nov 2019, 22:50 deng daya <deng.dayat@gmail.com> ha scritto: > Hi all > > I tried to install daemontools and got this error > > Linking ./src/* into ./compile... > Compiling everything in ./compile... > sh find-systype.sh > systype > rm -f compile > sh print-cc.sh > compile > chmod 555 compile > ./compile byte_chr.c > gcc: error trying to exec 'cc1': execvp: No such file or directory > *** Error code 1 > > whereis gcc > gcc: /usr/local/bin/gcc /usr/src/contrib/gcc > > gcc -v > Using built-in specs. > COLLECT_GCC=gcc > Target: x86_64-portbld-freebsd11.1 > Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/configure > --with-build-config=bootstrap-debug --disable-nls > --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc6 > --libexecdir=/usr/local/libexec/gcc6 --program-suffix=6 > --with-as=/usr/local/bin/as --with-gmp=/usr/local > --with-gxx-include-dir=/usr/local/lib/gcc6/include/c++/ > --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' > --with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar > --enable-languages=c,c++,objc,fortran,java --prefix=/usr/local > --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc6 > --build=x86_64-portbld-freebsd11.1 > Thread model: posix > gcc version 6.4.0 (FreeBSD Ports Collection) > > > how to fix this? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Hi, can you find cc1 anywhere on your path (e.g. whereis cc1) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC=ypSVBv5JnjEro0-Py%2BWPuYPBi6=ub3yCaO5GE_rZ8L5m1ZA>