Use the CS toolchain by default:
http://www.codesourcery.com/sgpp/lite/arm/portal/release642
This commit is contained in:
parent
3ec4b267fc
commit
47fe336c51
|
@ -18,7 +18,7 @@ endef
|
|||
# Tools and flags
|
||||
|
||||
# Set up cross compiler and toolchain definitions.
|
||||
CROSS_COMPILE ?= arm-linux-
|
||||
CROSS_COMPILE ?= arm-none-eabi-
|
||||
AS = $(CROSS_COMPILE)as
|
||||
LD = $(CROSS_COMPILE)ld
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
|
|
|
@ -48,20 +48,20 @@
|
|||
printf("): %d\n", sizeof(x)); \
|
||||
} while(0)
|
||||
|
||||
FILE *stderr;
|
||||
/* FILE *stderr; */
|
||||
|
||||
void __assert_fail(void) {
|
||||
return;
|
||||
}
|
||||
/* void __assert_fail(void) { */
|
||||
/* return; */
|
||||
/* } */
|
||||
|
||||
int fputs(const char *s, FILE *stream) {
|
||||
return 0;
|
||||
}
|
||||
/* int fputs(const char *s, FILE *stream) { */
|
||||
/* return 0; */
|
||||
/* } */
|
||||
|
||||
size_t fwrite(const void *ptr, size_t size, size_t nmemb,
|
||||
FILE *stream) {
|
||||
return 0;
|
||||
}
|
||||
/* size_t fwrite(const void *ptr, size_t size, size_t nmemb, */
|
||||
/* FILE *stream) { */
|
||||
/* return 0; */
|
||||
/* } */
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue