[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation problem in libcruft/misc: smachar.c does not exist
From: |
Michael Goffioul |
Subject: |
Re: Compilation problem in libcruft/misc: smachar.c does not exist |
Date: |
Thu, 12 Jun 2008 16:29:08 +0200 |
On Thu, Jun 12, 2008 at 4:25 PM, David Bateman
<address@hidden> wrote:
> smachar.d is not supposed to be created at all, as only machar.d is
> relevant. smachar.c doesn't exist, and there is a special rule to create
> smachar.o and machar.i in libcruft/misc/Makefile.in, these being
>
> machar.o: $(srcdir)/machar.c
> $(XCC) -c $(CPPFLAGS) $(XALL_CFLAGS) -DDP $< -o $@
>
> smachar.o: $(srcdir)/machar.c
> $(XCC) -c $(CPPFLAGS) $(XALL_CFLAGS) -DSP $< -o $@
>
> pic/machar.o: $(srcdir)/machar.c
> $(XCC) -c $(CPPFLAGS) $(CPICFLAG) $(XALL_CFLAGS) -DDP $< -o $@
>
> pic/smachar.o: $(srcdir)/machar.c
> $(XCC) -c $(CPPFLAGS) $(CPICFLAG) $(XALL_CFLAGS) -DSP $< -o $@
>
> and as you can see both are built from machar.c with different flags.
Those 2 lines (from libcruft/misc/Makefile.in)
CEXTRA = smachar.c
MAKEDEPS := $(patsubst %.c, %.d, $(CSRC) $(CEXTRA)) $(patsubst %.cc,
%.d, $(CXXSRC))
effectively creates smachar.d, right? Don't you have those lines?
Michael.
- Compilation problem in libcruft/misc: smachar.c does not exist, Michael Goffioul, 2008/06/12
- Re: Compilation problem in libcruft/misc: smachar.c does not exist, David Bateman, 2008/06/12
- Re: Compilation problem in libcruft/misc: smachar.c does not exist, Michael Goffioul, 2008/06/12
- Re: Compilation problem in libcruft/misc: smachar.c does not exist, David Bateman, 2008/06/12
- Re: Compilation problem in libcruft/misc: smachar.c does not exist,
Michael Goffioul <=
- Re: Compilation problem in libcruft/misc: smachar.c does not exist, Jaroslav Hajek, 2008/06/12
- Re: Compilation problem in libcruft/misc: smachar.c does not exist, David Bateman, 2008/06/12
- Re: Compilation problem in libcruft/misc: smachar.c does not exist, Michael Goffioul, 2008/06/12
- {Changeset]: Re: Compilation problem in libcruft/misc: smachar.c does not exist, David Bateman, 2008/06/12
- {Changeset]: Re: Compilation problem in libcruft/misc: smachar.c does not exist, John W. Eaton, 2008/06/12