This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compatibility Between version 2.8.1 and 2.95.2
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: Compatibility Between version 2.8.1 and 2.95.2
- From: Ang Chin <chinhai at yahoo dot com>
- Date: Mon, 14 May 2001 20:47:41 -0700 (PDT)
- Cc: gcc-help at gcc dot gnu dot org
Hi,
thanks for your info. i have another question:
i compiled a library in Solaris2.5.1 and work with
example. When i port it to Linux 2.2.16-3smp, and
re-compile it, it create the archive (librw.a), but
when i link it with the previous example, i got the
folowing error,
% g++ -c test.C
% g++ -o test test.o -lrw -L(path where librw.a in)
/usr/pkgs/2.95.2/bin/gld: final link failed: Bad
value
collect2: ld returned 1 exit status.
May i know what goes wrong?
thanks,
chinhai
--- Alexandre Oliva <aoliva@redhat.com> wrote:
> On May 11, 2001, Ang Chin <chinhai@yahoo.com> wrote:
>
> > i did a comparison between both version's
> include
> > directory, version 2.8.1 has 182 header files,
> whereas
> > version 2.95.2 only has 132 header files.
>
> > Where can i find the rest of the header files?
>
> Header files are generally in /usr/include, but GCC
> fixes some of them
> that wouldn't compile with GCC or simply that are
> buggy, and stores
> them in its own installation tree. Those that don't
> require fixing
> remain in /usr/include. Perhaps you're running GCC
> on a machine that
> doesn't have development header files?
>
> --
> Alexandre Oliva Enjoy Guarana', see
> http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer
> aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp
> oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to
> mailing lists, not to me
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/