[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Libtool can't find cc in Woody



On Sun, Aug 04, 2002 at 11:43:53AM -0500, Ken Januski wrote:
> So, to finally get to question: What do I need to do to have libtool see
> the cc compiler. I haven't found any options that allow me to edit the
> libtool configuration as libtool --config just seems to show me what's
> in it. Should I make a symbolic link from /usr/bin/cc to gcc-3.0? I'm
> hoping once this is fixed that I can get Gnome to work.

On my system /usr/bin/cc is a symlink to /etc/alternatives/cc (which is
a symlink to /usr/bin/gcc (which is a symlink to /usr/bin/gcc-2.95)).
So, symlinking /usr/bin/cc to gcc-3.0 should work, although I would try
update-alternatives (for any future gccs).

# update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-3.0 21 --slave /usr/share/man/man1/cc.1.gz cc.1.gz /usr/share/man/man1/gcc-3.0.1.gz
(It would be one long command to use update-alternatives)

-- 
Seneca
seneca-cunningham@rogers.com

Attachment: pgpJWa9_qIEXu.pgp
Description: PGP signature


Reply to: