public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: "Boris V. Guzhov" <borg@int.spb.ru>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Static constuctors
Date: Wed, 11 Oct 2000 11:05:00 -0000	[thread overview]
Message-ID: <39E4ABD1.5494CE84@redhat.com> (raw)
In-Reply-To: <015401c02fb2$106bd380$7601a8c0@borg>

"Boris V. Guzhov" wrote:
> But I need to invoke static constructors in main() thread context.
> 
> Then I tried to make the following:
> - I eddited ecos.ecc file:
>    CYGSEM_INVOKE_DEFAULT_STATIC_CONSTRUCTORS: user_value 1

CYGSEM_INVOKE_DEFAULT_STATIC_CONSTRUCTORS is indeed what you are looking
for here.

>   CYGSEM_LIBC_STARTUP_MAIN_THREAD: user_value 1
> - "ecosconfig resolve" prints:
> "C   CYGPKG_LIBC_STARTUP, "requires" constraint not satisfied:
> CYGINT_LIBC_STARTUP_CONTEXT == 1"
> 
> And I cannot  run "ecosconfig tree".
> 
> What's wrong?

It's an oversight in the CDL. For now just edit
language/c/libc/startup/current/cdl/startup.cdl and remove the "requires
CYGSEM_LIBC_STARTUP_MAIN_THREAD" line. I'll fix it properly in the sources
here.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

      reply	other threads:[~2000-10-11 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-06  9:39 Boris V. Guzhov
2000-10-11 11:05 ` Jonathan Larmour [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39E4ABD1.5494CE84@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=borg@int.spb.ru \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).