Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C++ - CTORS

25 views
Skip to first unread message

Pierre Frigon

unread,
Feb 13, 2000, 3:00:00 AM2/13/00
to
Bonjour Yves,

Your image looks pretty big. Normally it should be around 500-700K. Here I
assume that you have 2 projects in the Tornado project facility; one that
you use to build vxWorks and another that you use to build your application.
If your application is linked with the vxWorks image then the size you are
getting is probably mostly your application.

To fix your constructor initialization problem, stay in automatic
constructor initilization mode and download the file with a ".out"
extension. This file is built to ensure that any static objects are properly
initialized. Also if you are using Tools.h++ you need to call rwEnable for
each task using the tools.h collection. In this case you may need to call
this routine form the first constructor being initialized. The order of
constructor initialization is determined by the link order. To set the link
order go to the project facility and select the builds tab. Open the build
specification for your project and select the link order tab.

Hope this helps,

Pierre

Yves Boudreault wrote:

> Hi All,
>
> Target: MVME-2604 (PPC-604)
> Dev: WinNT, Tornado II, GCC
>
> I seem to be having with the static constructors. When set in "manual"
> mode, the object file loads correctly, but fails when I manualy start
> the static constructors.
>
> The object file consists of a number of object files and the Wind Object
> Library (including RogueWave stuff).
>
> Any suggestions to what appears to be a most common problem ?
>
> I am also concerned about the size of the image (~ 7MB), it feels much
> bigger than it should be ...
>
> Thanks
>
> Yves
> yves.bou...@sympatico.ca


Yves Boudreault

unread,
Feb 14, 2000, 3:00:00 AM2/14/00
to
0 new messages