From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11972 invoked by alias); 27 Jan 2007 00:38:52 -0000 Received: (qmail 11954 invoked by uid 48); 27 Jan 2007 00:38:52 -0000 Date: Sat, 27 Jan 2007 00:38:00 -0000 Subject: [Bug java/30607] New: gcj -I x -C doesn't include x as source dir search patch X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "mark at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2007-q1/txt/msg00204.txt.bz2 Given an directory x with two source files: - x/a.java public class a extends b { } - x/b.java public class b { } With gcj 4.1.1 it was possible to include x as source patch search dir with -I and compile as follows: $ gcj -C -I x x/a.java With current svn trunk (and ecj1 installed) this gives: $ /usr/local/gcc43/bin/gcj -C -I x x/a.java x/a.java:1: error: b cannot be resolved to a type public class a extends b { } ^ 1 problem (1 error) -- Summary: gcj -I x -C doesn't include x as source dir search patch Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mark at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30607