This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mingw-w64 cross compiling


2012/9/18 Christer Solskogen:

> The patch fixed that, but now I've got a new one.
>
> make[3]: Entering directory
> `/home/solskogen/obj/_build/gcc.native.x86_64-w64-mingw32/libbacktrace'
> /bin/sh ./libtool --tag=CC   --mode=compile x86_64-w64-mingw32-gcc
> -DHAVE_CONFIG_H -I. -I/home/solskogen/mingw-w64-builder/gcc/libbacktrace
> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -Werror -I
> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/../include -I ../libgcc
> -O2 -pipe -march=corei7 -D__USE_MINGW_ACCESS -MT posix.lo -MD -MP -MF
> .deps/posix.Tpo -c -o posix.lo
> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c
> libtool: compile:  x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I.
> -I/home/solskogen/mingw-w64-builder/gcc/libbacktrace -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -Werror -I
> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/../include -I ../libgcc
> -O2 -pipe -march=corei7 -D__USE_MINGW_ACCESS -MT posix.lo -MD -MP -MF
> .deps/posix.Tpo -c
> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c -o posix.o
> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c: In function
> 'backtrace_open':
> /home/solskogen/mingw-w64-builder/gcc/libbacktrace/posix.c:71:3: error:
> implicit declaration of function 'fcntl'
> [-Werror=implicit-function-declaration]
>    fcntl (descriptor, F_SETFD, FD_CLOEXEC);
>    ^

Today when trying to build trunk, I encountered this error. But has
not yet figured out how to fix it...


-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]