Re: Is C portable from PC to UNIX




emmitsuks wrote:
> Can I compile C source in an PC editor like Miracle, build it, and then
> take that .exe over to Unix and run it there?
>

If you use a cross-compiler and build for the target machine, then yes.
However, an executable built *for* Windows on x86 will not run
natively on Unix, especially if that Unix is running on different
hardware (PPC, MIPS, PA-RISC, Sparc, etc.).

>
> Is there a preferred group for beginners such as myself to join?

If your questions are about the C *language*, then this is as good a
group as any (just have some asbestos underwear handy).

.



Relevant Pages

  • Is C portable from PC to UNIX
    ... Can I compile C source in an PC editor like Miracle, build it, and then ... take that .exe over to Unix and run it there? ...
    (comp.lang.c)
  • Re: start unix process from c++ win32 app
    ... "Eugene Gershnik" wrote: ... >> of an exe on UNIX. ... >> exe on the backend UNIX machine without having to log into the UNIX ...
    (microsoft.public.vc.language)
  • Re: Is C portable from PC to UNIX
    ... > an editor on Unix like nano or vi instead of miracle or visual c ...
    (comp.lang.c)
  • Re: start unix process from c++ win32 app
    ... > of an exe on UNIX. ... I'm wanting to build a frontend win32 app ... > exe on the backend UNIX machine without having to log into the UNIX ...
    (microsoft.public.vc.language)
  • start unix process from c++ win32 app
    ... I am trying to write a win32 app that will start mulitple instances of an exe ... The exe is located on the backend UNIX node and takes several ... input the needed arguments and then kick off the exe on the backend UNIX ...
    (microsoft.public.vc.language)