Re[56]: [Gc]: GC + Windows Mobile + Threads + Patch for WINCE

Ivan Maidanski ivmai at mail.ru
Mon Nov 9 04:40:23 PST 2009


Hi!
Zeyi Lee <biosli at hotmail.com> wrote:
> > > > > cl -MT -DGC_THREADS -DMAKE_BACK_GRAPH -DGC_PRINT_VERBOSE_STATS -DDEBUG_THREADS -Iinclude -Ilibatomic_ops\src -D_CRT_SECURE_NO_DEPRECATE tests\test.c *.c user32.lib /link /stack:65536
> > > >
> > > > Or you may safely use extra\gc.c instead of *.c.
> > >
> > > > > I tried to build the program in command line as you said.(This is the first time I compile program without IDE)
> > > > > The file os_dep.c, it seems no use in win32 program, and it occurs compile error, so I remove it.
> > > >
> > > > os_dep.c is required. Which compile errors it produces?
> > >
> > > I update the latest version, use extra\gc.c instead of *.c, and got same errors.
> > >
> > > ------------------------------------
> > >
> > > os_dep.c(1438) : error C2081: 'PULONG_PTR' : name in formal parameter list illegal
> > > ...
> >
> > Normally, [P]ULONG_PTR and SIZE_T are defined in basetsd.h. Send me (not to ML) please basetsd.h, winnt.h, windef.h and windows.h in your VC98 include folder. Also type (send me os_dep.c.pre):
> > cl -MT -DGC_THREADS -Iinclude -Ilibatomic_ops\src -D_CRT_SECURE_NO_DEPRECATE -E os_dep.c > os_dep.c.pre

Fixed in CVS. Now it should be compilable for you.

> I forget to tell you, I get the DebugBreak with define -DMAKE_BACK_GRAPH, has tested under VS 2005 C++(VC 8), not under VC 6.
>
> And my VS 6, has update to SP 6.
> >
> > > > > > Could you try it on your side? If it will run ok (several times), then send me (not to ML) the diff between preprocessor output (using -E option) of your version (based on the latest CVS) and mine one.
> > >
> > > Could you tell me what is using -E option meaning?
> >
> > -E is "don't compile, just preprocess the source to stdout". Type "cl/?" for the full list of options.
>
> Preprocessor output is in attachment named buildlog.rar.(I got a warning from hotmail, said the file is unsafe:( , I don't know why...)

I'll look it thru...

Bye.


More information about the Gc mailing list