Hi,
I have cross compiled python on windows with the following config params,
--host=i386-linux-gnu --build=x86_64-pc-cygwin --with-build-python=/usr/local/bin/python3 --prefix=/usr --exec-prefix=/usr
the prefix and exec-prefix options should set the PYTHONHOME appropriately, however when I ftp the sources to my target machines and run the test test_subprocess, I see the follows,
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'somethingyoudonthave'
isolated = 0
environment = 1
user site = 1
safe_path = 0
import site = 1
is in build tree = 0
stdlib dir = 'C:/msys64/usr/lib/python3.12'
sys._base_executable = ''
sys.base_prefix = 'C:/msys64/usr'
sys.base_exec_prefix = 'C:/msys64/usr'
sys.platlibdir = 'lib'
sys.executable = ''
sys.prefix = 'C:/msys64/usr'
sys.exec_prefix = 'C:/msys64/usr'
sys.path = [
'C:/msys64/usr/lib/python312.zip',
'C:/msys64/usr/lib/python3.12',
'C:/msys64/usr/lib/python3.12/lib-dynload',
]
it seems to set the sys.prefix according to windows style path. all other test cases are passing and this is the only one that’s failing. is there any way to correct this.
regards