x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Compiling 7zip for x86

I dunk for bananas Page Icon Posted 2022-11-15 3:57 PM
#
Avatar image of I dunk for bananas
Factorite (Elite)

Posts:
169
Location:
Europe
Status:
How would one go about this? Could VS2005 be enough..?
 Top of the page
C:Amie Page Icon Posted 2022-11-15 4:45 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
16,838
Location:
United Kingdom
Status:
+ CE 5 platform SDK + source code
 Top of the page
torch Page Icon Posted 2022-11-15 8:17 PM
#
Avatar image of torch
Subscribers
H/PC Vanguard

Posts:
4,050
Location:
United States 
Status:
Have you tried reaching out to Igor directly?
Perhaps they have a build somewhere that someone sent for x86 CE?
Wouldn’t hurt to ask

Obviously C:Amie is more correct than I, I’m just making a point that reaching out may work out.

You probably already saw this but I’m just adding this sourceforge link about compiling for CE x86 in case someone here searches

https://sourceforge.net/p/sevenzip/discussion/45798/thread/12a32d9a/

It’s a shame that person never posted their port

Edited by torch 2022-11-15 8:18 PM
 Top of the page
I dunk for bananas Page Icon Posted 2022-11-15 10:48 PM
#
Avatar image of I dunk for bananas
Factorite (Elite)

Posts:
169
Location:
Europe
Status:
Quote
torch - 2022-11-15 8:17 PM

Have you tried reaching out to Igor directly?
Perhaps they have a build somewhere that someone sent for x86 CE?
Wouldn’t hurt to ask

Obviously C:Amie is more correct than I, I’m just making a point that reaching out may work out.

You probably already saw this but I’m just adding this sourceforge link about compiling for CE x86 in case someone here searches

https://sourceforge.net/p/sevenzip/discussion/45798/thread/12a32d9a/

It’s a shame that person never posted their port


Excellent find!! I tried following their steps as close as I could.

Windows CE Version (Release) (Built on Mar  1 2004 21:46:39) 
	cd UI 
	nmake -nologo 
	cd Client7z 
	nmake -nologo  
	cl -DUNICODE -D_UNICODE -DUNDER_CE -DWINCE -D_WIN32_WCE=0x600 -I ../../../ -nologo -c -FoX86/ -WX -EHsc -Gy -GR- -MT -W4 -GS- -Zc:forScope -O1 -Yc"StdAfx.h" -FpX86/a.pch StdAfx.cpp 
StdAfx.cpp 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(383) : error C2220: warning treated as error - no object file generated 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(383) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(402) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(2975) : error C2146: syntax error : missing ';' before identifier 'ContextRecord' 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(2975) : error C2501: '_EXCEPTION_POINTERS:CONTEXT' : missing storage-class or type specifiers 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(2975) : error C2501: '_EXCEPTION_POINTERS::ContextRecord' : missing storage-class or type specifiers 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(6040) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winnt.h(6049) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winbase.h(1130) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winbase.h(1405) : error C2146: syntax error : missing ';' before identifier 'LPCONTEXT' 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winbase.h(1405) : error C2501: 'LPCONTEXT' : missing storage-class or type specifiers 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winbase.h(2089) : error C2061: syntax error : identifier 'LPCONTEXT' 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winbase.h(2097) : error C2143: syntax error : missing ',' before '*' 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\mmsystem.h(1330) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\mmsystem.h(1334) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\excpt.h(63) : error C2040: 'PCONTEXT' : '_CONTEXT *' differs in levels of indirection from 'int' 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\excpt.h(66) : error C2378: 'LPCONTEXT' : redefinition; symbol cannot be overloaded with a typedef 
        C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\winbase.h(1405) : see declaration of 'LPCONTEXT' 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\wtypes.h(1059) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\wtypes.h(1086) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\wtypes.h(1099) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\oaidl.h(492) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\oaidl.h(494) : warning C4201: nonstandard extension used : nameless struct/union 
C:\Program Files\Windows CE Tools\wce500\STANDARDSDK_500\Include\x86\oaidl.h(6648) : warning C4201: nonstandard extension used : nameless struct/union


Perhaps it's because I don't have Visual Studio on this machine? Though using nmake from the SDK shouldn't be an issue, I'm not using anything from Visual Studio, just the SDK and Platform Builder
 Top of the page
I dunk for bananas Page Icon Posted 2022-11-15 11:27 PM
#
Avatar image of I dunk for bananas
Factorite (Elite)

Posts:
169
Location:
Europe
Status:
Nope, getting the exact same errors on my other machine with Visual Studio. Perhaps it's the version of the source code
 Top of the page
torch Page Icon Posted 2022-11-15 11:31 PM
#
Avatar image of torch
Subscribers
H/PC Vanguard

Posts:
4,050
Location:
United States 
Status:
That program is funky though. I haven’t been able to get it working on any of my devices.

Which version of the source code are you using ? Did you use the one from that same snapshot as the sourceforge thread ?
 Top of the page
I dunk for bananas Page Icon Posted 2022-11-15 11:36 PM
#
Avatar image of I dunk for bananas
Factorite (Elite)

Posts:
169
Location:
Europe
Status:
Quote
torch - 2022-11-15 11:31 PM

That program is funky though. I haven’t been able to get it working on any of my devices.

Which version of the source code are you using ? Did you use the one from that same snapshot as the sourceforge thread ?


I'm using the same version as already exists for ARM CE, I assumed that that would ensure it runs on CE
 Top of the page
torch Page Icon Posted 2022-11-16 1:26 AM
#
Avatar image of torch
Subscribers
H/PC Vanguard

Posts:
4,050
Location:
United States 
Status:
To clarify, are you using the WinCE source snapshot from August 2013 (if there is such a thing I’m not sure)
If you haven’t, I would try that that way you’re replicating that thread as close to the original variables as possible ?
If you already tried that, I apologize. I’m just trying to think of ideas to help you out
 Top of the page
I dunk for bananas Page Icon Posted 2022-11-16 4:41 PM
#
Avatar image of I dunk for bananas
Factorite (Elite)

Posts:
169
Location:
Europe
Status:
Quote
torch - 2022-11-16 1:26 AM

To clarify, are you using the WinCE source snapshot from August 2013 (if there is such a thing I’m not sure)
If you haven’t, I would try that that way you’re replicating that thread as close to the original variables as possible ?
If you already tried that, I apologize. I’m just trying to think of ideas to help you out


I was using an earlier one, I'm not sure if that specific version is available. The next thing I think I would try is to get VS2008 and to try it with that!
 Top of the page
Jump to forum:
Seconds to generate: 0.109 - Cached queries : 50 - Executed queries : 25
Server Time now is: Sunday, 4 December 2022 - 18:43