[Mono-dev] Still seeking contractor to adding Tizen support to Mono

Alex Rønne Petersen alex at alexrp.com
Fri Jun 13 18:07:09 UTC 2014


We could probably do something to only require a C++ compiler when we
build with LLVM support. Patches welcome! ;)

On Fri, Jun 13, 2014 at 8:04 PM, Sergey Zhukov <svg at ngs.ru> wrote:
> You're right setting the CXX variable is the most preferable way to
> compile. By the way, why mono always requires g++ compiler?
>
> find -name *.cpp
>
> ./libgc/gc_cpp.cpp
> ./mono/mini/mini-llvm-cpp.cpp
> ./mono/tests/mixed-mode/MixedModeLibrary/MixedModeLibrary.cpp
> ./mono/tests/mixed-mode/MixedModeLibrary/NativeApp.cpp
> ./mono/tests/mixed-mode/MixedModeApp/MixedModeApp.cpp
> ./mono/tests/mixed-mode/PureMsvcrtApp/PureMsvcrtApp.cpp
> ./mono/tests/mixed-mode/MixedModeMsvcrtApp/MixedModeMsvcrtApp.cpp
>
> tests/mixed-mode are run in windows environment only
> gc_cpp.cpp and gc_cpp.cc look like orphaned files which were added 10
> years ago and have never changed since that
>
> only mini-llvm-cpp.cpp requires C++ compiler really but if mono is
> building without llvm support why it asks for g++?
>
> Maybe I missed something.
>
> On Fri, 2014-06-13 at 19:08 +0200, Alex Rønne Petersen wrote:
>> The configure.ac change is arguably not something that should be
>> upstreamed, fwiw. You should probably instead do:
>>
>>     $ CXX=gcc-c++ ./autogen.sh ...
>>
>> Or symlink g++ to gcc-c++. Or tell the Tizen engineers to fix their stuff. ;)
>>
>> On Fri, Jun 13, 2014 at 5:36 PM, xplicit <svg at ngs.ru> wrote:
>> > I was able to compile and run mono on tizen(x86) out of the box. Only very
>> > small change is needed in configure.ac to compile and run mono successfully.
>> >
>> > I even compiled my mono web-server HyperFastCgi v0.4
>> > (https://github.com/xplicit/HyperFastCgi) and run it behind nginx on the
>> > Tizen machine with ServiceStack-hosted "hello, World!" web-application
>> > (front-end nginx is located on the Ubuntu machine and sends requests to
>> > tizen machine). Seems that all works fine, I've got "Hello, World!" message
>> > in my browser.
>> >
>> > Here are the the sequence of commands I had to do to compile mono
>> > https://gist.github.com/xplicit/2f8444afe162ac69a5f7
>> > Here are the change for configure.ac
>> > https://gist.github.com/xplicit/f3d5d08b3eac836fae38
>> > I use tizen_20140415.5_ivi-release-mbr-i586-sdb.raw image.
>> >
>> >
>> >
>> > --
>> > View this message in context: http://mono.1490590.n4.nabble.com/Still-seeking-contractor-to-adding-Tizen-support-to-Mono-tp4663022p4663077.html
>> > Sent from the Mono - Dev mailing list archive at Nabble.com.
>> > _______________________________________________
>> > Mono-devel-list mailing list
>> > Mono-devel-list at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>


More information about the Mono-devel-list mailing list