pc386 RTEMS Makefile
Ze Manel
zemanel at gmail.com
Wed Mar 21 15:33:52 UTC 2007
Hi, I'm trying to figure out how an rtems-aplication is generated for i386
arch bsp=pc386
I get confused in pc386.cfg
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \
-o $(basename $@).obj \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O elf32-i386 \
--remove-section=.rodata \
--remove-section=.comment \
--remove-section=.note \
--strip-unneeded $(basename $@).obj $@
$(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
$(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
$(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
$(NM) -g -n $(basename $@).obj > $(basename $@).num
$(SIZE) $(basename $@).obj
.
.
.
...
in make-exe I can't find where some macros are being defined. I'm talking
about $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS)
$(LINK_OBJS) $(LINK_LIBS) $(OBJCOPY). where are these macros definesd?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070321/0823229a/attachment.html>
More information about the users
mailing list