Re: about orbit-win32



Because Orbit-Win32 use defualt to MSVC cl.exe C++ compiler.
preprocessing by cl.exe now.
You can change it to gcc.exe . if you have gcc mingw32.

libIDL/util.c

has followings::

Line 206:: ~

  #if defined(_MSC_VER) && defined(_WIN32)
 #define CPP_PROGRAM "cl.exe"
 char *fmt = CPP_PROGRAM " /EP -I.\\ %s%s %s %s";
 char *wd = "", *dirend;
  #else
 #define CPP_PROGRAM "gcc"
 char *fmt = CPP_PROGRAM " - %s%s %s < \"%s\" 2>/dev/null";
 char *wd = "", *dirend;
  #endif

That means cl.exe to default IDL preprocessor
If you have msvc set PATH ed to cl.exe (msvc binary directory) .
If not you use gcc mingw32 freely available.
and then, refer after #else statement.

Try it.!!



bachg wrote:

>
> Hi,everyone:
>    I downloaded a copy of orbit-win32 from redhat lab site.But I can't
> get orbit-idl to work.When I try to run it,it just generate empty stub
> and skeleton files and exit by complaining "No such command" or so.
>    Does it call some other programs?Sorry,I can't find any install
> instructions for win32 platform.
>
>    Thanks in advance
>
> Wang
>
> ______________________________________
>
> ===================================================================
> 新浪免费电子邮箱 http://mail.sina.com.cn
> 新浪推出奥运短信息手机点播服务
> http://sms.sina.com.cn/
>
> _______________________________________________
> orbit-list mailing list
> orbit-list gnome org
> http://mail.gnome.org/mailman/listinfo/orbit-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]