-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
When changing memory model, the first build always overwrites the previous model output.
How to reproduce:
- Start SimpleIDE with the Welcome project.
- Hit build, the target Welcome.elf file is saved in the same directory as the project file
SimpleIDE Version 1.1.1
/home/marco/SimpleIDE/Learn/Simple Libraries/
/home/marco/SimpleIDE/ Updated on: 2017-03-13
propeller-elf-gcc -v GCC 4.6.1 (propellergcc-alpha_v1_9_0_)
propeller-elf-gcc -I . -L . -I /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools -L /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/cmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext -L /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext/cmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -o Welcome.elf -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 Welcome.c -lm -lsimpletools -lsimpletext -lsimplei2c -lm -lsimpletools -lsimpletext -lm -lsimpletools -lm
propeller-load -s Welcome.elf
propeller-elf-objdump -h Welcome.elf
Done. Build Succeeded!
- Hit build a second time, now the target Welcome.elf is stored in the cmm subfolder as expected
SimpleIDE Version 1.1.1
/home/marco/SimpleIDE/Learn/Simple Libraries/
/home/marco/SimpleIDE/ Updated on: 2017-03-13
propeller-elf-gcc -v GCC 4.6.1 (propellergcc-alpha_v1_9_0_)
propeller-elf-gcc -I . -L . -I /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools -L /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/cmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext -L /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext/cmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/cmm/ -o cmm/Welcome.elf -Os -mcmm -m32bit-doubles -fno-exceptions -std=c99 Welcome.c -lm -lsimpletools -lsimpletext -lsimplei2c -lm -lsimpletools -lsimpletext -lm -lsimpletools -lm
propeller-load -s cmm/Welcome.elf
propeller-elf-objdump -h cmm/Welcome.elf
Done. Build Succeeded!
- Change memory model to lmm and hit build, the cmm target is overwritten
SimpleIDE Version 1.1.1
/home/marco/SimpleIDE/Learn/Simple Libraries/
/home/marco/SimpleIDE/ Updated on: 2017-03-13
propeller-elf-gcc -v GCC 4.6.1 (propellergcc-alpha_v1_9_0_)
propeller-elf-gcc -I . -L . -I /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools -L /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/lmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext -L /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext/lmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/lmm/ -o cmm/Welcome.elf -Os -mlmm -m32bit-doubles -fno-exceptions -std=c99 Welcome.c -lm -lsimpletools -lsimpletext -lsimplei2c -lm -lsimpletools -lsimpletext -lm -lsimpletools -lm
propeller-load -s cmm/Welcome.elf
propeller-elf-objdump -h cmm/Welcome.elf
Done. Build Succeeded!
- Hit build again, the target is now saved in the lmm subfolder
SimpleIDE Version 1.1.1
/home/marco/SimpleIDE/Learn/Simple Libraries/
/home/marco/SimpleIDE/ Updated on: 2017-03-13
propeller-elf-gcc -v GCC 4.6.1 (propellergcc-alpha_v1_9_0_)
propeller-elf-gcc -I . -L . -I /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools -L /home/marco/SimpleIDE/Learn/Simple Libraries/Utility/libsimpletools/lmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext -L /home/marco/SimpleIDE/Learn/Simple Libraries/TextDevices/libsimpletext/lmm/ -I /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c -L /home/marco/SimpleIDE/Learn/Simple Libraries/Protocol/libsimplei2c/lmm/ -o lmm/Welcome.elf -Os -mlmm -m32bit-doubles -fno-exceptions -std=c99 Welcome.c -lm -lsimpletools -lsimpletext -lsimplei2c -lm -lsimpletools -lsimpletext -lm -lsimpletools -lm
propeller-load -s lmm/Welcome.elf
propeller-elf-objdump -h lmm/Welcome.elf
Done. Build Succeeded!
Metadata
Metadata
Assignees
Labels
No labels