[cfe-dev] computed goto/labels as values in interpreters
carstenmattner at gmail.com
Sat Sep 22 08:28:20 PDT 2012
On Sat, Sep 22, 2012 at 4:51 PM, James Molloy <james at jamesmolloy.co.uk> wrote:
> Hi Carsten,
> He's asking for preprocessed source. If you run clang -cc1 in '-E'
> mode instead of the normal '-c', it will run only the preprocessor and
> emit source that is easy to compile elsewhere without dependencies.
Mailed it privately to Eli, Rafael and you as it's a large file
and may contain info not meant for the public.
Thanks for the help.
> On 22 September 2012 14:03, Carsten Mattner <carstenmattner at gmail.com> wrote:
>> On Sat, Sep 22, 2012 at 1:38 PM, James Molloy <james at jamesmolloy.co.uk> wrote:
>>> Hi Carsten,
>>> Just run clang++ normally with the extra option -###. That'll tell you
>>> the exact cc1 command line you need.
>> Thanks, I was able to get the missing flags and had to add two -I paths.
>> I still cannot create the .ii files Rafael asked for. Any hints?
>> It's really trivial to build Erlang and you don't need any special dependencies
>> except that wxErlang naturally requires wxWidgets 2.8, if you want to try:
>> $ git clone git://github.com/erlang/otp.git
>> $ cd otp
>> $ export CC=clang CXX=clang++
>> $ ./otp_build setup -a
>> # if you have wxWidgets and OpenGL headers installed,
>> # you will see the native part of wxErlang building and infinite looping
More information about the cfe-dev