This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reducing static binary sizes


Tom Tromey wrote:
"Andrea" == Andrea aime <andrea.aime@aliceposta.it> writes:

You want to use a -B option instead.  Point it to the directory
holding the spec file, and don't forget the trailing '/'... see the
manual for details.

Ok, tried again... without much luck. I added the spec file folder,
and it complains it does not find jc1.exe. Ok, I added the folder
holding jc1.exe as well and... nothing happens! I mean no error messages, but no output as well. This is the output of my gcj invocation, run in verbose mode:


> gcj -fjni -findirect-dispatch -B D:\gcc40-20051104\gcc-4.0\i686-pc-mingw32\lib\ -B D:\gcc40-20051104\gcc-4.0\libexec\gcc\i686-pc-mingw32\4.0.2 -nostdlib -lmingw32 -lmoldname -lmingwex -lmsvcrt -lm -liconv -lgdi32 -lws2_32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt out.jar --main=explorer_12.Explorer -o jfex

Using built-in specs.
Reading specs from D:/gcc40-20051104/gcc-4.0/i686-pc-mingw32/lib/libgcj.spec
rename spec lib to liborig
Target: i686-pc-mingw32
Configured with: /datal/gcc/gcc/configure --prefix=/datal/gcc/build/wingcc --build=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32 --enable-languages=c,c++,java --with-gcc --with-gnu-as --with-gnu-ld --with-as=/datal/gcc/build/crossgcc/bin/i686-pc-mingw32-as --with-ld=/datal/gcc/build/crossgcc/bin/i686-pc-mingw32-ld --enable-threads=win32 --disable-nls --disable-win32-registry --disable-shared --disable-debug --without-newlib --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-sjlj-exceptions --enable-libgcj-multifile --enable-libgcj-mingw-osapi=ansi
Thread model: win32
gcc version 4.0.2
D:/gcc40-20051104/gcc-4.0/libexec/gcc/i686-pc-mingw32/4.0.2/jc1.exe out.jar -fhash-synchronization -fuse-divide-subroutine -fcheck-references -fuse-boehm-gc -fnon-call-exceptions -fno-omit-frame-pointer -fkeep-inline-functions -quiet -dumpbase out.jar -mtune=pentiumpro -auxbase out -g1 -version -fjni -findirect-dispatch -o C:\DOCUME~1\wolf\IMPOST~1\Temp/cci4aaaa.s


GNU Java version 4.0.2 (i686-pc-mingw32)
        compiled by GNU C version 4.0.2.
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=131006
Class path starts here:
    ./
    /datal/gcc/build/wingcc/share/java/libgcj-4.0.2.jar/ (system) (zip)



Doh... I also checked in the temp folder where jc1 is supposed to
generate the output file, there's nothing...
I have the impression of being Don Chichotte battling
agains the windmills...
Is there any way to get the full configuration parameters gcj is using
when linking to the standard libraries?

Best regards
Andrea Aime



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]