This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Don't link ecj1 against libgcj.so.* (PR libgcj/38396)


On Thu, Dec 18, 2008 at 07:59:19PM +0100, Ralf Wildenhues wrote:
> * Jakub Jelinek wrote on Thu, Dec 18, 2008 at 10:37:33AM CET:
> > 
> > The addition of dummy ecjx.cc was needed, because otherwise ecjx would
> > be without any sources, which confuses libtool.
> 
> I don't follow this statement; this should work.  Please post the error
> that happens without any sources.

Without the dummy source:

/bin/sh ./libtool --tag=GCJ --mode=link /usr/src/gcc/obj89/gcc/gcj -B/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava/ -B/usr/src/gcc/obj89/gcc/ -L/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava -ffloat-store -fomit-frame-pointer -g -O2  -m32 -m32 -o ecjx -findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.GCCMain -Djava.class.path=/usr/share/java/eclipse-ecj.jar  -L/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava/.libs
libtool: link: /usr/src/gcc/obj89/gcc/gcj -B/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava/ -B/usr/src/gcc/obj89/gcc/ -ffloat-store -fomit-frame-pointer -g -O2 -m32 -m32 -o ecjx -findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.GCCMain -Djava.class.path=/usr/share/java/eclipse-ecj.jar  -L/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava -L/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava/.libs
gcj: no input files
make[4]: *** [ecjx] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/usr/src/gcc/obj89/x86_64-unknown-linux-gnu/32/libjava'
make[3]: *** [all-recursive] Error 1

which is correct, there aren't any input files on the gcj command line, only options.

	Jakub


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