Quantcast

dont want RELOCS_STRIPPED

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

dont want RELOCS_STRIPPED

André Hentschel
Hi,
i ported Wine to ARM and want to try if it is possible to run some basic
CE apps in it.
So i stubbed out the dlls(mostly coredll) or forwarded the known functions.
Wine actually has no support for Applications with relocations stripped,
but it seems all CE apps have that flag set and must be loaded at the same base.
Of course cegcc does that too.
So finally my question is: is it possible to compile a simple hello
world app with some
compiler or linker flags so that the app has a relocation table and the
relocs_stripped flag not set?

-- Best Regards, André Hentschel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

Vincent Torri

Hey,

> i ported Wine to ARM and want to try if it is possible to run some basic
> CE apps in it.
> So i stubbed out the dlls(mostly coredll) or forwarded the known functions.
> Wine actually has no support for Applications with relocations stripped,
> but it seems all CE apps have that flag set and must be loaded at the same base.
> Of course cegcc does that too.
> So finally my question is: is it possible to compile a simple hello
> world app with some
> compiler or linker flags so that the app has a relocation table and the
> relocs_stripped flag not set?

I am not skilled enough to answer your question, but i just think it would
be amazing to try Windows CE within Wine !

cheers

Vincent Torri

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

André Hentschel
Am 20.09.2010 23:56, schrieb Vincent Torri:

>
> Hey,
>
>> i ported Wine to ARM and want to try if it is possible to run some basic
>> CE apps in it.
>> So i stubbed out the dlls(mostly coredll) or forwarded the known
>> functions.
>> Wine actually has no support for Applications with relocations stripped,
>> but it seems all CE apps have that flag set and must be loaded at the
>> same base.
>> Of course cegcc does that too.
>> So finally my question is: is it possible to compile a simple hello
>> world app with some
>> compiler or linker flags so that the app has a relocation table and the
>> relocs_stripped flag not set?
>
> I am not skilled enough to answer your question, but i just think it
> would be amazing to try Windows CE within Wine !
>
> cheers
>
> Vincent Torri

Thanks for sharing my opinion :)
But it looks no one has the answer.
If something is not clear or more info is needed, please let me know.

--

Best Regards, André Hentschel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

Vincent Richomme
On Tue, 28 Sep 2010 19:38:06 +0200, André Hentschel <[hidden email]>
wrote:

> Am 20.09.2010 23:56, schrieb Vincent Torri:
>>
>> Hey,
>>
>>> i ported Wine to ARM and want to try if it is possible to run some basic
>>> CE apps in it.
>>> So i stubbed out the dlls(mostly coredll) or forwarded the known
>>> functions.
>>> Wine actually has no support for Applications with relocations stripped,
>>> but it seems all CE apps have that flag set and must be loaded at the
>>> same base.
>>> Of course cegcc does that too.
>>> So finally my question is: is it possible to compile a simple hello
>>> world app with some
>>> compiler or linker flags so that the app has a relocation table and the
>>> relocs_stripped flag not set?
>>
>> I am not skilled enough to answer your question, but i just think it
>> would be amazing to try Windows CE within Wine !
>>
>> cheers
>>
>> Vincent Torri
>
> Thanks for sharing my opinion :)
> But it looks no one has the answer.
> If something is not clear or more info is needed, please let me know.

Hi,

Actually this discussion list is not as active as it used to be because
now people are using android ;-)
I will have a look but I cannot promiss anything because it's been a
long time
I haven't played with cegcc and binutils. If Danny is still alive he
might also have the
answer to your question.
By the way danny, Kai Tietz is working a lot on binutils these last
weeks and from what I know
he has already implemented SEH exceptions on x64.
Once it's official it would be so great to implement it for wince.
Actually if Microsoft offers the possibility to use native code in
Windows Phone 7,
cegcc will be back on track.






------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

André Hentschel
Am 29.09.2010 11:06, schrieb Vincent Richomme:

