This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
Re: libgcj/120: libffi configure script doesn't honour "--with-as"
- To: tromey at cygnus dot com
- Subject: Re: libgcj/120: libffi configure script doesn't honour "--with-as"
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: 18 Dec 1999 01:16:00 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Bryce McKinlay <bryce at albatross dot co dot nz>
The following reply was made to PR libgcj/120; it has been noted by GNATS.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: Tom Tromey <tromey@cygnus.com>
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: libgcj/120: libffi configure script doesn't honour "--with-as"
Date: Sat, 18 Dec 1999 14:11:33 +1300
Tom Tromey wrote:
> My understanding is that libffi just uses whatever assembler gcc is
> configured to use -- it runs the assembler via the gcc front end.
> So it seems like you could work around this using the appropriate -B
> option, or by configuring gcc a different way.
>
> I guess we could recognize --with-as=... and set the -B option
> automatically, but that seems a bit ugly (and perhaps error-prone; I
> don't know the issues).
Would it be practical to change libffi to call the assembler directly
(like other parts of libgcj presumably do) rather than via gcc? This
would probibly be more robust than mapping --with-as to -B.
regards
[ bryce ]