News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code::Blocks it's portable or not ?

Started by selevo, June 01, 2020, 08:19:37 AM

Previous topic - Next topic

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

hongwenjun


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


# 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"