This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Building libgcj on Linux/Alpha
Tom Tromey wrote:
> Jeff> There is another small problem in boehm-gc... the
> Jeff> alpha_mach_dep.s file has preprocessor symbols, and the current
> Jeff> Makefile runs "as alpha_mach_dep.s" which fails on Linux. I got
> Jeff> past by renaming it to alpha_mach_dep.S and compiling with "gcc
> Jeff> -c alpha_mach_dep.S". Since patch isn't very friendly to
> Jeff> renaming files, is there a cleaner workaround?
>
> It seems like this ought to just work.
> boehm-gc/Makefile.am has this:
>
> .s.o:
> $(LTCOMPILE) -x assembler-with-cpp -c $<
>
> Can you find out why this rule is not being used?
hmm... good question. I realize that boehm-gc/Makefile has been
completely rewritten for automake; I wasn't taking that into account.
I'll try it again tonight. I just noticed configure.in has a special
case for alpha:
case "$host" in
alpha-*-*)
machdep="alpha_mach_dep.lo"
;;
Since config.guess says my machine is "alphapca56-unknown-linux-gnu" I
guess it fails that test...
> Are you sending the GC patches to Boehm as well?
Yes. I actually coded and tested it against 4.14. I want to look over
the dynamic loading stuff though before I pass it along.
BTW I noticed some line-wrap in my patch... including it in the body of
my message is probably not such a great idea. You can also fetch it
from http://people.sigma6.com/~jsturm/libgcj.patch.
--
Jeff Sturm
jsturm@sigma6.com