HELP on compiling BASIC C Source Code
|
05-03-2014, 07:26 PM
Post: #1
|
|||
|
|||
HELP on compiling BASIC C Source Code
Hi,
I found the "C" Source Code of "My-BASIC" (https://code.google.com/p/my-basic/) and I am trying to compile it with HPGCC 2.0 Win. The HPGCC compiler is giving following errors: > "dmake" main.hp arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-pointer -msoft-float -Wall -Os -pipe -mthumb-interwork -mthumb -IH:\HPGCC-2.0-native-win32-SP2/include -I.. -c main.c -o main.o main.c:36:27: error: unistd.h: No such file or directory main.c:38:20: error: assert.h: No such file or directory main.c: In function '_destroy_code': main.c:78: warning: implicit declaration of function 'assert' main.c: In function '_load_file': main.c:151: warning: implicit declaration of function 'ftell' main.c: In function '_clear_screen': main.c:227: warning: implicit declaration of function 'system' main.c: In function '_list_program': main.c:240: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type main.c:241: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type main.c: In function '_edit_program': main.c:272: warning: passing argument 1 of 'atoi' discards qualifiers from pointer target type main.c: In function '_kill_program': main.c:316: warning: implicit declaration of function 'unlink' main.c: In function '_do_line': main.c:362: warning: implicit declaration of function 'strcasecmp' make: *** [main.o] Error 1 > Process Exit Code: 2 > Time Taken: 00:00 Can someone be so kind to tell me what should I do so that I get it compiled properly. Thank You Alvaro |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)