Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: mandrav on February 13, 2005, 11:57:47 pm

Title: Anyone using CVS version? Testers needed...
Post by: mandrav on February 13, 2005, 11:57:47 pm
Hi guys.

Some great new features have made it in the CVS version of codeblocks and I need some more people testing them (especially one specific feature, noted below).

Major updates are:
Title: Anyone using CVS version? Testers needed...
Post by: hd on February 14, 2005, 02:19:54 pm
Hi Yiannis,

Yes I'm using CVS version.

(And You didn't commit compilerDMC yet ;-))

Though I saw the changes about seperating res from linker objects.

I'll look closely about mentioned "Major updates".

--
Regards,
Hakki Dogusan
Title: Anyone using CVS version? Testers needed...
Post by: mandrav on February 14, 2005, 02:55:01 pm
Hey Hakki,

What a coincidence! Just seconds ago, I sent you a mail talking about the brand new DigitalMars support (thanks to you)!

Yiannis.
Title: Anyone using CVS version? Testers needed...
Post by: hd on February 14, 2005, 10:38:47 pm
Hi Yiannis,

Thanks for accepting my tiny contribution.

Following is my current DMC switches:

    m_Commands[(int)ctCompileObjectCmd] = "$compiler -mn -c $options $includes -o$object $file";
    m_Commands[(int)ctCompileResourceCmd] = "$rescomp -32 $options -I$res_includes -o$resource_output $file";
    m_Commands[(int)ctLinkExeCmd] = "$linker /NOLOGO /subsystem:windows -WA $link_options $link_objects, $exe_output, , $libs, , $link_resobjects";
    m_Commands[(int)ctLinkConsoleExeCmd] = "$linker /NOLOGO $link_options $link_objects, $exe_output, , $libs";
    m_Commands[(int)ctLinkDynamicCmd] = "$linker /NOLOGO /subsystem:windows -WD $link_options $link_objects, $exe_output, , $libs, , $link_resobjects";
    m_Commands[(int)ctLinkStaticCmd] = "lib $static_output /C $link_options , $link_objects";


- I think we need $res_options variable
- Where do I enter $res_includes values?
- I successfully compiled console, win targets
- I'll work on for the others (wx targets compiles but not links:

C:\wx25\lib\dmc_lib\wxmsw25.lib(crashrpt)
 Error 42: Symbol Undefined ?wxGlobalSEInformation@@3PAU_EXCEPTION_POINTERS@@A (_EXCEPTION_POINTERS *wxGlobalSEInformation)
C:\wx25\lib\dmc_lib\wxtiff.lib(tif_print)
 Error 42: Symbol Undefined _TIFFGetTagListEntry
C:\wx25\lib\dmc_lib\wxtiff.lib(tif_print)
 Error 42: Symbol Undefined _TIFFGetTagListCount

I think it is not related about IDE settings.

I'll work on these..


--
Regards,
Hakki Dogusan
Title: Anyone using CVS version? Testers needed...
Post by: hd on February 14, 2005, 11:28:30 pm
Hi, me again :)

Please change settings for static lib with the following:

    m_Commands[(int)ctLinkStaticCmd] = "lib $link_options $static_output $link_objects";


DMC happily compiles "$static_output.lib" with this settings ;-))

We need $static_output value replacement...

--
Regards,
Hakki Dogusan

ps: You want to see Code::Blocks in action ? Here it is :)

Project   : DMC
Compiler  : Digital Mars Compiler (called directly)
Directory : C:\a_C\cbdmc\
--------------------------------------------------------------------------------
Switching to target: staticlib
dmc.exe -mn -c       -o".objs\\sayhello.obj" "sayhello.cpp"
lib    -c -n -p32 $static_output ".objs\\sayhello.obj"
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Digital Mars Librarian complete.  
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
Title: Anyone using CVS version? Testers needed...
Post by: hd on February 14, 2005, 11:53:27 pm
Sorry it was my mistake!

This works:
m_Commands[(int)ctLinkStaticCmd] = "lib $link_options $exe_output $link_objects";

Project   : DMC
Compiler  : Digital Mars Compiler (called directly)
Directory : C:\a_C\cbdmc\
--------------------------------------------------------------------------------
Switching to target: staticlib
dmc.exe -mn -c       -o".objs\\sayhello.obj" "sayhello.cpp"
lib    -c -n -p32 "dmc_static.lib" ".objs\\sayhello.obj"
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com
Digital Mars Librarian complete.  
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 0 warnings
 

--
Regards,
Hakki Dogusan
Title: Anyone using CVS version? Testers needed...
Post by: Anonymous on February 15, 2005, 10:48:17 pm
> Editor color theme is now configured completely (yes, even the editor's background Smile )
How can I change background color for editor ?
When I change background color for "default", only backround under text is changed. It will be good also to have possibility to change foregroun color for all items.
For example I prefer black color for background, but then I can not see lot of thinks, becouse foreground color is also black and I can not change it.

Regards
AK
Title: Anyone using CVS version? Testers needed...
Post by: mandrav on February 15, 2005, 11:46:32 pm
You 're right, I forgot to add that it would be a good idea to clear the configuration first. To achieve this, launch CB with the cmd line switch "--clear-configuration". This will make CB like it was just installed.

Yiannis.
Title: Anyone using CVS version? Testers needed...
Post by: mike on February 16, 2005, 09:31:04 am
About compilers - is there a way to provide a regex for errors/warnings? Different compilers do them differently (say, file name and line separation, some also have character number), and I guess this is the reason I don't see many in the "Compiler messages" tab.
Title: Anyone using CVS version? Testers needed...
Post by: mike on February 16, 2005, 09:31:29 am
P.S. Lint can also be seen as a compiler :-)
Title: Anyone using CVS version? Testers needed...
Post by: mandrav on February 16, 2005, 10:22:09 am
Each supported compiler already works with regexes for the errors/warning parsing.
Are you talking about user-defined regexes?

Yiannis.
Title: Anyone using CVS version? Testers needed...
Post by: Anonymous on February 21, 2005, 03:23:29 am
I built the CVS version but no resource file (.res) is linked in?
Title: Anyone using CVS version? Testers needed...
Post by: mike on February 21, 2005, 10:09:42 am
Quote
Are you talking about user-defined regexes?


Not really, but I just noyiced that most of the warnings do not appear on the "Compiler messages" tab, though get colourised on "Compiler" tab (if I remember the names correctly - I don't have C::B at work).
Title: Anyone using CVS version? Testers needed...
Post by: mike on February 21, 2005, 10:10:11 am
noyiced = noticed :-)