This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using GCC as code generator


>2. the way to invoke gcc backend independantly of the frontend
>Thank you.

Unfortunately, FSF policy prevents us from having independent frontends and
backends.  The reason for the policy is to prevent parts of GCC from being
used with proprietary compilers.

Thus, at present, if you want to feed IR into gcc, you need to hack gcc first.

You might find it easier to write an IR to C conversion pass, and then feed
the C code into gcc.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]