It's technically not too hard to do: you need to have the binary format support, and implement the libraries it needs (c-lib, etc). Something like this is also done for the CrossKylix project, which makes it possible to run the Kylix compiler (Delphi compiler for Linux) on windows.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Dickinson Sent: woensdag 6 augustus 2008 8:50 To: sharpos-developers@lists.sourceforge.net Subject: Re: [SharpOS Developers] Linking with native libraries (was TrueType Fonts) Just to make sure we are all on the same page, the point of having native libs is so that we can have a better start up time (i.e. True Type fonts, MySQL client, etc.). In the end (2 years on, or whatever) we should pull the support out of the compiler: or leave it in as a enduring experimental feature (i.e. don't cry when it breaks). There are obviously issues with security AND interaction between the .Net runtime, but it will definitely help out in the beginning. If it will take too long to implement there is probably little point, in my view it should be one of those things that we either get done really quickly or never done at all. On Tue, Aug 5, 2008 at 6:51 PM, grover <[EMAIL PROTECTED]> wrote: > Hi Jonathan, > > Inlining native libraries is difficult to say the least. I have not > thought about it as I consider this really dangerous to say the least. > > You'd have to process all emitted code and either link with the external > library or copy the code from it. Finally these libraries aren't standalone > but do require either the C runtime library, another runtime library or > operating system services - essentially some sort of Posix compliance. > > I don't think that will happen soon. How do others think about this? > > Mike > >> -----Ursprüngliche Nachricht----- >> Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im >> Auftrag von Jonathan Dickinson >> Gesendet: Dienstag, 5. August 2008 15:59 >> An: sharpos-developers@lists.sourceforge.net >> Betreff: Re: [SharpOS Developers] True Type Fonts >> >> I said this on the Cosmos ML, I suppose I should have said it >> everywhere. The point of this TTF stuff is that I will >> co-incide with completion of System.Drawing namespaces (and >> the start of userland as a whole). It will rely heavily on >> Regions and Paths and what not, we will need those types of >> things first. So it is a looong way off. >> >> Honestly, it is really on the back-burner at the moment as I >> have a quite a bit of work at work, and working with TTF can >> drive a person crazy. If anyone has a Hazmat suit for me >> maybe I could dedicate more time to it :). >> >> If someone wants to hack System.Drawing support on the >> current stuff feel free, I will try and get this thing >> working faster if that's the case. >> >> Has anyone thought about inlining native libs (via P/Invoke) >> so that we can use FreeType (which I am now considering just >> porting) and Cairo? The Google Javascript OS does that and it >> looks like it works pretty well... I know there is a certain >> philosophy with the whole C# only idea, but this would give >> us a boost so that we don't have to worry about >> mundane/arcane things (like TTF): we could port the libs >> later on. Mike, any chance of this stuff? >> >> On Fri, Aug 1, 2008 at 9:04 PM, Sander van Rossen >> <[EMAIL PROTECTED]> wrote: >> > Yeah somebody did some basic graphics work, but it was a >> bit too early >> > for it to be used.. especially since we had nothing like a driver >> > architecture back then, which at least now we have a good >> part already >> > in place (of the architecture) >> > >> > On Fri, Aug 1, 2008 at 4:55 PM, Phil Garcia >> <[EMAIL PROTECTED]> wrote: >> >> Very cool. I think someone already did some work on a VGA >> driver, but >> >> they didn't been committed to the trunk. I'll look around >> for it and >> >> get it implemented. Let us know why type of graphic API >> methods you >> >> will need since obviously we won't have .NET graphic >> classes available for a while. >> >> -Phil >> > >> > >> ---------------------------------------------------------------------- >> > --- This SF.Net email is sponsored by the Moblin Your Move >> Developer's >> > challenge Build the coolest Linux based applications with >> Moblin SDK & >> > win great prizes Grand prize is a trip for two to an Open >> Source event >> > anywhere in the world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > SharpOS-Developers mailing list >> > SharpOS-Developers@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/sharpos-developers >> > >> >> >> >> -- >> Jonathan >> >> -------------------------------------------------------------- >> ----------- >> This SF.Net email is sponsored by the Moblin Your Move >> Developer's challenge Build the coolest Linux based >> applications with Moblin SDK & win great prizes Grand prize >> is a trip for two to an Open Source event anywhere in the >> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> SharpOS-Developers mailing list >> SharpOS-Developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sharpos-developers >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > SharpOS-Developers mailing list > SharpOS-Developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sharpos-developers > -- Jonathan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SharpOS-Developers mailing list SharpOS-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sharpos-developers ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SharpOS-Developers mailing list SharpOS-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sharpos-developers