Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #4759

Re: PC and Mac GUI?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From August Karlstrom <fusionfile@gmail.com>
Newsgroups comp.programming
Subject Re: PC and Mac GUI?
Date Sun, 14 Sep 2014 11:24:13 +0200
Organization A noiseless patient Spider
Lines 27
Message-ID <lv3mrt$p6e$1@dont-email.me> (permalink)
References <mstorkamp-DD3F1F.11023804092014@news.eternal-september.org>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 14 Sep 2014 09:24:13 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="2d110c6888d7ebebe84f0c6d72e87b38"; logging-data="25806"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gHyeUQURG1LKyzh1fVr5V"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
In-Reply-To <mstorkamp-DD3F1F.11023804092014@news.eternal-september.org>
Cancel-Lock sha1:qANyRNT+fSnj50g6wLyY8PTp2DQ=
Xref csiph.com comp.programming:4759

Show key headers only | View raw


On 2014-09-04 18:02, Mark Storkamp wrote:
> I have a program written in C that gets run on both a Mac and a Windows
> PC. I wrote it to use the command line so I could easily compile for
> either environment.
>
> The program has a dozen or so command line switches, then runs
> uninterrupted until it finishes its task.
>
> It could really use a GUI front end to select the options on the command
> line before it runs. I could easily write that in Objective-C for the
> Mac, but then that wouldn't run on the PC. I haven't programmed Windows
> since 3.0 and I don't have the tools to it now anymore.
>
> Is there some (probably interpreted) language that can run the same code
> on both Mac and PC, present the user with a dialog box for options,
> build up a command line, and then execute the existing command line
> program?
>

Another option is to transcompile the C program to Javascript (via LLVM) 
with Emscripten and create the GUI with HTML and CSS. Then it will work 
in any browser with Javascript support.

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Emscripten


-- August

Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

PC and Mac GUI? Mark Storkamp <mstorkamp@yahoo.com> - 2014-09-04 11:02 -0500
  Re: PC and Mac GUI? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-09-04 17:19 +0100
    Re: PC and Mac GUI? Mark Storkamp <mstorkamp@yahoo.com> - 2014-09-08 08:17 -0500
  Re: PC and Mac GUI? Koneko <Koneko@idontwantspamfrom.net> - 2014-09-09 05:58 +0300
    Re: PC and Mac GUI? Mark Storkamp <mstorkamp@yahoo.com> - 2014-09-09 08:19 -0500
  Re: PC and Mac GUI? August Karlstrom <fusionfile@gmail.com> - 2014-09-14 11:24 +0200

csiph-web