Re: 45-cross-compilation

2000-05-18 Thread Akim Demaille
| On May 16, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: | > + Either we cross-compile the whole package, or we don't. | > + Using --host explicitly enables cross-compilation. | | Ok | | > +AC_MSG_WARN([the C compiler is not a cross compiler as was expected]);; | | I'm not sure I li

Re: 45-cross-compilation

2000-05-18 Thread Paul D. Smith
%% Akim Demaille <[EMAIL PROTECTED]> writes: >> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> I agree we could have a hard error in case the user doesn't Alexandre> specify --host but an executable produced by the compiler Alexandre> won't run. ad> Well, ge

Re: 45-cross-compilation

2000-05-18 Thread Akim Demaille
> "Paul" == Paul D Smith <[EMAIL PROTECTED]> writes: ad> Well, gentlemen, I think a major step forward has just been made. ad> Paul must be very happy, it's been years that he militated for ad> this :) Paul> I'm breakin' out the champagne and virtually toasting you! :) Hips! Thanks! :) Pa

"Generated automatically" notes

2000-05-18 Thread Peter Eisentraut
Hi, couldn't configure kill the second one of these? Cosmetic issue, but anyway. (Perhaps the first one should also say "from config.h.in".) /* config.h. Generated automatically by configure. */ /* config.h.in. Generated automatically from configure.in by autoheader. */ -- Peter Eisentrau

AC_PROG_MKDIR_P

2000-05-18 Thread Peter Eisentraut
Greetings. Independant of whether mkinstalldirs should/will be integrated into `missing' and whether or not calling rmdir -p during uninstall is a good idea (I guess not), I thunk there ought to be macros to handle these situations in any case. So I sat down and wrote some. If there's any interest

Re: suggestion for AC_CHECK_SIZEOF

2000-05-18 Thread Peter Eisentraut
Akim Demaille writes: > Here is my interpretation of your work. That looks very nice, but there is one problem I see: When cross-compiling, AC_CHECK_SIZEOF with a non-existant type seemingly runs forever. Perhaps it should check the existance of the type first. Also, what I'd find useful is a w

Re: "Generated automatically" notes

2000-05-18 Thread Assar Westerlund
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Hi, couldn't configure kill the second one of these? Cosmetic issue, but > anyway. (Perhaps the first one should also say "from config.h.in".) > > /* config.h. Generated automatically by configure. */ > /* config.h.in. Generated automatically from

Re: suggestion for AC_CHECK_SIZEOF

2000-05-18 Thread Peter Eisentraut
Alexandre Oliva writes: > >[The number of bytes in a `]$1['.]) > ^ chars, actually > > sizeof(char) == 1 always holds, but it doesn't have to be a byte. K&R1 says: "The expression `sizeof(object)' yields an integer equal to the size o

Re: suggestion for AC_CHECK_SIZEOF

2000-05-18 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> Really cute :-) Congrats, Thanks :) I still wonder about the name (_AC_COMPUTE etc.). I don't know too well. Alexandre> sizeof(char) == 1 always holds, but it doesn't have to be a Alexandre> byte. Aha! indeed. Than

Re: 45-cross-compilation

2000-05-18 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> I agree we could have a hard error in case the user doesn't Alexandre> specify --host but an executable produced by the compiler Alexandre> won't run. Well, gentlemen, I think a major step forward has just been made. Pau