Jump to page: 1 2
Thread overview
Can't build wx2.6.2 for debug
Oct 26, 2005
Hakki Dogusan
Oct 26, 2005
Arjan
Oct 26, 2005
W³odzimierz Skiba
Oct 27, 2005
Arjan
Oct 27, 2005
W³odzimierz Skiba
Oct 27, 2005
Hakki Dogusan
Oct 27, 2005
Arjan
Oct 27, 2005
W³odzimierz Skiba
Oct 27, 2005
Hakki Dogusan
Oct 27, 2005
W³odzimierz Skiba
Oct 27, 2005
Hakki Dogusan
Building wx-2.6.2 dll (was: Re: Can't build wx2.6.2 for debug)
Oct 27, 2005
Hakki Dogusan
October 26, 2005
Hi,

It gives out of memory. This is with latest cd-update.

It is ok with previous cd-update version.


--
Regards,
Hakki Dogusan
October 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 Dogusan

Using precompiled headers?

Add the -HPxx (32 > xx <= 99) to sc.ini or commandline.

Arjan
October 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
October 27, 2005
W³odzimierz Skiba wrote:
> 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

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.

Arjan
October 27, 2005
Arjan <arjan@ask.me> wrote in news:djptk9$16cl$1@digitaldaemon.com:
> > 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?
> 
> 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.

Done. Thanks!

http://cvs.sourceforge.net/viewcvs.py/bakefile/bakefile/rules/makefile_defs_dmars_common.bkl?r1=1.11&r2=1.12

ABX
October 27, 2005
Hi,

Arjan wrote:

> 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 Dogusan
> 
> 
> Using precompiled headers?
> 
> Add the -HPxx (32 > xx <= 99) to sc.ini or commandline.
> 
> Arjan


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 Dogusan














October 27, 2005
Hakki Dogusan wrote:
> Hi,
> 
> Arjan wrote:
> 
>> 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 Dogusan
>>
>>
>>
>> Using precompiled headers?
>>
>> Add the -HPxx (32 > xx <= 99) to sc.ini or commandline.
>>
>> Arjan
> 
> 
> 
> 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"
> 

Add a line with:
CFLAGS=-HP96

see also: http://www.digitalmars.com/ctg/sc.html#scdotini

> 
> 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.

implib.exe?

There is also a option to generate the implib, take a look at

http://www.digitalmars.com/ctg

IIRC /IMPLIB

Arjan

> 
> 
> I hope You have a switch to solve this problem :)
> 
> Thanks again...
> 
> -- 
> Regards,
> Hakki Dogusan
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
October 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
October 27, 2005
Arjan <arjan@ask.me> wrote in news:djqj8u$1t2a$1@digitaldaemon.com:
> > 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

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.

ABX
October 27, 2005
Hi,

Arjan wrote:

> Hakki Dogusan wrote:
> 
>>
>> What is the proper way to add this switch in sc.ini?
>>
> 
> Add a line with:
> CFLAGS=-HP96
> 

Thanks.

>>
>> With these dirty changes dll is built. But generated import lib
>> is empty. Dependency Walker shows no exported functions.
> 
> 
> implib.exe?
> 

No it did't help (That is why I mentioned DependencyWalker).
The problem is in generated dll, I think.
Nothing exported there!

> 
> Arjan
> 

Thanks...

--
Regards,
Hakki Dogusan
« First   ‹ Prev
1 2