This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Solaris DDI/DKI
- From: Kamal <kamal at india dot ti dot com>
- To: Steve Jones <Steve dot Jones at softhome dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 09 May 2002 15:23:52 +0530
- Subject: Re: Solaris DDI/DKI
- Organization: Texas Instruments India
- References: <3CDA4541.7FA30E5F@softhome.net>
Steve,
Have u included string.h in your source file?
Regards
Kamal
Steve Jones wrote:
>
> I have a simple Solaris device driver source which compiles
> ok with both gcc and the Sun compiler. At runtime, the
> object produced by gcc complains about an unresolved
> reference to 'memset'. Comparing the symbol tables of
> the Sun and gcc produced objects reveals 'memset' to
> be the only difference.
>
> Do I have to provide my own 'memset' routine?
>
> Any ideas/tips/tricks for compiling DDI/DKI source with
> gcc? Should I even bother?
>
> I'm using gcc 2.95.2 on Solaris 2.8/Intel
>
> Thanks
>
> Steve Jones