This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

gcj


I am unable to discover any documentation on the use of gcj other than the 
results of "gcj --help."

I have some working java programs; howver, when I try to compile with gcj 
I get errors such as:
[summer@possum data]$ gcj ASXDoc.java -o t
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
[summer@possum data]$ gcj GetStockPrices.java -o t
GetStockPrices.java:4: Can't find default package `java.lang.Math'. Check 
the CLASSPATH environment variable and the access to the archives.
1 error
[summer@possum data]$

I am up to this version which I built today from the src.rpm shipped by 
RHS.

[summer@possum summer]$ gcj  -dumpmachine
i686-redhat-linux
[summer@possum summer]$ gcj -dumpversion 
2.95.3
[summer@possum summer]$

The binaries are built from:

Source0: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-2.95.3-20000315.tar.bz2
Source1: libstdc++-compat.tar.bz2
Source2: ftp://sourceware.cygnus.com/pub/java/libgcj-%{LIBGCJ_VERSION}.tar.
gz
Patch: gcc-2.95.2-warn.patch
Patch1: gcc-libgcj-config.patch.bz2
Patch2: gcc-alpha-complex.patch
Patch3: gcc-libio.patch
Patch4: gcc-boehm-gc.patch

I have these info files:
[summer@possum summer]$ rpm -qlv gcc | grep info
-rw-r--r--     root     root        13678 Jun  2 16:03 
/usr/info/gcc.info-1.gz
-rw-r--r--     root     root        13309 Jun  2 16:03 
/usr/info/gcc.info-10.gz
-rw-r--r--     root     root        16399 Jun  2 16:03 
/usr/info/gcc.info-11.gz
-rw-r--r--     root     root        14587 Jun  2 16:03 
/usr/info/gcc.info-12.gz
-rw-r--r--     root     root        17409 Jun  2 16:03 
/usr/info/gcc.info-13.gz
-rw-r--r--     root     root        17084 Jun  2 16:03 
/usr/info/gcc.info-14.gz
-rw-r--r--     root     root        15366 Jun  2 16:03 
/usr/info/gcc.info-15.gz
-rw-r--r--     root     root        15455 Jun  2 16:03 
/usr/info/gcc.info-16.gz
-rw-r--r--     root     root        16224 Jun  2 16:03 
/usr/info/gcc.info-17.gz
-rw-r--r--     root     root        14633 Jun  2 16:03 
/usr/info/gcc.info-18.gz
-rw-r--r--     root     root        14987 Jun  2 16:03 
/usr/info/gcc.info-19.gz
-rw-r--r--     root     root        11820 Jun  2 16:03 
/usr/info/gcc.info-2.gz
-rw-r--r--     root     root        15745 Jun  2 16:03 
/usr/info/gcc.info-20.gz
-rw-r--r--     root     root        11524 Jun  2 16:03 
/usr/info/gcc.info-21.gz
-rw-r--r--     root     root        12755 Jun  2 16:03 
/usr/info/gcc.info-22.gz
-rw-r--r--     root     root        13744 Jun  2 16:03 
/usr/info/gcc.info-23.gz
-rw-r--r--     root     root        13999 Jun  2 16:03 
/usr/info/gcc.info-24.gz
-rw-r--r--     root     root        13928 Jun  2 16:03 
/usr/info/gcc.info-25.gz
-rw-r--r--     root     root        14282 Jun  2 16:03 
/usr/info/gcc.info-26.gz
-rw-r--r--     root     root        12145 Jun  2 16:03 
/usr/info/gcc.info-27.gz
-rw-r--r--     root     root        15480 Jun  2 16:03 
/usr/info/gcc.info-28.gz
-rw-r--r--     root     root         9513 Jun  2 16:03 
/usr/info/gcc.info-29.gz
-rw-r--r--     root     root        15489 Jun  2 16:03 
/usr/info/gcc.info-3.gz
-rw-r--r--     root     root        22614 Jun  2 16:03 
/usr/info/gcc.info-30.gz
-rw-r--r--     root     root        12778 Jun  2 16:03 
/usr/info/gcc.info-4.gz
-rw-r--r--     root     root        14063 Jun  2 16:03 
/usr/info/gcc.info-5.gz
-rw-r--r--     root     root        15356 Jun  2 16:03 
/usr/info/gcc.info-6.gz
-rw-r--r--     root     root        13815 Jun  2 16:03 
/usr/info/gcc.info-7.gz
-rw-r--r--     root     root        15786 Jun  2 16:03 
/usr/info/gcc.info-8.gz
-rw-r--r--     root     root        17181 Jun  2 16:03 
/usr/info/gcc.info-9.gz
-rw-r--r--     root     root         3822 Jun  2 16:03 
/usr/info/gcc.info.gz
[summer@possum summer]$


For that matter, I see no mention of chill or fortan either. Where do I 
get this information?


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.



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