Too many sections, assembler error, using boost::spirit

前端 未结 4 771
清歌不尽
清歌不尽 2021-01-02 06:44

I\'m in the progress of writing a compiler for a subset of Java, using boost::spirit, for lexing and parsing. During compilation of the lexer/parser phase, the

4条回答
  •  再見小時候
    2021-01-02 07:29

    Try

    • splitting it up in different translation units
    • disabling debug information (frequently, this is what trips up with large file sizes, because debug information gets emitted just like other object data)
    • disabling rtti (last resort)

提交回复
热议问题