From: Andrew Lunn <andrew@lunn.ch>
To: Lars Poeschel <larsi@wh2.tu-dresden.de>
Cc: ecos-devel@ecos.sourceware.org
Subject: Re: configtool - no main()
Date: Thu, 27 Apr 2006 13:29:00 -0000 [thread overview]
Message-ID: <20060427132903.GC9862@lunn.ch> (raw)
In-Reply-To: <200604271443.57560.larsi@wh2.tu-dresden.de>
On Thu, Apr 27, 2006 at 02:43:57PM +0200, Lars Poeschel wrote:
> Hello!
>
> My configtool development is ongoing and I made an automake/autoconfig based
> configuration system work. I also rewrote the configtool to compile on
> unicode Systems, but finally the call to the Linker says:
> undefined reference to `main'
> And indeed, the whole configtool currently in CVS has no main() function.
> Can anybody say where and how the configtool is started ?
I think main is inside one of the WxWidget libraries. It will then
call the OnInit function:
configtool.cpp:151
// 'Main program' equivalent: the program execution "starts" here
bool ecApp::OnInit()
{
However, don't trust what i say, i know less than nothing about
WxWidgets. You probably need to read the documentation:
http://www.wxwidgets.org/
It is great that you are trying to get this working. If you can make
the whole build system nice and simple, and working with the current
version of WxWidgets it might encourage people to fix the bugs in the
tool. There has not been any real development on configtool for years
and i think that it because it is so hard to build.
Andrew
prev parent reply other threads:[~2006-04-27 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-27 12:47 Lars Poeschel
2006-04-27 13:29 ` Andrew Lunn [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=20060427132903.GC9862@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-devel@ecos.sourceware.org \
--cc=larsi@wh2.tu-dresden.de \
/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).