public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* configtool - no main()
@ 2006-04-27 12:47 Lars Poeschel
  2006-04-27 13:29 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Poeschel @ 2006-04-27 12:47 UTC (permalink / raw)
  To: ecos-devel

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 ?

Thanks,

Lars Poeschel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: configtool - no main()
  2006-04-27 12:47 configtool - no main() Lars Poeschel
@ 2006-04-27 13:29 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2006-04-27 13:29 UTC (permalink / raw)
  To: Lars Poeschel; +Cc: ecos-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-27 13:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-27 12:47 configtool - no main() Lars Poeschel
2006-04-27 13:29 ` Andrew Lunn

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