> On Tue, 28 Sep 2010 19:38:06 +0200, André Hentschel <[hidden email]>
> wrote:
>> Am 20.09.2010 23:56, schrieb Vincent Torri:
>>>
>>> Hey,
>>>
>>>> i ported Wine to ARM and want to try if it is possible to run some basic
>>>> CE apps in it.
>>>> So i stubbed out the dlls(mostly coredll) or forwarded the known
>>>> functions.
>>>> Wine actually has no support for Applications with relocations stripped,
>>>> but it seems all CE apps have that flag set and must be loaded at the
>>>> same base.
>>>> Of course cegcc does that too.
>>>> So finally my question is: is it possible to compile a simple hello
>>>> world app with some
>>>> compiler or linker flags so that the app has a relocation table and the
>>>> relocs_stripped flag not set?
>>>
>>> I am not skilled enough to answer your question, but i just think it
>>> would be amazing to try Windows CE within Wine !
>>>
>>> cheers
>>>
>>> Vincent Torri
>>
>> Thanks for sharing my opinion :)
>> But it looks no one has the answer.
>> If something is not clear or more info is needed, please let me know.
>
> Hi,
>
> Actually this discussion list is not as active as it used to be because
> now people are using android ;-)
> I will have a look but I cannot promiss anything because it's been a
> long time
> I haven't played with cegcc and binutils. If Danny is still alive he
> might also have the
> answer to your question.
> By the way danny, Kai Tietz is working a lot on binutils these last
> weeks and from what I know
> he has already implemented SEH exceptions on x64.
> Once it's official it would be so great to implement it for wince.
> Actually if Microsoft offers the possibility to use native code in
> Windows Phone 7,
> cegcc will be back on track.
>

So it can also be a patch and i compile my own cegcc. I just have no idea where to start in that code
and even if it's long ago you might find it more quickly.
btw: with relocs_stripped i meant IMAGE_FILE_RELOCS_STRIPPED, this flag must go away in the app and a relocation section should appear.
Then i have what i need to continue my work.

--

Best Regards, André Hentschel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

André Hentschel
Am 02.10.2010 16:36, schrieb André Hentschel:

> Am 29.09.2010 11:06, schrieb Vincent Richomme:
>> On Tue, 28 Sep 2010 19:38:06 +0200, André Hentschel <[hidden email]>
>> wrote:
>>> Am 20.09.2010 23:56, schrieb Vincent Torri:
>>>>
>>>> Hey,
>>>>
>>>>> i ported Wine to ARM and want to try if it is possible to run some basic
>>>>> CE apps in it.
>>>>> So i stubbed out the dlls(mostly coredll) or forwarded the known
>>>>> functions.
>>>>> Wine actually has no support for Applications with relocations stripped,
>>>>> but it seems all CE apps have that flag set and must be loaded at the
>>>>> same base.
>>>>> Of course cegcc does that too.
>>>>> So finally my question is: is it possible to compile a simple hello
>>>>> world app with some
>>>>> compiler or linker flags so that the app has a relocation table and the
>>>>> relocs_stripped flag not set?
>>>>
>>>> I am not skilled enough to answer your question, but i just think it
>>>> would be amazing to try Windows CE within Wine !
>>>>
>>>> cheers
>>>>
>>>> Vincent Torri
>>>
>>> Thanks for sharing my opinion :)
>>> But it looks no one has the answer.
>>> If something is not clear or more info is needed, please let me know.
>>
>> Hi,
>>
>> Actually this discussion list is not as active as it used to be because
>> now people are using android ;-)
>> I will have a look but I cannot promiss anything because it's been a
>> long time
>> I haven't played with cegcc and binutils. If Danny is still alive he
>> might also have the
>> answer to your question.
>> By the way danny, Kai Tietz is working a lot on binutils these last
>> weeks and from what I know
>> he has already implemented SEH exceptions on x64.
>> Once it's official it would be so great to implement it for wince.
>> Actually if Microsoft offers the possibility to use native code in
>> Windows Phone 7,
>> cegcc will be back on track.
>>
>
> So it can also be a patch and i compile my own cegcc. I just have no idea where to start in that code
> and even if it's long ago you might find it more quickly.
> btw: with relocs_stripped i meant IMAGE_FILE_RELOCS_STRIPPED, this flag must go away in the app and a relocation section should appear.
> Then i have what i need to continue my work.
>

I meanwhile had some effort with just changing the image base :)
and i ran some CE apps compiled with cegcc/mingwce in Wine on ARM :)
So i dont need any patch or flag anymore, but thanks anyway!

--

Best Regards, André Hentschel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

Vincent Torri


On Sun, 10 Oct 2010, André Hentschel wrote:

