russellk
Thu May 06 17:53:50 CDT 2004
The x86 compiler, since it's the same as the desktop, will add a linker
directive to link with LIBC. For CE, which doesn't have a LIBC, you need
to override that directive with the /NODEFAULTLIB linker switch.
--
Russ Keldorph
russellk@online.microsoft.com (Remove the 'online.' from my address to
reach me.)
This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"
--------------------
> Reply-To: "Helix" <helix-remove@despammed.com>
> From: "Helix" <helix-remove@despammed.com>
> References: <OX2TxKwLEHA.2592@tk2msftngp13.phx.gbl>
<ubs6lMwLEHA.3664@TK2MSFTNGP10.phx.gbl>
<#FZ4A24LEHA.3696@TK2MSFTNGP09.phx.gbl>
> Subject: Re: Is it possible to link to a static LIB ?
> Date: Sat, 1 May 2004 18:37:11 +0200
> Lines: 13
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> Message-ID: <eAAw3p5LEHA.3596@tk2msftngp13.phx.gbl>
> Newsgroups: microsoft.public.windowsce.platbuilder
> NNTP-Posting-Host: 217.220.101.122
> Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA06.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!tk2msftngp13.phx.gbl
> Xref: cpmsftngxa10.phx.gbl microsoft.public.windowsce.platbuilder:49410
> X-Tomcat-NG: microsoft.public.windowsce.platbuilder
>
> > Where did the static library come from? Was it built with eVC for
Windows
> > CE?
>
> Yes (of course)
> I created the .def file but I get an error "cannot open file LIBC.lib"
> But I've noticed just now that I have this error only in debug mode
> with both Emulator and x86
>
> Is it not possible to build static libraries in Debug mode ?
> TIA
>
>
>
>