classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for compiling BigInteger with gcj


From: Mark Wielaard
Subject: Patch for compiling BigInteger with gcj
Date: 08 Jan 2002 22:20:03 +0100

Hi,

I need the following patch to compile Classpath with gcj:

diff -u -r1.13 BigInteger.java
--- java/math/BigInteger.java   16 Dec 2001 01:27:04 -0000      1.13
+++ java/math/BigInteger.java   8 Jan 2002 21:12:44 -0000
@@ -26,7 +26,7 @@
 
 package java.math;
 
-import gnu.java.math.*;
+import gnu.java.math.MPN;
 import java.util.Random;
 import java.io.ObjectInputStream;
 import java.io.ObjectOutputStream;

Otherwise I get the following error (with gcj 3.0.3):
make[1]: Entering directory `/home/mark/src/classpath/lib'
/usr/bin/gcj -C -d . @classes
./../java/math/BigInteger.java:29: Can't find default package
`gnu.java.math'. Check the CLASSPATH environment variable and the access
to the archives.
1 error

This seems to be because we don't supply the classpath to gcj in
lib/Makefile.am. Maybe we should change that.

Is anybody else seeing this?

Cheers,

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]