[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4787: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4790: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3922)
InsideQC Forums • View topic - new codeblocks package.

new codeblocks package.

Discuss anything not covered by any of the other categories.

Moderator: InsideQC Admins

new codeblocks package.

Postby revelator » Fri Aug 05, 2011 10:42 am

Just finishing the installer atm.

changes:

uses mingw64 by default (the 32 bit compiler is selected by default).
mingw64 for 64 bit also included and can be used by changing a few things in settings/compiler and debugger/toolchain executables.

msys environment with some additions by me, like auto elevated posix and windows shells (for vista and win7). uses console2 32 and 64 bit versions with some special tools i created.

svn client in /usr/local can be used from both msys shells or if included in codeblocks searchpaths.

python in /usr/local can be used like the above if say you got a projet that uses scons for building.

ruby in /usr/local ditto.

cmake in /usr/local ditto (also the gui version included). can also be used for 64 bit development.

you cannot link to libs in /usr/local if you use the 64 bit compiler but the tools work fine for building.
the libs in /usr/local/lib are not searched by the linker unless added with -L/usr/local/lib so unless you explicitly add /usr/local/lib to ld's searchpath no fuckups will ever happen ;) same goes for the includes.

the preinstall script runs after setup and asks you if you would like to add mingw32 and mingw64 to fstab. you can safely ignore that as all
folders under /usr are automounted so no need. (only included as a reference) it will however add mingw32/bin and mingw64/bin to windows %PATH% environment.

in case you have a tool you like to use from mingw add it to /etc/fstab
by hand with notepad like so c:/yourtool. /nameforyourtool and then edit /etc/profile to include yourtool/binaries before /mingw32/bin or if 64 bit before /mingw64/bin.

you can also make a script in profile.d for things not normally in mingw like this ->

#
# source this file (. /opt/java/java-setup.sh) in sh,ksh,zsh,bash to set
# up paths for JAVA.
#
if [ ${MSYSTEM} == MINGW64 ] || [ ${MSYSTEM} == MINGW32 ]; then
prefix="/opt/java"
exec_prefix="${prefix}"
JAVA_HOME="$exec_prefix"
ANT_HOME="$exec_prefix"
CCK_HOME="$exec_prefix"
PATH="${exec_prefix}/bin:${exec_prefix}/jre/bin:$PATH"
if [ ${MSYSTEM} == MINGW32 ]; then
LD_LIBRARY_PATH="${exec_prefix}/lib:${exec_prefix}/jre/lib:${LD_LIBRARY_PATH:-}"
LD_RUN_PATH="${exec_prefix}/lib:${exec_prefix}/jre/lib:${LD_RUN_PATH:-}"
C_INCLUDE_PATH="${exec_prefix}/include:${exec_prefix}/include/win32:${C_INCLUDE_PATH:-}"
CPLUS_INCLUDE_PATH="${exec_prefix}/include:${exec_prefix}/include/win32:${CPLUS_INCLUDE_PATH:-}"

export PATH LD_LIBRARY_PATH LD_RUN_PATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH
export JAVA_HOME ANT_HOME CCK_HOME
else
echo "<no 64 bit types for java yet>"
export PATH
fi
unset prefix
unset exec_prefix
fi

the above is for suns java sdk. call the script java-setup.sh and put it in /etc/profile.d and place suns java sdk in /opt/java in the /usr folder. if you need help setting things up let me know as the above includes some things not in suns java like apaches ant builder.

uninstalling will remove mingw32/bin and mingw64/bin from %PATH%.

gcc version is 4.6.1 for both the 32 and 64 bit compiler.
binutils version is 2.22 and is a beta (not released yet) but includes some fixes for the lto plugin that fail miserably on the released 2.21 version.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Fri Aug 05, 2011 2:09 pm

if anyones interrested in obtaining the new package they can PM me or send me a mail requesting it.

the cause for this approach is that my google code site has a severe limitation on sizes so i have to host it from my own PC by ftp, and my bandwidth is unfortunatly a bit limited.

