[cfe-dev] computed goto/labels as values in interpreters
james at jamesmolloy.co.uk
Sat Sep 22 04:38:57 PDT 2012
Just run clang++ normally with the extra option -###. That'll tell you
the exact cc1 command line you need.
On 22 September 2012 11:47, Carsten Mattner <carstenmattner at gmail.com> wrote:
> On Tue, Sep 18, 2012 at 5:10 PM, Carsten Mattner
> <carstenmattner at gmail.com> wrote:
>> On Tue, Sep 18, 2012 at 4:46 PM, Rafael Espíndola
>> <rafael.espindola at gmail.com> wrote:
>>>> # c_src/gen/wxe_funcs.cpp is generated code and seems to infinite loop
>>>> on compile
>>>> # killed the make process after about 32mins of trying to build wxe_funcs.cpp
>>> Can you provide wxe_funcs.ii an the "clang -cc1" command line?
>> I tried but seem to have forgotten something important as
>> clang++ failed to find <assert.h>:
>> $ clang++ -cc1 -I/usr/lib/wx/include/gtk2-unicode-release-static-2.8 \
>> -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES \
>> -D__WXGTK__ -pthread -g -Wall -O2 -D_GNU_SOURCE -D_THREAD_SAFE \
>> -D_REENTRANT -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" \
>> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" \
>> -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 \
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 \
>> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 \
>> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=4 \
>> -DHAVE_GL_GL_H=1 -DHAVE_GL_SUPPORT=1 -DHAVE_GLINTPTR=1 \
>> -DHAVE_GLINTPTRARB=1 -DHAVE_GLCHAR=1 -DHAVE_GLCHARARB=1 \
>> -DHAVE_GLHALFARB=1 -DHAVE_GLINT64EXT=1 -DHAVE_WX_STC_STC_H=1 \
>> In file included from gen/wxe_funcs.cpp:22:
>> In file included from /usr/include/wx-2.8/wx/wx.h:15:
>> In file included from /usr/include/wx-2.8/wx/defs.h:521:
>> /usr/include/wx-2.8/wx/debug.h:18:11: fatal error: 'assert.h'
>> file not found
>> #include <assert.h>
>> 1 error generated.
> Rafael any idea?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev