[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Running an SWT Application With gcj
|
- From: Alex Brick <cabhan@xxxxxxxxx>
- Date: Fri, 25 Nov 2005 13:29:16 -0500
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.7 (X11/20051020)
Greetings. I have written an application using SWT, but in order to
make it more available, I am hoping to get it working using gcj as well.
It should be noted that I am using Linux, and that the audience is
Linux as well.
My first error, I found a workaround for on this group that I should use
Sun's Java compiler to create the jar, and run gcj on THAT. I am
executing gcj as such:
gcj --classpath=$CLASSPATH:/usr/share/swt-3/lib/swt.jar
--main=org.cabhan.lineakconfig.Driver lineakconfig.jar
When I do this, I get errors of the following sort:
/tmp/cceuFPMI.o(.text+0x24): In function
`org::cabhan::lineakconfig::CodeWindow:
:CodeWindow(org::eclipse::swt::widgets::Display*,
org::cabhan::lineakconfig::Typ
eWindow*)':
: undefined reference to `org::eclipse::swt::widgets::Shell::class$'
/tmp/cceuFPMI.o(.text+0x4b): In function
`org::cabhan::lineakconfig::CodeWindow:
:CodeWindow(org::eclipse::swt::widgets::Display*,
org::cabhan::lineakconfig::Typ
eWindow*)':
: undefined reference to
`org::eclipse::swt::widgets::Shell::Shell(org::eclipse:
:swt::widgets::Display*)'
/tmp/cceuFPMI.o(.text+0x89): In function
`org::cabhan::lineakconfig::CodeWindow:
:CodeWindow(org::eclipse::swt::widgets::Display*,
org::cabhan::lineakconfig::Typ
eWindow*)':
I do not know how to fix these, and I cannot seem to find anyone who
can. Might anyone know?
Thank you.
- Alex