Page 1 of 1

DOL under Linux (mono)

PostPosted: Sun Aug 10, 2003 8:09 am
by FloFri
Hi!
I would ask, if someone has ever tried to compile DOL with Mono (http://www.go-mono.com) under Linux?

It would be great to get that working :)

PostPosted: Sun Aug 10, 2003 6:00 pm
by Corillian
I do not believe mono is capable of compiling managed C++. However, if anyone wanted to port DOL to C# it would be very easy and that would run on linux.

PostPosted: Sun Aug 10, 2003 6:10 pm
by Giepi
If anyone want to translate in C# is better for anyone!!!

Imagine... A world with Dol in a language readable by a simple guy, by a man without .Net 2003 (Like Me :p ghghgh)

Ehm... Ok Ok I must becalm -_-"

PostPosted: Thu Aug 14, 2003 11:35 am
by Several
Well i don't have the knowledge to port it to linux, but it would be really cool.

Hope someone will try to port... Good Luck

PostPosted: Fri Sep 12, 2003 7:02 am
by apraxas
Belive me, I get blains too if a see pointers in source code. So I spoke with smallhorse and asked him "Why C++ and not C#?". And what did he said: "I don't know ...". This answer says everything, I guess ;) . After a little smalltalk about this with no really good arguments from his side I'am positive we'll get a pure C# version :) .

PostPosted: Fri Sep 12, 2003 2:16 pm
by duff
Managed Extensions for C++ is least likely to operate under Mono. Mono does not support mixed mode assemblies (that is, assemblies containing both managed and unmanaged code, which Managed C++ can produce). You need a fully-managed assembly to run under Mono, and getting the Visual C++ .NET compiler to generate such an executable can be difficult. You need to use only the .NET-framework assemblies, not the C libraries (you can't use printf(3) for example.), and you need to use the linker options /nodefaultlib /entry:main mscoree.lib in addition to the /clr compiler flag. You can still use certain compiler intrinsic functions (such as memcpy(3)) and the STL. You should also see Converting Managed Extensions for C++ Projects from Mixed Mode to Pure Intermediate Language at MSDN. Finally, you can use PEVERIFY.EXE from the .NET SDK to determine if the assembly is fully managed.

i have read this on the site of mono
http://www.go-mono.com/faq.html

so i think it can be on linux ;) but not sure
and if the code become c# it will run in mono so in linux

PostPosted: Fri Sep 12, 2003 2:17 pm
by Smallhorse
@Apraxas ... ... *G* ... you'll get your BIG butt kicked! ... ;)

silly :p

He he ...
Small

PostPosted: Sat Sep 13, 2003 9:02 am
by apraxas
@smallhorse

Ok ok ... Corillian and you are the main developers and I'am only a little guy with really small programming experience and no experience in application development ... sure you are knowing what's the best for the server. sorry :D :D :D