This is the mail archive of the gcc@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]

RE: String.h problem


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
> 

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