Re: depcomp on system headers

2006-08-08 Thread David Everly
While I was writing this email I received this one from HP: "Well, I got a response from the lab, but not the one I was hoping for. They took your test suite and said that they can dup the problem with A.06.06, but when they tested with the latest version of the compiler (A.06.10) they couldn't

Re: depcomp on system headers

2006-08-08 Thread David Everly
I've responded to Ralf's questions, but will try to answer these also: On 8/8/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: Hello, On Tue, Aug 08, 2006 at 06:08:39AM -0600, David Everly wrote: > [ incorrect deps reported by me here ] I do not have much experience with depcomp, but this looks lik

Re: depcomp on system headers

2006-08-08 Thread David Everly
Here I try to answer all the questions. Please let me know if I missed any. On 8/8/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: * David Everly wrote on Tue, Aug 08, 2006 at 12:56:12AM CEST: > > I think my problem happens because what our vendor does is #include > inside of rw/numbrw Yes, I

Re: depcomp on system headers

2006-08-08 Thread Stepan Kasal
Hello, On Tue, Aug 08, 2006 at 06:08:39AM -0600, David Everly wrote: > /opt/aCC/include_std/rw/numbrw: /opt/aCC/include_std/rw/numbrw.cc > /opt/aCC/include_std/rw/numbrwcc: > > My point was to note that numbrw depends on numbrw.cc, and that > numbrw.cc was modified _later_ than numbrw. I do not

Re: Multilib support

2006-08-08 Thread Stepan Kasal
Hello, On Tue, Aug 08, 2006 at 08:18:32PM +0800, Tzu-Chien Chiu wrote: > I need to build *both* the native and the cross-compiled library > at the same time (one-time configure script and make), rather than > *either one* of them. FWIIW, the Texinfo configure does this: if a cross compile build i

Re: Multilib support

2006-08-08 Thread Tzu-Chien Chiu
Hello, Ralf. I found gcc and newlib don't use AM_ENABLE_MULTILIB, instead TARGET_SUBDIR is set. ChangeLog (gcc 3.4.4): Thu Jun 19 14:16:42 1997 Brendan Kehoe <[EMAIL PROTECTED]> * configure.in: Don't set ENABLE_MULTILIB, so we'll be passing --enable-multilib down to subdirs; se

Re: depcomp on system headers

2006-08-08 Thread Ralf Wildenhues
Hello David, * David Everly wrote on Tue, Aug 08, 2006 at 02:08:39PM CEST: > On 8/8/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > >* David Everly wrote on Tue, Aug 08, 2006 at 12:56:12AM CEST: > > > >> Thus, you get deps like this: > >> > >> rw/numbrw: rw/numbrw.cc > >> rw/numbrwcc: > > My apo

Re: depcomp on system headers

2006-08-08 Thread David Everly
On 8/8/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: * David Everly wrote on Tue, Aug 08, 2006 at 12:56:12AM CEST: > > I think my problem happens because what our vendor does is #include > inside of rw/numbrw Yes, I see that too with the compiler version I'm looking at. > Thus, you get deps l

Re: Multilib support

2006-08-08 Thread Ralf Wildenhues
Hello Tzu-Chien, * Tzu-Chien Chiu wrote on Tue, Aug 08, 2006 at 11:37:41AM CEST: > > I need to build a native library and a cross-compiled libarary from > the same set of source files, but I don't find any method to specify > per-target compiler. > I read the manual and guessed that AM_ENABLE_MU

Multilib support

2006-08-08 Thread Tzu-Chien Chiu
Hello everyone. I need to build a native library and a cross-compiled libarary from the same set of source files, but I don't find any method to specify per-target compiler. LISTING: configure.ac AC_CANONICAL_SYSTEM AC_PROG_CC CC_FOR_BUILD=gcc AC_SUBSET(CC_FOR_BUILD) LISTING: Makefile.am lib