Changeset cc8a388a in rtems for make/compilers


Ignore:
Timestamp:
Jul 10, 1998, 2:13:59 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
dbfa3148
Parents:
32067a30
Message:

Patch from Ralf Corsepius <corsepiu@…>. Comments:

It seems that rules for %{EXEEXT} don't exist in gcc-target-default.cfg

No, gcc-target-default.cfg is used to compile executables for the target
only, not for the host.

EXEEXT may only be used for programs to be run on the host.

What should I add please?

This was a bug in my initial configuration patch to rtems-980616. A
correction to this patch I had sent to Joel at 26.06.98 doesn't seem to
have made it into the snapshot.

Please find attached the patch I had sent to Joel, hopefully this patch
fixes this problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/compilers/gcc-target-default.cfg

    r32067a30 rcc8a388a  
    204204# Specify our own default rule for this to prevent having CFLAGS and
    205205#  CPPFLAGS being passed to linker
    206 ${ARCH}/%: ${ARCH}/%.o
     206${ARCH}/%$(EXEEXT): ${ARCH}/%.o
    207207        ${CC} ${LDFLAGS} -o $@ $@.o ${LD_LIBS}
    208208
     
    212212
    213213# create $(ARCH)/pgm from pgm.sh
    214 ${ARCH}/%: %.sh
     214${ARCH}/%$(EXEEXT): %.sh
    215215        $(RM) $@
    216216        $(CP) $< $@
Note: See TracChangeset for help on using the changeset viewer.