Hola, el tema es el siguiente:
Estoy intentando compilar un compilador cruzado de Pascal para MIPS desde Cygwin, para ello he seguido los pasitos que vienen en los txt de GCC, pues bien, he llegado al punto en que tras hacer
.../GCC/configure --enable-languages=c,pascal --target=mips
--with-gnu-as --with-gnu-ld
y salir mas o menos bien, cuando hago el "make" despues de un buen rato me salta:
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [p/rts/Makefile] Error 1
He estado mirando por mil sitios y estoy por pegarme un tiro (nooo)
Os meto el config.log por si veis algo que se me haya escapado...
Estoy intentando compilar un compilador cruzado de Pascal para MIPS desde Cygwin, para ello he seguido los pasitos que vienen en los txt de GCC, pues bien, he llegado al punto en que tras hacer
.../GCC/configure --enable-languages=c,pascal --target=mips
--with-gnu-as --with-gnu-ld
y salir mas o menos bien, cuando hago el "make" despues de un buen rato me salta:
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [p/rts/Makefile] Error 1
He estado mirando por mil sitios y estoy por pegarme un tiro (nooo)
Os meto el config.log por si veis algo que se me haya escapado...
QUOTE ("config.log") |
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:599: checking LIBRARY_PATH variable configure:624: checking GCC_EXEC_PREFIX variable configure:965: checking host system type configure:986: checking target system type configure:1004: checking build system type configure:1031: checking for gcc configure:1144: checking whether the C compiler (gcc ) works configure:1160: gcc -o conftest conftest.c 1>&5 configure:1186: checking whether the C compiler (gcc ) is a cross-compiler configure:1191: checking whether we are using GNU C configure:1219: checking whether gcc accepts -g configure:1262: checking whether make sets ${MAKE} configure:1290: checking whether a default assembler was specified configure:1302: checking whether a default linker was specified configure:1319: checking for gawk configure:1351: checking for flex configure:1385: checking for yywrap in -lfl configure:1427: checking whether ln works configure:1459: checking whether ln -s works configure:1491: checking for volatile configure:1526: checking for ranlib configure:1558: checking for bison configure:1599: checking for a BSD compatible install configure:1650: checking how to run the C preprocessor configure:1730: checking for ANSI C header files configure:1834: checking whether time.h and sys/time.h may both be included configure:1869: checking whether string.h and strings.h may both be included configure:1903: checking for sys/wait.h that is POSIX.1 compatible configure:1948: checking for limits.h configure:1948: checking for stddef.h configure:1948: checking for string.h configure:1948: checking for strings.h configure:1948: checking for stdlib.h configure:1948: checking for time.h configure:1948: checking for fcntl.h configure:1948: checking for unistd.h configure:1948: checking for stab.h configure:1948: checking for sys/file.h configure:1948: checking for sys/time.h configure:1948: checking for sys/resource.h configure:1948: checking for sys/param.h configure:1948: checking for sys/times.h configure:1948: checking for sys/stat.h configure:1948: checking for direct.h configure:1988: checking for thread.h configure:2022: checking for pthread.h configure:2059: checking for gnatbind configure:2090: checking whether cpp understands the stringify operator configure:2126: checking for inttypes.h configure:2165: checking for strtoul configure:2165: checking for bsearch configure:2165: checking for strerror configure:2165: checking for putenv configure:2165: checking for popen configure:2165: checking for bcopy configure:2165: checking for bzero configure:2165: checking for bcmp configure:2165: checking for index configure:2165: checking for rindex configure:2165: checking for strchr configure:2165: checking for strrchr configure:2165: checking for kill configure:2165: checking for getrlimit configure:2165: checking for setrlimit configure:2165: checking for atoll configure:2165: checking for atoq configure:2165: checking for sysconf configure:2165: checking for isascii configure:2165: checking for gettimeofday configure:2165: checking for strsignal configure:2165: checking for putc_unlocked configure:2165: checking for fputc_unlocked configure:2165: checking for fputs_unlocked configure:2222: checking for vprintf configure:2338: checking whether the printf functions support %p configure:2392: checking for pid_t configure:2426: checking for vfork.h configure:2461: checking for working vfork configure:2640: checking whether malloc must be declared configure:2640: checking whether realloc must be declared configure:2640: checking whether calloc must be declared configure:2640: checking whether free must be declared configure:2640: checking whether bcopy must be declared configure:2640: checking whether bzero must be declared configure:2640: checking whether bcmp must be declared configure:2640: checking whether index must be declared configure:2640: checking whether rindex must be declared configure:2640: checking whether getenv must be declared configure:2640: checking whether atol must be declared configure:2640: checking whether sbrk must be declared configure:2640: checking whether abort must be declared configure:2640: checking whether atof must be declared configure:2640: checking whether strerror must be declared configure:2640: checking whether getcwd must be declared configure:2640: checking whether getwd must be declared configure:2640: checking whether strsignal must be declared configure:2640: checking whether putc_unlocked must be declared configure:2640: checking whether fputs_unlocked must be declared configure:2640: checking whether strstr must be declared configure:2707: checking whether getrlimit must be declared configure:2707: checking whether setrlimit must be declared configure:2776: checking for sys_siglist declaration in signal.h or unistd.h configure:2816: checking if mkdir takes one argument configure:6044: checking for strerror in -lcposix configure:6086: checking for working const configure:6161: checking for inline configure:6201: checking for off_t configure:6234: checking for size_t configure:6269: checking for working alloca.h configure:6302: checking for alloca configure:6504: checking for unistd.h configure:6543: checking for getpagesize configure:6596: checking for working mmap configure:6772: checking for argz.h configure:6772: checking for limits.h configure:6772: checking for locale.h configure:6772: checking for nl_types.h configure:6772: checking for malloc.h configure:6772: checking for string.h configure:6772: checking for unistd.h configure:6772: checking for sys/param.h configure:6812: checking for getcwd configure:6812: checking for munmap configure:6812: checking for putenv configure:6812: checking for setenv configure:6812: checking for setlocale configure:6812: checking for strchr configure:6812: checking for strcasecmp configure:6812: checking for strdup configure:6812: checking for __argz_count configure:6812: checking for __argz_stringify configure:6812: checking for __argz_next configure:6931: checking for LC_MESSAGES configure:6964: checking whether NLS is requested configure:8051: checking assembler alignment features configure:8172: checking assembler subsection support configure:8212: checking assembler instructions [/quote] #2
General Programadores / Problemillas con "feof"24 de Abril de 2003, 11:18:42 PM
Estoy haciendo un programa que debe leer todas las palabras de un texto que esta en un archivo, el archivo se carga correctamente, leo las palabras, pero para hacerlo parar quiero hacer un bucle hasta que llegue al final del fichero.
He pensado hacer el bucle de esta forma: while(feof(mifichero)!=0) { ... } pero depurando veo que feof(mifichero) devuelve 0 en ese momento. He abierto el fichero de esta forma: mifichero = fopen("texto.txt","r"); Uso Dev-C++ Alguna idea? Gracias. #3
General / Cuestion sobre Linux01 de Enero de 1970, 01:00:00 AM
A ver, debe ser mu sencillo pero no logro acerlo.
Tengo linux en una particion desde ace unos dias. Me baje programas para linux pero no soy capaz de instalarlos y cuando intento ejecutar el .exe pasa de mi como de comer mierda. Alguien podria ayudarme?? muxas thx!! Un Saludo! #4
General Programadores / Ayudita con Visual C++ 601 de Enero de 1970, 01:00:00 AM
Wenass a todos, os cuento, yo tengo algunos conocimetos de código para c++ 3.1 y quiero dar el salto al visual c++, pos bien, solo quiero q me digais paso por paso cómo puedo hacer un programita tan sencillo como poner en pantalla un texto, una vez q sepa eso yo creo q sabre seguir bastante bien yo solo, muchas gracias.
Páginas1
Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante. Muchísimas gracias. |