On Jul 12, 2000, Martin Wilck <[EMAIL PROTECTED]> wrote:
> I have come across one compiler that returns an exit status of 0
> if compile errors occur :-{
Does it generate an object file? If not, we could just add a test for
the existence of the object file to tell whether compilation succeeded
On Jul 12, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
> Well, this then?
Ok
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org
> > I have come across one compiler that returns an exit status of 0
> > if compile errors occur :-{
>
> Does it generate an object file? If not, we could just add a test for
> the existence of the object file to tell whether compilation succeeded
> or not.
It doesn't - that should work.
--
M
I'm curious if there is a way to make autoconf expand variables
completely. Take the following example:
CP_PREFIX = /usr/local
CP_LIBDIR = $CP_PREFIX/lib
CP_PKGLIBDIR = $CP_LIBDIR/$PACKAGE
AC_SUBST(CP_PREFIX)
AC_SUBST(CP_LIBDIR)
AC_SUBST(CP_PKGLIBDIR)
Now, using this, I have this in one of my f
On Fri, 14 Jul 2000, Martin Wilck wrote:
> > > I have come across one compiler that returns an exit status of 0
> > > if compile errors occur :-{
> >
> > Does it generate an object file? If not, we could just add a test for
> > the existence of the object file to tell whether compilation succee
On Jul 14, 2000, "Thomas E. Dickey" <[EMAIL PROTECTED]> wrote:
> I've seen some compilers generate a zero-length (or nearly-zero ;-)
> object file on error.
But would they *also* fail to return a non-zero exit status?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Re
Dear Thomas E. Dickey, you wrote on Today:
> I've seen some compilers generate a zero-length (or nearly-zero ;-)
> object file on error. (no, I don't recall which ones)
That's why we should use test -s rather than test -f, like AC_LINK_IFELSE.
--
Martin Wilck <[EMAIL PROTECTED]>
Institute for
On 14 Jul 2000, Alexandre Oliva wrote:
> On Jul 14, 2000, "Thomas E. Dickey" <[EMAIL PROTECTED]> wrote:
>
> > I've seen some compilers generate a zero-length (or nearly-zero ;-)
> > object file on error.
>
> But would they *also* fail to return a non-zero exit status?
if I remembered (or had ac
On Fri, 14 Jul 2000, Martin Wilck wrote:
> Dear Thomas E. Dickey, you wrote on Today:
>
> > I've seen some compilers generate a zero-length (or nearly-zero ;-)
> > object file on error. (no, I don't recall which ones)
>
> That's why we should use test -s rather than test -f, like AC_LINK_IFELS