I found some problems when try to run a 8051 sim program in windows. Since I can't get simulide compiled in qt-creator in windows, I had to debug it under Linux. So I copy the circuit and the source file to linux.
And it can't compile. In the source file's companion cfg file, the file's absolute path is recorded in the "File" attr. It is used by compiler and failed. And it won't get updated when the source file is saved in the new folder.
I'm not sure if this attribute is really needed? If it is, should it record relative path instead of absolute path? Or it should be updated automatically?
And in the compiler item, toolpath is also recorded and is prefered over the global settings, and I don't have a way to update it.
And it can't compile. In the source file's companion cfg file, the file's absolute path is recorded in the "File" attr. It is used by compiler and failed. And it won't get updated when the source file is saved in the new folder.
I'm not sure if this attribute is really needed? If it is, should it record relative path instead of absolute path? Or it should be updated automatically?
And in the compiler item, toolpath is also recorded and is prefered over the global settings, and I don't have a way to update it.
- Code:
<document version="1.1.0-RC0" rev="1911" >
<item itemtype="File" Compiler="SDCC" SaveAtClose="true" LoadCompiler="true" LoadBreakp="true" OpenFiles="false" File="E:/workspaces/contributes/simulide/mcs51/01-leds/shrink-leds.c" />
<item itemtype="Compiler" compilertype="SDCC" ToolPath="D:/sdcc/bin/" />
</document>