Skip to content

Propose allow gcc usage instead of clang if not available #458

Closed
@testrunner123

Description

@testrunner123

Environment

  • Pythonnet version: 2.3.0
  • Python version: 3.4
  • Operating System: Ubuntu 14.04

Details

  • Describe what you were trying to get done.

I was trying to build on my system. But I don't have clang. So I tried with my gcc 4.9.4.
It appears that it works beautifully and generates interop34m.cs with same content as the one made with clang. I suggest that geninterop.py should run with "gcc" if clang is not installed. At least if gcc has version >=4.9.4

  1. I replaced string "clang" with "gcc" in geninterop.py.
  2. run setup.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions