-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with the installaion #145
Comments
Thank you !!! I will try this ASAP |
Hello |
Hi everyone, |
Hello @atzurk - now I am again having problems to compile cpctelera on macOS with silicon (although I did manage somehow with using more recent sdcc similar like you did) Could you please share your source base so I could try to compile? |
installing on Mac OS X m1
i have this error
[1;31;49m[ToolMaker]^[[1;33;49m Building 2cdt...^[[0;39;49m
gcc -O3 -fsigned-char -DUNIX src/2cdt.c -c -o obj/2cdt.o
src/2cdt.c:188:19: warning: multiple unsequenced modifications to 'aux' [-Wunsequenced]
aux = (aux <<= 1) ^ kCRCpoly;
~ ^
src/2cdt.c:898:35: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pTapeFilename = optarg;
^ ~~~~~~
src/2cdt.c:1000:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pSourceFilename = argv[optind];
^ ~~~~~~~~~~~~
src/2cdt.c:1001:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
pDestFilename = argv[optind+1];
^ ~~~~~~~~~~~~~~
src/2cdt.c:1040:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (Host_LoadFile(pSourceFilename, &pData, &DataLength))
^~~~~~~~~~~~~~~
src/2cdt.c:99:32: note: passing argument to parameter 'Filename' here
BOOL Host_LoadFile(const char *Filename, unsigned char **pLocation, unsigned long *pLength)
^
src/2cdt.c:1137:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
int nLength = strlen(pTapeFilename);
^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t strlen(const char *__s);
^
src/2cdt.c:1142:41: error: implicitly declaring library function 'toupper' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
TapeHeader[i] = toupper(pTapeFilename[i]);
^
src/2cdt.c:1142:41: note: include the header <ctype.h> or explicitly provide a declaration for 'toupper'
src/2cdt.c:1268:8: error: implicit declaration of function 'TZX_AppendFile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
TZX_AppendFile(pTZXFile, pDestFilename);
^
6 warnings and 2 errors generated.
make[1]: *** [obj/2cdt.o] Error 1
make: *** [2cdt] Error 2
The text was updated successfully, but these errors were encountered: