Could someone help me with cygwin please? August 25, 2009 09:45PM | Registered: 14 years ago Posts: 5,075 |
make: gcc: command not found
Re: Could someone help me with cygwin please? August 26, 2009 05:49AM | Registered: 15 years ago Posts: 444 |
Re: Could someone help me with cygwin please? August 26, 2009 01:04PM | Registered: 14 years ago Posts: 5,075 |
Re: Could someone help me with cygwin please? August 26, 2009 05:24PM | Registered: 14 years ago Posts: 5,075 |
Inspiron 6000@DGDFDW1J /cygdrive/c/update_downloader $ make gcc -c -Wall -O2 aes.c -o aes.o gcc -c -Wall -O2 main.c -o main.o In file included from main.c:33: endian.h: In function `be64': endian.h:28: warning: integer constant is too large for "long" type endian.h:29: warning: integer constant is too large for "long" type endian.h:30: warning: integer constant is too large for "long" type main.c: In function `get_title_key': main.c:78: warning: implicit declaration of function `aes_set_key' main.c: In function `download_all_versions': main.c:314: error: too many arguments to function `mkdir' main.c: In function `main': main.c:371: error: too many arguments to function `mkdir' make: *** [main.o] Error 1 rm aes.o
Re: Could someone help me with cygwin please? August 29, 2009 02:47AM | Registered: 15 years ago Posts: 499 |
Re: Could someone help me with cygwin please? August 29, 2009 06:05AM | Registered: 15 years ago Posts: 444 |
gccif it says
gcc: no input filesthen restart Cygwin and type gcc it should say the same, If it does your good. if it doesn't say it on windows then you did something wrong. Then you could install Dev-cpp, which uses gcc for it's compiler, and everything should work.
Re: Could someone help me with cygwin please? August 29, 2009 02:04PM | Registered: 15 years ago Posts: 499 |
Re: Could someone help me with cygwin please? August 29, 2009 02:07PM | Registered: 14 years ago Posts: 5,075 |
Re: Could someone help me with cygwin please? August 29, 2009 04:08PM | Registered: 15 years ago Posts: 499 |
Re: Could someone help me with cygwin please? August 29, 2009 04:15PM | Registered: 14 years ago Posts: 5,075 |
Re: Could someone help me with cygwin please? August 29, 2009 05:55PM | Registered: 14 years ago Posts: 5,075 |
Quote
DanielHueho
MinGW GCC != Cygwin GCC, hence the errors
You should just change the makefiles to point to the gcc-3.exe instead of just gcc.exe...