SDCC for pic at new version

Quote from MedTronic on March 3, 2025, 12:15 am
dear my freind
i can't compile SDCC for PIC like befor look at the picture with the version 1.2.0 RC1
at file setting --> compiler the SDCC-PICAsem51 at the same line
can you please fix this
many thanks
MedTronic
dear my freind
i can't compile SDCC for PIC like befor look at the picture with the version 1.2.0 RC1
at file setting --> compiler the SDCC-PICAsem51 at the same line
can you please fix this
many thanks
MedTronic

Quote from MedTronic on March 4, 2025, 8:53 am@arcachofo where are you sir
@arcachofo where are you sir

Quote from arcachofo on March 4, 2025, 10:03 amHi Medtronic.
Thanks for reporting, I will fix it as soon as possible.
As a workaround you can change the name of the compiler in a way that it is before in the list.
For example edit file data/codeeditor/compilers/compilers/sdcc-PIC.xml and change to: name="0_SDCC-PIC"<compiler name="0_SDCC-PIC" type="sdcc" buildPath="build" >
Hi Medtronic.
Thanks for reporting, I will fix it as soon as possible.
As a workaround you can change the name of the compiler in a way that it is before in the list.
For example edit file data/codeeditor/compilers/compilers/sdcc-PIC.xml and change to: name="0_SDCC-PIC"
<compiler name="0_SDCC-PIC" type="sdcc" buildPath="build" >

Quote from MedTronic on March 4, 2025, 3:43 pmi test what you say .... the compiler it appear but can't copmpile as befor .... the compiler run but cat' generate a hex file
thanks in adavnced
i test what you say .... the compiler it appear but can't copmpile as befor .... the compiler run but cat' generate a hex file
thanks in adavnced

Quote from arcachofo on March 6, 2025, 1:48 pmI think the best you can do is to move the sdcc-PIC.xml that was working for you to your "user data folder":
your_data_folder/codeeditor/compilers/compilers/sdcc-PIC.xml
I think the best you can do is to move the sdcc-PIC.xml that was working for you to your "user data folder":
your_data_folder/codeeditor/compilers/compilers/sdcc-PIC.xml

Quote from MedTronic on March 7, 2025, 11:47 ami make what you said
the following is the output after compiling
-------------------------------------------------------
Executing:
"D:/SDCC/bin/sdcc" --use-non-free -mpic14 -p16f628a -o"D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\" "D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/Test.c"
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:87:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:122:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:124:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:132:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:134:Message[1304] Page selection not needed for this device. No code generated.
message: Using default linker script "d:\Program Files\gputils\lkr\16f628a_g.lkr".
warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x001E] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0022] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x001E] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0022] has no section. (pass 0)
what is the problem
please help
best regards
MedTronic
i make what you said
the following is the output after compiling
-------------------------------------------------------
Executing:
"D:/SDCC/bin/sdcc" --use-non-free -mpic14 -p16f628a -o"D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\" "D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/Test.c"
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:87:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:122:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:124:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:132:Message[1304] Page selection not needed for this device. No code generated.
D:/SimulIDE/SimulIDE_1.1.x/SimulIDE_1.1.0-R2037_Win32/examples/Micro/Pic/MedTronic/C_Codes/SDCC/PIC16f628/Test/build\Test.asm:134:Message[1304] Page selection not needed for this device. No code generated.
message: Using default linker script "d:\Program Files\gputils\lkr\16f628a_g.lkr".
warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x001E] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0022] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0000] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0004] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x001E] has no section. (pass 0)
warning: Relocation symbol "_cinit" [0x0022] has no section. (pass 0)
what is the problem
please help
best regards
MedTronic

Quote from MedTronic on March 7, 2025, 10:57 pmThanks @arcachofo
the problem is solved
Best Regards
MedTronic
Thanks @arcachofo
the problem is solved
Best Regards
MedTronic