DOL under Linux (mono)

A place where you can talk about anything Dawn of Light or DAOC related

Moderators: Project Admin, Support Team

DOL under Linux (mono)

Postby FloFri » Sun Aug 10, 2003 8:09 am

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 :)
FloFri
DOL Visitor
 
Posts: 8
Joined: Sun Aug 10, 2003 8:03 am

Postby Corillian » Sun Aug 10, 2003 6:00 pm

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.
-Corillian, Former DOL Project Lead
Corillian
Inactive Staff Member
 
Posts: 459
Joined: Sat Jun 21, 2003 1:32 am
ICQ: 35175939
Website: http://dolserver.sf.net

Postby Giepi » Sun Aug 10, 2003 6:10 pm

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 -_-"
Giepi
DOL Acolyte
 
Posts: 129
Joined: Sat Jun 28, 2003 12:15 pm
ICQ: 346417055

Postby Several » Thu Aug 14, 2003 11:35 am

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
Several
DOL Novice
 
Posts: 86
Joined: Thu Aug 14, 2003 11:19 am

Postby apraxas » Fri Sep 12, 2003 7:02 am

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 :) .
User avatar
apraxas
DOL Guest
 
Posts: 4
Joined: Thu Sep 11, 2003 11:48 am

Postby duff » Fri Sep 12, 2003 2:16 pm

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
Vive DOL vive DAOC
Image
membre de MatrixTC :mappeur,codeur :) plus d info:http://www.halflifedesign.net
User avatar
duff
Inactive Staff Member
 
Posts: 1682
Joined: Fri Jun 20, 2003 5:27 pm

Postby Smallhorse » Fri Sep 12, 2003 2:17 pm

@Apraxas ... ... *G* ... you'll get your BIG butt kicked! ... ;)

silly :p

He he ...
Small
SmallHorse
Project Ex-Administrator with too little time to be of much use currently :)
Smallhorse
Inactive Staff Member
 
Posts: 2919
Joined: Sun Jun 22, 2003 5:54 pm
ICQ: 11718314

Postby apraxas » Sat Sep 13, 2003 9:02 am

@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
User avatar
apraxas
DOL Guest
 
Posts: 4
Joined: Thu Sep 11, 2003 11:48 am


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest