This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
help with gcj
- To: gcc-bugs at gcc dot gnu dot org
- Subject: help with gcj
- From: Josh Miller <jmille25 at visteon dot com>
- Date: Tue, 01 Feb 2000 11:09:44 -0700
- Organization: Visteon
Hi, I just built version 2.95.1 of gcc and then I installed the
corresponding libgcj, and both built without any problems, but when trying to
compile with gcj
I get:
gcj: libgcj.spec: No such file or directory
Here is my info:
uname -a
SunOS dragon 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-1
I can successfully do this:
gcj --version
2.95.1
But, when I try to compile my Java programs I get the error:
gcj --main=depWeb_verilogProc -I../jikesClass/release -o
depWeb_verilogProc ../jikesClass/release/depWeb_verilogProc.class gcj:
libgcj.spec: No such
file or directory
Any suggestions as to what I did wrong or forgot to add to my
environment? The only thing I did to my env is add gcj to my PATH variable...do
I need to add
anything else? I tried adding the lib directory that libgcj.spec is in to my
LD_LIBRARY_PATH
but that didn't seem to help...But, libgcj.spec does exist:
ll lib/libgcj.spec
-rw-r--r-- 1 fmiapps appl 221 Jan 31 15:04 lib/libgcj.spec
The help works also:
gcj --help
Usage: gcj [options] file...
Options:
--help Display this information
(Use '-v --help' to display command line options of sub-processes)
-dumpspecs Display all of the built in spec strings
-dumpversion Display the version of the compiler
-dumpmachine Display the compiler's target processor
-print-search-dirs Display the directories in the compiler's search path
-print-libgcc-file-name Display the name of the compiler's companion library
-print-file-name=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-print-multi-directory Display the root directory for versions of libgcc
-print-multi-lib Display the mapping between command line options and
multiple library search directories
-Wa,<options> Pass comma-separated <options> on to the assembler
-Wp,<options> Pass comma-separated <options> on to the preprocessor
-Wl,<options> Pass comma-separated <options> on to the linker
-Xlinker <arg> Pass <arg> on to the linker
etc...
Thanks for your time!
begin:vcard
n:Miller;Josh
tel;fax:(719) 528 - 7635
tel;work:(719) 528 - 7906
x-mozilla-html:FALSE
url:www.visteon.com
org:Visteon Microelectronics;IC Design Technology
adr:;;9965 Federal Dr. ;Colorado Springs;CO;80921;USA
version:2.1
email;internet:jmille25@visteon.com
title:CAE Engineer
note;quoted-printable:"To survive is not enough..."=0D=0A"Those that seek only the destination miss the journey...=0D=0A
x-mozilla-cpt:;-8032
fn:Josh Miller
end:vcard