Use the CS toolchain by default:

http://www.codesourcery.com/sgpp/lite/arm/portal/release642
This commit is contained in:
Mariano Alvira 2010-11-17 15:02:35 -05:00
parent 3ec4b267fc
commit 47fe336c51
2 changed files with 12 additions and 12 deletions

View file

@ -18,7 +18,7 @@ endef
# Tools and flags # Tools and flags
# Set up cross compiler and toolchain definitions. # Set up cross compiler and toolchain definitions.
CROSS_COMPILE ?= arm-linux- CROSS_COMPILE ?= arm-none-eabi-
AS = $(CROSS_COMPILE)as AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld LD = $(CROSS_COMPILE)ld
CC = $(CROSS_COMPILE)gcc CC = $(CROSS_COMPILE)gcc

View file

@ -48,20 +48,20 @@
printf("): %d\n", sizeof(x)); \ printf("): %d\n", sizeof(x)); \
} while(0) } while(0)
FILE *stderr; /* FILE *stderr; */
void __assert_fail(void) { /* void __assert_fail(void) { */
return; /* return; */
} /* } */
int fputs(const char *s, FILE *stream) { /* int fputs(const char *s, FILE *stream) { */
return 0; /* return 0; */
} /* } */
size_t fwrite(const void *ptr, size_t size, size_t nmemb, /* size_t fwrite(const void *ptr, size_t size, size_t nmemb, */
FILE *stream) { /* FILE *stream) { */
return 0; /* return 0; */
} /* } */
int main(void) int main(void)
{ {