This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GccPowerpc eabi HowTo - probem with stido functions ( sprintf)
- From: "moshed (sent by Nabble.com)" <lists at nabble dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 30 Oct 2005 00:52:22 -0700 (PDT)
- Subject: Re: GccPowerpc eabi HowTo - probem with stido functions ( sprintf)
- References: <1250042.post@talk.nabble.com> <43613305.8080104@specifix.com>
- Reply-to: moshed <f dot drori at gmail dot com>
Hello,
Following to your response I tried to add -v but doesn't succsed , maybe I locate
on the wrong place.
Please correct to following makefile exmple
-----------------------------------------------------------------------------
ARCH = powerpc-eabi
CC = $(ARCH)-gcc
AS = $(ARCH)-as
LD = $(ARCH)-ld
CFLAGS = -std=gnu99 -mcpu=505 -fsingle-precision-constant -mmultiple -mstring -fno-common -ffast-math -g3 -memb -msdata=eabi -G 26624
CFLAGS += -I c:/555/libumas
LDFLAGS = -T lnk_mpc555_rom.lcf -L -lm -lc
TARG = test_sprintf
OBJ0 = main.o
INC = user.h
all: $(TARG)
$(TARG): $(TARG).rom $(TARG).dump
$(TARG).dump: $(TARG).elf
$(ARCH)-objdump -Sx $< > $@
$(TARG).rom: $(TARG).elf
$(ARCH)-objcopy -O srec $< $@
$(TARG).elf: $(OBJB0) $(OBJ0)
$(LD) -Map $(TARG).map -o $@ $^ $(LDFLAGS)
$(OBJ0): $(INC)
$(TARG)-clean:
rm -rf $(TARG).rom $(TARG).elf $(TARG).dump $(TARG).map
common-clean:
rm -f *.o
clean: $(TARG)-clean common-clean
-----------------------------------------------------------------------------
also if u can replay me ragarding to the gcc powerpc building procedure (please see on the prvious mail)
Thanks
moshe
--
Sent from the gcc - General forum at Nabble.com:
http://www.nabble.com/GccPowerpc-eabi-HowTo---probem-with-stido-functions-%28-sprintf%29-t457952.html#a1273708