URL
https://opencores.org/ocsvn/aemb/aemb/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 32 |
Rev 40 |
Line 1... |
Line 1... |
#!/bin/sh
|
#!/bin/sh
|
# $Id: gccrom,v 1.4 2007-04-30 15:57:31 sybreon Exp $
|
# $Id: gccrom,v 1.5 2007-10-22 19:14:38 sybreon Exp $
|
# $Log: not supported by cvs2svn $
|
# $Log: not supported by cvs2svn $
|
|
# Revision 1.4 2007/04/30 15:57:31 sybreon
|
|
# Modified compilation sequence.
|
|
#
|
# Revision 1.3 2007/04/25 22:15:06 sybreon
|
# Revision 1.3 2007/04/25 22:15:06 sybreon
|
# Added support for 8-bit and 16-bit data types.
|
# Added support for 8-bit and 16-bit data types.
|
#
|
#
|
# Revision 1.2 2007/04/04 06:14:39 sybreon
|
# Revision 1.2 2007/04/04 06:14:39 sybreon
|
# Minor changes
|
# Minor changes
|
#
|
#
|
# Revision 1.1 2007/03/09 17:41:56 sybreon
|
# Revision 1.1 2007/03/09 17:41:56 sybreon
|
# initial import
|
# initial import
|
#
|
#
|
#mb-gcc -g -mxl-soft-div -mxl-soft-mul -msoft-float -mno-clearbss -msmall-divides -mno-memcpy -mno-xl-gp-opt -o rom.o $@ && \
|
#mb-gcc -g -mxl-soft-div -mxl-soft-mul -msoft-float -mno-clearbss -msmall-divides -mno-memcpy -mno-xl-gp-opt -o rom.o $@ && \
|
mb-gcc -g -mxl-soft-div -mxl-soft-mul -msoft-float -o rom.o $@ && \
|
mb-gcc -g -mstats -mxl-soft-div -mxl-soft-mul -msoft-float -o rom.o $@ && \
|
#mb-run -v rom.o 2> rom.run && \
|
#mb-run -v rom.o 2> rom.run && \
|
mb-objcopy -O binary rom.o rom.bin && \
|
mb-objcopy -O binary rom.o rom.bin && \
|
hexdump -v -e'1/4 "%.8X\n"' rom.bin > ../sim/aeMB.rom && \
|
hexdump -v -e'1/4 "%.8X\n"' rom.bin > ../sim/aeMB.rom && \
|
mb-objdump -DSCs rom.o > rom.dump && \
|
mb-objdump -DSCs rom.o > rom.dump && \
|
rm rom.bin && \
|
rm rom.bin && \
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.