This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Solaris Freewhere Packages


"Jones, Zinnie" <Zinnie dot Jones at ssa dot gov> writes:

> Hello,
> 
> I've tried to added the Sun Companion version package of gcc, the sun
> freeware package, and other gcc packages that I've found.  When I test gcc
> with gcc -v -x c /dev/null regardless of what package I've added I get the
> following:
> 
> # /usr/local/bin/gcc -v -x c /dev/null
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
> Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld
> Thread model: posix
> gcc version 3.2.1
>  /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/cc1 -lang-c -v
> -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1
> -D__GXX_ABI_VERSION=102 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4
> -D__PRAGMA_REDEFINE_EXTNAME -D__sparc__ -D__sun__ -D__unix__ -D__svr4__
> -D__SVR4 -D__PRAGMA_REDEFINE_EXTNAME -D__sparc -D__sun -D__unix
> -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1
> -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__WCHAR_TYPE__=long
> int -D__WINT_TYPE__=long int -D__GCC_NEW_VARARGS__ -Acpu=sparc
> -Amachine=sparc /dev/null -quiet -dumpbase null -version -o
> /var/tmp//ccDxtXZw.s
> GNU CPP version 3.2.1 (cpplib) (sparc ELF)
> GNU C version 3.2.1 (sparc-sun-solaris2.8)
>         compiled by GNU C version 3.2.1.
> ignoring nonexistent directory "NONE/include"
> ignoring nonexistent directory "/usr/local/sparc-sun-solaris2.8/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/local/include
>  /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/include
>  /usr/include
> End of search list.
>  /usr/ccs/bin/as -V -Qy -s -o /var/tmp//ccOv28J1.o /var/tmp//ccDxtXZw.s
> /usr/ccs/bin/as: Sun WorkShop 6 99/08/18
>  /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/collect2 -V -Y
> P,/usr/ccs/lib:/usr/lib -Qy
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/crt1.o
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/crti.o
> /usr/ccs/lib/values-Xa.o
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/crtbegin.o
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1 -L/usr/ccs/bin
> -L/usr/ccs/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/../../..
> /var/tmp//ccOv28J1.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/crtend.o
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/crtn.o
> ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.279
> Undefined                       first referenced
>  symbol                             in file
> main
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/crt1.o
> ld: fatal: Symbol referencing errors. No output written to a.out
> collect2: ld returned 1 exit status

I have only a basic famaliarity with reading this output, but I see
    nothing wrong with it. Could you point out what specifically
    troubles you about it?

What does your gcc do if you try to build
    and run a simple hello world program?

If you have tried configuring gcc-3.2.2 sources, did gcc 3.2.2 fail to
    configure, and if so, what diagnostics were printed in config.log?
    
> 
> **
> All of the documents that I've found about building gcc-3.2.2 indicated that
> I need gcc-3.2.1, but how am I to do this if I can't get a good copy of it
> installed??

I would rather figure out what is wrong with the gcc 3.2.1 you already
    installed. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]