Thanks for the advice... One step closer in the right direction, but still not there. Hopefully if I can get this working, I can document the process and perhaps package something nice for people to easily get development up and running in Linux. Hopefully it'll help you focus on the excellent work you're doing with the clone of the IFI loader.
I copied my msvcrt.dll from my Windows XP machine (The copy in C:\Windows\System32, there were many copies) into my .../fake_windows/Windows/System32 directory in Linux. I made sure that msvcrt is trying to load native before loading the builtin. It now just refuses to load the exe with the following error:
Code:
silas@frink:/var/silas/public/first2004/Code/code$ wine -- "C:\\mcc18\\bin\\mcc18.exe" -p=18F8520 -fo "F:\\Code\\code\\main.o" "F:\\Code\\code\\main.c"
find: /usr/bin/../lost+found: Permission denied
err:module:LdrInitializeThunk Main exe initialization failed, status c0000142
Wine failed with return code 1
Any more suggestions? Are you using built-ins from a full install of Windows? I'd like not to do this, but I have Windows XP and Windwos 98 lying around that I can copy the DLL's from if need be.
Thanks again for your help with this.
Here's what my ~/.wine/config looks like:
Code:
(Deleted because it was flippin' huge. My windows version line was wrong, see below for fix)