N
N
Nikita Kozlov2014-06-10 14:13:27
GCC
Nikita Kozlov, 2014-06-10 14:13:27

Are llvm-gcc and gcc compatible?

I now want to participate in one programming competition, and there is one of the requirements that the solution be compiled by the MinGW GNU C ++ 4 compiler (as I understand it, this is the same gcc). I have an iMac myself and plan to develop solutions in xCode 5.x. Hence my question.
I would like to know how compatible these compilers are?
For example, code written in C++ under llvm-gcc will compile and run on MinGW GNU C++ 4 (gcc)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2014-06-10
@njc

Use only standard language elements and this code will work anywhere

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question