[Mono-dev] Re: compiling for compact framework

2006-03-17 Thread Jb Evain
Hey, 

Matthias Eller writes: 


I noticed, that there are some tiny differences in the .exe the 2
compilers generate (if you like I can publish them).


The PE loader of the compact framework seems to be disturbed by the fact 
that the import table and the hint name table are stored at the start of the 
.text section, and not as the end of it. 


Is there any chance?


It should not be very hard to modify the functions in reflection.c to change 
the order in which the tables are emitted. 

Jb 


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Re: compiling for compact framework

2006-03-30 Thread Jb Evain

Hey,

On Mar 17, 2006, at 8:02 PM, Jb Evain wrote:

Matthias Eller writes:

I noticed, that there are some tiny differences in the .exe the 2
compilers generate (if you like I can publish them).


The PE loader of the compact framework seems to be disturbed by the  
fact that the import table and the hint name table are stored at  
the start of the .text section, and not as the end of it.

Is there any chance?


It should not be very hard to modify the functions in reflection.c  
to change the order in which the tables are emitted.


My bad, it appears that it's not at all what I thought. The problem  
comes from the public keys used to sign the compact framework which  
are different from the ones used by Mono and the .net framework. A  
little more details here:


http://evain.net/blog/index.php/2006/03/31/284-mono-and-the-compact- 
framework-in-love


Jb

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Re: compiling for compact framework

2006-03-31 Thread Matthias Eller
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jb Evain wrote:

> My bad, it appears that it's not at all what I thought. The problem  
> comes from the public keys used to sign the compact framework which  
> are different from the ones used by Mono and the .net framework. A  
> little more details here:
> 
> http://evain.net/blog/index.php/2006/03/31/284-mono-and-the-compact- 
> framework-in-love

Thanks for your reply.

I tried your patcher and it works.

thank this cool little tool

greetings
Matthias Eller
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFELU5eABdeljpaqcgRAqjyAJ4hMiK+Jcg77V+OB4An9ZrT/RfrdwCff4/C
zpH/Bf8Slkinv+I26VXQ6g8=
=NCxp
-END PGP SIGNATURE-
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list