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


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

Andrea> gcj: libgcj.spec: No such file or directory

gcj searches for a .spec file that tells it some things about the ABI
in use by libgcj.

Andrea> gcj -specs=..\..\gcc-4.0\i686-pc-mingw32\lib\libgcj.spec -fjni

Nice try :-)  ...but including the .spec file on the command line
doesn't make gcj stop searching for it.

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.

Andrea> What should I do? I've tried to read the online docs
Andrea> (http://gcc.gnu.org/onlinedocs/gcj/), but there is no mention of spec
Andrea> files...

Yeah, this is an implementation detail.  If you need to mess with this
you're basically expected to know what gcj is doing.

Tom


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