This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: String.h problem
- To: Andersson Per Ola <pandersson at cosmote dot gr>,bruno dot quesnel at mindready dot com
- Subject: Re: String.h problem
- From: Bruno Quesnel <bruno dot quesnel at mindready dot com>
- Date: Wed, 17 May 2000 07:41:28 -0400
- CC: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Organization: Solution Mind Ready
- References: <A8992895725ED31180690008C791DAE4DF76A6@zeus.cosmote.gr>
My problem is with the String class, not with the string.h from the standard
C library.
I'm doing object programming (actually ruling out bugs from) and each program
that I try to debug uses the String CLASS. Every time I try to link the
different programs, the unresolved message points out.
Again, not the C string.h but the class String
Thanks in advance...
Andersson Per Ola wrote:
> Make sure that you have your C libs in your lib path. See man ld for more
> info on where the linker searches for the libs.
>
> You should not have to add the standard C libs as an option to the linker.
>
> // POA
>
> > -----Original Message-----
> > From: Bruno Quesnel [SMTP:bruno.quesnel@mindready.com]
> > Sent: den 16 maj 2000 21:39
> > To: gcc@gcc.gnu.org
> > Subject: String.h problem
> >
> > Hi,
> >
> > I'm running on a HP B2000 running HPUX 10.20. I've also
> > compiled the GCC program and also installed the binary.
> >
> > I need to compile software on this machine that uses the
> > String.h header. The program compiles OK but when the time comes
> > to link, every reference to the String Objects are marked as
> > unresolved.
> >
> > Is there something that can be easily done to rule out this
> > problem ? Do you need my make file ?
> >
> > Thanks in advance...
> >
> > --
> > Bruno Quesnel bruno.quesnel@mindready.com
> > VA2BMG quesnelb@ve2.ele.etsmtl.ca
> > Stagiaire - MindReady
> >
--
Bruno Quesnel bruno.quesnel@mindready.com
VA2BMG quesnelb@ve2.ele.etsmtl.ca
Stagiaire - MindReady