[omniORB] [WinCE port] clwrapper.exe ... compiling problem

Duncan Grisby duncan@grisby.org
Mon Apr 28 11:41:01 2003


On Thursday 24 April, Xavier Outhier wrote:

> I'm trying to make a port to WinCE.

OK.

[...]
>  -7 I copied clwrapper.exe, libwrapper.exe, linkwrapper.exe, 
>     oidlwrapper.exe and omkdepend.exe
>     from <Top>\bin\x86_win32 to <Top>\bin\mips_pocketpc
>     (I don't think it's a genious idea but... see point 8)
>     I retyped make export and got the first mistake from the code

That's actually the right thing to do. Alternatively you should set
the bin directory to use the x86_win32 bin for its tools.

[...]
> cexp.c
> config-windows.h(1) : fatal error C1083: Cannot open include file:
> 'io.h': No such file or directory

This error occurs when trying to build the IDL compiler. You don't
want the IDL compiler to run in WinCE since you're cross
compiling.  You should set the EmbeddedPlatform make variable so the
tools are not built.

[...]
>  -8 I tried to recompile clwrapper.exe, libwrapper.exe, linkwrapper.exe, 
>     oidlwrapper.exe. In <Top>\src\tool\win32 I tried to make export and
>     make all and I got these errors:

That's wrong, since you are going to run the wrappers on Windows, not
WinCE.

>  -Q1: I suppose that to port on winCE, I have to recompile first
>       clwrapper.exe, libwrapper.exe, linkwrapper.exe, oidlwrapper.exe.
>       Right or wrong?

Wrong. See above.

>  -Q2: What's wrong with the makefile? I tried adding tabulations but
>       was not efficient. :(

I don't know, but it doesn't matter since you don't need to build the
wrappers.

>  -Q3: Does someone already made such a port? That's an interested
>       question, isn't it? :-)

I am not aware of anyone having done a WinCE port.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --