c++.wxwindows - Can't build wx2.6.2 for debug
- Hakki Dogusan (6/6) Oct 26 2005 Hi,
- Arjan (4/14) Oct 26 2005 Using precompiled headers?
- W這dzimierz Skiba (4/5) Oct 26 2005 What's the default? Where it belongs (pch creation or pch usage)? Should...
- Arjan (5/15) Oct 26 2005 The default value is 32 IIRC.
- W這dzimierz Skiba (4/12) Oct 27 2005 Done. Thanks!
- Hakki Dogusan (34/53) Oct 27 2005 Thanks Arjan,
- Arjan (9/102) Oct 27 2005 Add a line with:
- W這dzimierz Skiba (4/14) Oct 27 2005 IIRC that was also mentioned in thread "optlink when invoked from dmc" i...
- Hakki Dogusan (10/29) Oct 27 2005 Thanks.
- W這dzimierz Skiba (7/12) Oct 27 2005 Could you please elaborate a little more about each of the hacks why it ...
- Hakki Dogusan (22/42) Oct 27 2005 [dirty hacks]
- Hakki Dogusan (8/28) Oct 27 2005 I attached the build process log.
Hi, It gives out of memory. This is with latest cd-update. It is ok with previous cd-update version. -- Regards, Hakki Dogusan
Oct 26 2005
Hakki Dogusan wrote:Hi, It gives out of memory. This is with latest cd-update. It is ok with previous cd-update version. -- Regards, Hakki DogusanUsing precompiled headers? Add the -HPxx (32 > xx <= 99) to sc.ini or commandline. Arjan
Oct 26 2005
Arjan <arjan ask.me> wrote in news:djnhim$181s$1 digitaldaemon.com:Add the -HPxx (32 > xx <= 99) to sc.ini or commandline.What's the default? Where it belongs (pch creation or pch usage)? Should I set max 99 by default in make/smake makefiles creation in bakefiles? ABX
Oct 26 2005
W這dzimierz Skiba wrote:Arjan <arjan ask.me> wrote in news:djnhim$181s$1 digitaldaemon.com:The default value is 32 IIRC. I use it with both creation and usage of the PCH. Don't know whether or not it makes sense but it doesn't hurt. ArjanAdd the -HPxx (32 > xx <= 99) to sc.ini or commandline.What's the default? Where it belongs (pch creation or pch usage)? Should I set max 99 by default in make/smake makefiles creation in bakefiles? ABX
Oct 26 2005
Arjan <arjan ask.me> wrote in news:djptk9$16cl$1 digitaldaemon.com:Done. Thanks! http://cvs.sourceforge.net/viewcvs.py/bakefile/bakefile/rules/makefile_defs_dmars_common.bkl?r1=1.11&r2=1.12 ABXWhat's the default? Where it belongs (pch creation or pch usage)? Should I set max 99 by default in make/smake makefiles creation in bakefiles?The default value is 32 IIRC. I use it with both creation and usage of the PCH. Don't know whether or not it makes sense but it doesn't hurt.
Oct 27 2005
Hi, Arjan wrote:Hakki Dogusan wrote:Thanks Arjan, I modified config.dms and set: CPPFLAGS = -HP99 With this setting debug build is ok now. What is the proper way to add this switch in sc.ini? My current sc.ini is as following: [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" ;hd...INCLUDE="% P%\..\include";"% P%\..\mfc\include";%INCLUDE% INCLUDE="% P%\..\STLport\stlport";"% P%\..\stlsoft";"% P%\..\include";"% P%\..\psdk\include";"% P%\..\mfc\include";%INCLUDE% LIB="% P%\..\lib";"% P%\..\psdk\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help" ps: Just for curiosity, I tried to build dll version of wx: To compile, I did some -hacks-. - ./src/regex/rege_dfa.c, line:267 changed small to smal in newdfa - ./src/expat/lib/xmlparse.c, line:236 changed ELEMENT_TYPE to XELEMENT_TYPE, did a find-replace in file - ./build/msw/makefile.dms added activex.obj to dll object list before mediactrlcmn.obj line added related compile line changed rcc commands (Tiwag was mentioned that before) and removed $(MONODLL_ODEP) With these dirty changes dll is built. But generated import lib is empty. Dependency Walker shows no exported functions. I hope You have a switch to solve this problem :) Thanks again... -- Regards, Hakki DogusanHi, It gives out of memory. This is with latest cd-update. It is ok with previous cd-update version. -- Regards, Hakki DogusanUsing precompiled headers? Add the -HPxx (32 > xx <= 99) to sc.ini or commandline. Arjan
Oct 27 2005
Hakki Dogusan wrote:Hi, Arjan wrote:Add a line with: CFLAGS=-HP96 see also: http://www.digitalmars.com/ctg/sc.html#scdotiniHakki Dogusan wrote:Thanks Arjan, I modified config.dms and set: CPPFLAGS = -HP99 With this setting debug build is ok now. What is the proper way to add this switch in sc.ini? My current sc.ini is as following: [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" ;hd...INCLUDE="% P%\..\include";"% P%\..\mfc\include";%INCLUDE% INCLUDE="% P%\..\STLport\stlport";"% P%\..\stlsoft";"% P%\..\include";"% P%\..\psdk\include";"% P%\..\mf \include";%INCLUDE% LIB="% P%\..\lib";"% P%\..\psdk\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"Hi, It gives out of memory. This is with latest cd-update. It is ok with previous cd-update version. -- Regards, Hakki DogusanUsing precompiled headers? Add the -HPxx (32 > xx <= 99) to sc.ini or commandline. Arjanps: Just for curiosity, I tried to build dll version of wx: To compile, I did some -hacks-. - ./src/regex/rege_dfa.c, line:267 changed small to smal in newdfa - ./src/expat/lib/xmlparse.c, line:236 changed ELEMENT_TYPE to XELEMENT_TYPE, did a find-replace in file - ./build/msw/makefile.dms added activex.obj to dll object list before mediactrlcmn.obj line added related compile line changed rcc commands (Tiwag was mentioned that before) and removed $(MONODLL_ODEP) With these dirty changes dll is built. But generated import lib is empty. Dependency Walker shows no exported functions.implib.exe? There is also a option to generate the implib, take a look at http://www.digitalmars.com/ctg IIRC /IMPLIB ArjanI hope You have a switch to solve this problem :) Thanks again... -- Regards, Hakki Dogusan
Oct 27 2005
Arjan <arjan ask.me> wrote in news:djqj8u$1t2a$1 digitaldaemon.com:IIRC that was also mentioned in thread "optlink when invoked from dmc" in c++.command-line group. Another thing which waits for inestigation for bakefiles. ABXWith these dirty changes dll is built. But generated import lib is empty. Dependency Walker shows no exported functions.implib.exe? There is also a option to generate the implib, take a look at http://www.digitalmars.com/ctg IIRC /IMPLIB
Oct 27 2005
Hi, Arjan wrote:Hakki Dogusan wrote:Thanks.What is the proper way to add this switch in sc.ini?Add a line with: CFLAGS=-HP96No it did't help (That is why I mentioned DependencyWalker). The problem is in generated dll, I think. Nothing exported there!With these dirty changes dll is built. But generated import lib is empty. Dependency Walker shows no exported functions.implib.exe?ArjanThanks... -- Regards, Hakki Dogusan
Oct 27 2005
Hakki Dogusan <dogusanh tr.net> wrote in news:djqh9u$1r6q$1 digitaldaemon.com:ps: Just for curiosity, I tried to build dll version of wx: To compile, I did some -hacks-.Could you please elaborate a little more about each of the hacks why it is needed (I'm unable to look into all of this myself right now but if your explanation will sound fine I will be able to blindly commit it into wxW).changed rcc commands (Tiwag was mentioned that before) and removed $(MONODLL_ODEP)I remember thread by Tiwag but unfortunatelly had no time yet to look into that. ABX
Oct 27 2005
Hi, W這dzimierz Skiba wrote:Hakki Dogusan <dogusanh tr.net> wrote in news:djqh9u$1r6q$1 digitaldaemon.com:[dirty hacks] - ./src/regex/rege_dfa.c, line:267 changed small to smal in newdfa (Compiler does not like small, so I changed it) - ./src/expat/lib/xmlparse.c, line:236 changed ELEMENT_TYPE to XELEMENT_TYPE, did a find-replace in file (Compilere says ELEMENT_TYPE declared as int before, I didn't look prior declaration) - ./build/msw/makefile.dms added activex.obj to dll object list before mediactrlcmn.obj line added related compile line (Otherwise missing wxActivex.. error occurs) These messages are from my memory. If you want I can re-compile.ps: Just for curiosity, I tried to build dll version of wx: To compile, I did some -hacks-.Could you please elaborate a little more about each of the hacks why it is needed (I'm unable to look into all of this myself right now but if your explanation will sound fine I will be able to blindly commit it into wxW).I think, this may not the correct solution. Since everything is ok with static lib builds. (And other compilers are fine building dll with the same code )Thanks... -- Regards, Hakki Dogusanchanged rcc commands (Tiwag was mentioned that before) and removed $(MONODLL_ODEP)I remember thread by Tiwag but unfortunatelly had no time yet to look into that. ABX
Oct 27 2005
Hi, W這dzimierz Skiba wrote:Hakki Dogusan <dogusanh tr.net> wrote in news:djqh9u$1r6q$1 digitaldaemon.com:I attached the build process log. Hope you can find a solution. Thanks... -- Regards, Hakki Dogusanps: Just for curiosity, I tried to build dll version of wx: To compile, I did some -hacks-.Could you please elaborate a little more about each of the hacks why it is needed (I'm unable to look into all of this myself right now but if your explanation will sound fine I will be able to blindly commit it into wxW).changed rcc commands (Tiwag was mentioned that before) and removed $(MONODLL_ODEP)I remember thread by Tiwag but unfortunatelly had no time yet to look into that. ABX
Oct 27 2005