libgcj/9026: Gcj -Os option confuses Eclipse SWT
oyvind.harboe@zylin.com
oyvind.harboe@zylin.com
Fri Dec 20 07:06:00 GMT 2002
>Number: 9026
>Category: libgcj
>Synopsis: Gcj -Os option confuses Eclipse SWT
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 20 07:06:32 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: oyvind.harboe@zylin.com
>Release: gcj 3.2 mingw
>Organization:
>Environment:
Reading specs from c:/mingw/bin/../lib/gcc-lib/mingw32/3.2/specs
Reading specs from c:/mingw/bin/../lib/gcc-lib/mingw32/3.2/../../../libgcj.spec
rename spec lib to liborig
Configured with: /extra/src/gcc/gcc-3.2/configure --prefix=/extra/wingcc --build
=i686-pc-linux-gnu --host=mingw32 --target=mingw32 --enable-languages=c,c++,java
--with-gcc --with-gnu-as --with-gnu-ld --with-as=/extra/xgcc/bin/mingw32-as --w
ith-ld=/extra/xgcc/bin/mingw32-ld --enable-threads=win32 --disable-nls --disable
-win32-registry --disable-shared --disable-debug --disable-multilib --without-ne
wlib --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --dis
able-libgcj-debug --enable-interpreter --enable-hash-synchronization
Thread model: win32
gcc version 3.2 (mingw special 20020817-1)
>Description:
Compile an Eclipse SWT app with with the "-Os" option, which dramatically reduces size of the compressed executable(i.e. download size reduced with 30%).
Eclipse is trying to figure out which native .dll to load, and it builds the name based upon various environment variables such as os.arch and os.name. See exception/failure below.
Perhaps this is related to os.arch being set to "i586" instead of "x86" under Windows?
os.name="Windows 2000" os.arch="i586"
Exception in thread "main" java.lang.UnsatisfiedLinkError: swt-unknown-2052: file not found
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Java-prs
mailing list