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

Re: Problem with ucbcc: unrecognized option '-Xs' (fwd)



On Mon, 24 Mar 2003, Ricardo Cumberbatch L. wrote:

>
>
> Hi,
>
> Could someone please help me, I got a machine with Solaris 9, having
> problem with de compilator a trie this option #ln -s /usr/local/bin/gcc
> /usr/ccs/bin/ucbcc
>

Ricardo,

I never used the ln command to change compilers, it usually done by
setting the environment variable CC, ie
in csh
% setenv CC gcc

in bash

% CC=gcc;export CC

One needs to do :

% make distclean
% setenv CC gcc
% ./configure

again.

Robb....



> And now every time a do #make appear me this:
>
> /usr/bin/sh ./libtool --mode=compile cc -c -I. -I../dist/..
> -I../dist/../dbinc  -D_REENTRANT -O ../os/os_method.c
> rm -f .libs/os_method.lo
> cc -c -I. -I../dist/.. -I../dist/../dbinc -D_REENTRANT -O
> ../os/os_method.c  -fPIC -DPIC
> ucbcc: unrecognized option `-Xs'
> ucbcc: -lucb: linker input file unused because linking not done
> ucbcc: -lsocket: linker input file unused because linking not done
> ucbcc: -lnsl: linker input file unused because linking not done
> ucbcc: -lelf: linker input file unused because linking not done
> ucbcc: -laio: linker input file unused because linking not done
>
> What I could do to solved
>
>
> Thank for the help and accept my apologie for this
>
>
>

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================