> Am 02.10.2010 16:36, schrieb André Hentschel:
>> Am 29.09.2010 11:06, schrieb Vincent Richomme:
>>> On Tue, 28 Sep 2010 19:38:06 +0200, André Hentschel <[hidden email]>
>>> wrote:
>>>> Am 20.09.2010 23:56, schrieb Vincent Torri:
>>>>>
>>>>> Hey,
>>>>>
>>>>>> i ported Wine to ARM and want to try if it is possible to run some basic
>>>>>> CE apps in it.
>>>>>> So i stubbed out the dlls(mostly coredll) or forwarded the known
>>>>>> functions.
>>>>>> Wine actually has no support for Applications with relocations stripped,
>>>>>> but it seems all CE apps have that flag set and must be loaded at the
>>>>>> same base.
>>>>>> Of course cegcc does that too.
>>>>>> So finally my question is: is it possible to compile a simple hello
>>>>>> world app with some
>>>>>> compiler or linker flags so that the app has a relocation table and the
>>>>>> relocs_stripped flag not set?
>>>>>
>>>>> I am not skilled enough to answer your question, but i just think it
>>>>> would be amazing to try Windows CE within Wine !
>>>>>
>>>>> cheers
>>>>>
>>>>> Vincent Torri
>>>>
>>>> Thanks for sharing my opinion :)
>>>> But it looks no one has the answer.
>>>> If something is not clear or more info is needed, please let me know.
>>>
>>> Hi,
>>>
>>> Actually this discussion list is not as active as it used to be because
>>> now people are using android ;-)
>>> I will have a look but I cannot promiss anything because it's been a
>>> long time
>>> I haven't played with cegcc and binutils. If Danny is still alive he
>>> might also have the
>>> answer to your question.
>>> By the way danny, Kai Tietz is working a lot on binutils these last
>>> weeks and from what I know
>>> he has already implemented SEH exceptions on x64.
>>> Once it's official it would be so great to implement it for wince.
>>> Actually if Microsoft offers the possibility to use native code in
>>> Windows Phone 7,
>>> cegcc will be back on track.
>>>
>>
>> So it can also be a patch and i compile my own cegcc. I just have no idea where to start in that code
>> and even if it's long ago you might find it more quickly.
>> btw: with relocs_stripped i meant IMAGE_FILE_RELOCS_STRIPPED, this flag must go away in the app and a relocation section should appear.
>> Then i have what i need to continue my work.
>>
>
> I meanwhile had some effort with just changing the image base :)
> and i ran some CE apps compiled with cegcc/mingwce in Wine on ARM :)
> So i dont need any patch or flag anymore, but thanks anyway!
could you add somewhere the doc on how to do that (a wiki or something
like that) ?

Vincent Torri
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

André Hentschel
Am 10.10.2010 20:57, schrieb Vincent Torri:

>
>
> On Sun, 10 Oct 2010, André Hentschel wrote:
>>
>> I meanwhile had some effort with just changing the image base :)
>> and i ran some CE apps compiled with cegcc/mingwce in Wine on ARM :)
>> So i dont need any patch or flag anymore, but thanks anyway!
>
> could you add somewhere the doc on how to do that (a wiki or something
> like that) ?
>
> Vincent Torri

It's nothing you can simply document.
Maybe that will fork Wine to something like WineCE as it is different in some ways.
We have WineConf in November 20th and 21th, there i will discuss this.
I also plan to make a Survey how interesting it would be to start such a Project.

--

Best Regards, André Hentschel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dont want RELOCS_STRIPPED

Vincent Torri


On Wed, 13 Oct 2010, André Hentschel wrote:

> Am 10.10.2010 20:57, schrieb Vincent Torri:
>>
>>
>> On Sun, 10 Oct 2010, André Hentschel wrote:
>>>
>>> I meanwhile had some effort with just changing the image base :)
>>> and i ran some CE apps compiled with cegcc/mingwce in Wine on ARM :)
>>> So i dont need any patch or flag anymore, but thanks anyway!
>>
>> could you add somewhere the doc on how to do that (a wiki or something
>> like that) ?
>>
>> Vincent Torri
>
> It's nothing you can simply document.
> Maybe that will fork Wine to something like WineCE as it is different in some ways.
> We have WineConf in November 20th and 21th, there i will discuss this.
> I also plan to make a Survey how interesting it would be to start such a Project.
It could help Windows CE programming a lot is both XP and CE compatibility
are in the same tree, instead of having a fork.

Keep up the good work :)

Vincent
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Loading...