User forums > Using Code::Blocks

i havn't any HEX file in SDCC

<< < (3/3)

scarphin:
@majid.ebru:
1- Go to 'Settings -> Compiler'
2- Select 'SDCC Compiler'
3- Go to 'Other settings' tab
4- Click 'Advanced options'
5- Go to 'Others' tab
6- Insert 'o' (letter o) into 'Object file extension'
7- Click 'OK'
8- Click 'OK'
9- Restart CodeBlocks
10- Rebuild your project
11- Post build log
12- DO NOT post links to '.exe' files ever

majid.ebru:
So sorry
apology
i don't put the post

scarphin:
@majid.ebru:
So did you try what I posted?

@devs:
If his problem is what I think it is,

--- Code: ---at 1: warning 119: don't know what to do with file 'obj\Release\pic-202.rel'. file extension unsupported
--- End code ---
this problem seems to appear periodically. What I suggest is set the 'Object file extension' to 'rel' for 'SDCC Compiler' and make a duplicate named 'SDCC PIC Compiler' (or similar) with 'Object file extension' set to 'o'. Or users will come asking why it doesn't work either for PICs or 8051s depending on their CB version.

majid.ebru:

--- Quote from: stahta01 on March 20, 2015, 02:59:28 am ---
NOTE: I did one step not in the images I added the path of "C:\Apps32\gputils\bin" to the SDCC Additional paths under the compiler toolchain tab.
This is because I never add gputils or compilers to the Windows search PATH it causes to many weird errors when you run many different compilers and other tools.

Tim S.

--- End quote ---

Hi
finally , i can build HEX file.
now
can help me about how to use SDCC  in C:B?

Navigation

[0] Message Index

[*] Previous page

Go to full version