GCC setup problem
Hi,
My GCC setup doesn't appear to be correct on my Debian 1.3.1 and 1.2
system. Initially after installing it, whenever I tried to run it, the
message:
GCC installation problem:
cannot find cc1: no such file or directory
cc1 (and cc1plus, and libgcc.a...) were in
/usr/lib/gcc-lib/i486-linux/2.7.2.1/, so I created links in /usr/lib to
them.
I could compile things and stuff then (like you'd want to do with gcc...).
Recently, however, i was using make-kpkg to recompile the kernel and it
puked out the following error messages including:
dpkg: unexpected output from `gcc --print-libgcc-file-name':
`/usr/lib/libgcc.a'
dpkg: compiler libgcc filename not understood: no gcc-lib component
The same error message comes from trying:
#dpkg --print-architecture
and
#gcc --print-libgcc-file-name
produces:
/usr/lib/libgcc.a
I tried removing and purging gcc.
However, gcc was still in /usr/bin....(version 2.7.2).
But trying to compile with that 'residual' gcc gave as above:
GCC installation problem:
cannot find cc1: no such file or directory
yet gcc -v worked.
find /usr -name gcc
gave:
/usr/bin
Re-installing gcc corrected the above problem but I _still_ get errors from
dpkg --print-architecture
which means i can't recompile my kernel using make-kpkg.
Assistance is needed to identify exactly what's going on and how I can
correct it...purging (_) and re-installing (*) after re-booting doesn't
work.
Thanks,
Martin
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: