john sonal wrote:
> So I finally figured out the problem I was having with
> compiling with xml parsers (compiler was throwing
> "multiple definition errors"). It seems that there is
> a quick workaround for this problem that works
> perfectly. If you pass -Wl,--allow-multiple-definition
> to the compiler, the program will compile successfully
> and the specified xml parser* will be used at program
> execution.
>
> * Ex. SAXBuilder builder = new
> SAXBuilder("com.bluecast.xml.Piccolo");
Ah, ok. Didn't know about the "--allow-multiple-definition" flag. There
are so many of them...
> My feature request is to add a check box to the final
> screen before compilation, that if checked, will pass
> "-Wl,--allow-multiple-definition" to the compiler. If
> not this, than maybe just the ability to pass along
> any other parameters the user wants. I'm sorry if this
> already exists.
I'll provide an input box to enter own flags and arguments for gcj.
There will be a release at the latest around middle of october.
Marco
|