User forums > Using Code::Blocks

Code::Blocks it's portable or not ?

(1/1)

selevo:
Hi!
I did not find anything in the description about this.
Can someone tell?
I want portable for windows Code :: Blocks + SDCC
--
Thank's

Pecan:
You can create a portable version of CodeBlocks by keeping all the configuration files in the same directory containing codeblocks.exe .

To do so, start CodeBlocks normally, then close it in order to create or update the config file.

For Windows: copy all files in %appdata%\codeblocks\ beginning with "default." to the CodeBlocks executable directory.

For Linux: the config files will be in ~\.config\codeblocks

oBFusCATed:
cblauncher.exe is meant to make cb portable. I don't know how it works or what it does.

hongwenjun:
http://git.io/codeblocks

Portable configurations that I back up and save

hongwenjun:
CodeBlocks + SDCC open source compiler C51 microcontroller compilation settings

SDCC-small device C compiler download URL: http://sdcc.sourceforge.net

Recommended installation directory C:\sdcc

CodeBlocks compiler settings, select SDCC Compiler

The compiler directory is filled with C:\sdcc
Search directory-compiler header file C:\sdcc\include
Search directory-compiler library file C:\sdcc\lib


--- Code: ---# Set directory
C:\sdcc
C:\sdcc\include
C:\sdcc\lib

# CodeBlocks Create a new project, choose MCS51 Project, and choose SDCC Compiler by default, the template will automatically add the command to convert C51 to HEX file
cmd /c "packihx <$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).ihx >$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).hex"

--- End code ---

Navigation

[0] Message Index

Go to full version