anyone who can host it are ofcourse welcome to contact me either here

or by mail.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Fri Aug 05, 2011 4:38 pm

people can now try getting it from my ftp ftp://90.184.233.166:21/cb-setup.exe

it might not allways be up if its not mail me and ill try to keep the server alive.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Sat Aug 06, 2011 8:42 am

many updates to codeblocks in regards to the new gcc-4.6.1 compiler
theres a codeblocks-only.7z on my ftp with latest changes. you can overwrite the codeblocks from my installer with this one if you want the latest changes.

still working on detection of the mingw64 compiler but its atleast working for the 32 bit one from them atm.

added -march=corei7 to CPU optimizations (new in gcc-4.6.1).
added dictionaries to the spellchecker plugin (all i could get my hands on) this means you likely can have spellchecking in your native language ;).

TODO

more optimization options from newer gcc (long list) + adding checks for mingw version so you dont by mistake get options your version of gcc does not support.

rework the compiler autodetection routine still a few buggers.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Mon Aug 08, 2011 1:56 am

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Mon Aug 08, 2011 2:59 pm

if lynx fails to connect you can set the timeout for connecting higher in /etc/lynx.cfg (default value fails rather hard on win 7 64) set it to 200000.

by default it connects to google because the old site value seems to be missing these days.

updated bash completion.
changed a minor oups when using msysdvlpr shell it was looking for the old /mingw path. changed to look in /mingw32 instead.

mysql has a sha1.h in /mingw32/include and /mingw64/include which collides with gcc bootstraps so renamed to sha1.h.mysql if you want to develop with mysql change it back to sha1.h (i need a better workaround i know).

BUGS:
do not use CPAN to update things in msys perl the new CPAN is completely incompatible with the old 5.8.8 perl and will break perl completely. if you need some extention download it by hand and do perl makefile.pl make test and if no error make install.

i got a newer perl compiled with mingw with some strawberry perl magic and a load of extensions like perl versions of some posix tools you can use with my package. no installer yet. ill put it on my ftp to use it just unzip it to the codeblocks folder and run portableshell.bat

its the 32 bit version so atm only works on MinGW32 ill make a 64 bit version one of these days.
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Tue Aug 09, 2011 3:05 am

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Tue Aug 09, 2011 12:05 pm

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Tue Aug 09, 2011 5:02 pm

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Tue Aug 09, 2011 7:17 pm

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Thu Aug 11, 2011 7:16 pm

some small updates im going to upload soon.

bash with ncurses support. based on latest source from the mingw folks and modified a bit by me. first version crashed but its stable now :) so say hello to some colored terminals hehe.

ncurses for msys. above depends on this. can be used instead of msys old termcap library and its actually a good thing since this supports way more color styles and also has its own menu framework.

msysCORE BETA. based on latest release but with symlink support now :) still a few buggers to squash though thats why its BETA. for one sources calling ln -s still fail mostly thinking hey im on msys no symlink support ->bugout fast :lol: but it actually works if you dont believe me try doing ln -s /mingw /thisisasymlinkofmingw and take notice.

one warning though deleting the symlink also deletes the folder it symlinks to so DONT!!! if you want to get rid of it after the test, an easy way is using junction -d /thisisasymlinkofmingw.

coreutils latest from cygwin ported to msys but seem to have some fatal flaws so im not uploading this yet. it works fine for building but the executables get vreated with special permissions not allowing anyone to execute them or even remove them so untill i find a way to fix that it stays here ;)
User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby qbism » Sat Aug 13, 2011 8:07 pm

User avatar
qbism
 
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am

Postby revelator » Sat Aug 13, 2011 8:38 pm

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Tue Aug 16, 2011 4:27 am

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Postby revelator » Wed Aug 17, 2011 7:00 am

User avatar
revelator
 
Posts: 2605
Joined: Thu Jan 24, 2008 12:04 pm
Location: inside tha debugger

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests