From: Arno P. <ar...@pu...> - 2012-02-14 18:09:32
|
XMLVM should generate a C main() if it sees a Java main(). Make sure your Java main has the correct signature and that it is included in the cross compilation (--in). Also one thing to note is that your Java program should have exactly one main() method (Java allows multiple main() methods and you have to specify on the command line which main() method you want to invoke. This happens implicitly in XMLVM). Arno On 2/14/12 8:24 AM, Ralf Tossenberger wrote: > Hello, > > I am trying to convert a Java project to posix but have no idea where > the main(argc, **argv) entry has to be defined. Inside my Java classes > there is one class containing the static main(args) method which should > be started. Trying to compile (to link) the generated stuff, currently > ends with a missing main() error. > > Thanks for help > RT > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |