Porting STM32 (Atollic) en.TrueSTUDIO_V9.3.exe_v9.3.0.exe

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
applepie2000
Newbie
Newbie
Posts: 1
Joined: Wed Jan 12, 2022 5:25 pm

Porting STM32 (Atollic) en.TrueSTUDIO_V9.3.exe_v9.3.0.exe

Post by applepie2000 »

I am trying to get TrueStudio 9.3.0 to run on Wine using macOS 12 on M1 hardware. The target package is available here for Windows (and Linux):
https://www.st.com/en/development-tools/truestudio.html

The installer runs successfully.

Then attempting to run the installed program:

Code: Select all

C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\ide\TrueSTUDIO.exe
0100:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0100:fixme:seh:get_thread_times not implemented on this platform
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
0100:fixme:msvcrt:__clean_type_info_names_internal (0117139C) stub
0100:fixme:msvcrt:__clean_type_info_names_internal (0111E3CC) stub
0100:fixme:msvcrt:__clean_type_info_names_internal (010F940C) stub
0100:fixme:msvcrt:__clean_type_info_names_internal (00E168DC) stub
I know that the IDE is eclipse and packaged with its own jre.

The "Error occurred during initialization of VM Could not reserve enough space for 1048576KB object heap" seems java related, though changing JAVA_OPTS="-Xms256m -Xmx1500m" or the TrueSTUDIO.ini options seems to have no effect.

How do we resolve the internal offsets of msvcrt?

Cheers,
Joe
Locked