gnupic: Re: [gnupic] GPSim - was Re: [gnupic] What simulator for 18F2580 to use ?
Subject:
Re: [gnupic] GPSim - was Re: [gnupic] What simulator for 18F2580
to use ?
From:
Borut Razem ####@####.####
Date:
28 Oct 2008 06:16:18 -0000
Message-Id: <4906AE2D.7090904@siol.net>
Hello Vaclav,
my cygwin version is:
bash-3.2$ uname -srv
CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34
gcc version is:
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Function fgetwc is declared in /usr/include/mingw/stdio.h and in
/usr/include/mingw/wchar.h.
Borut
Vaclav Peroutka wrote:
> Hi Borut, sorry for the late replay.
>
> I did the steps you described. But the result is the same to the one
> from cygwin environment. I got the same result - see below. I just
> left cygwin/bin in the PATH. there is no mingw at all. It seems to me
> that there is incompatibility between unicode and non-unicode
> environments. Could you report which gcc do you use ? I will try to
> update my gcc in cygwin. Maybe it will help.
>
> Vaclav
>
> D:\V\sw\GPSim_devel\trunk>echo %PATH%
> c:\cygwin\bin
>
> D:\V\sw\GPSim_devel\trunk>make -f makefile.mingw
> for D in cli src src/dspic gui gpsim modules; do make -C $D -f
> makefile.mingw all; done
> make[1]: Entering directory `/cygdrive/d/V/sw/GPSim_devel/trunk/cli'
> c++ -mno-cygwin -mtune=pentium -mms-bitfields -O2 -I ../.. -I
> ../plat/win32 -I /cygdrive/d/V/install/GTK_2.0/include/gli
> b-2.0 -I /cygdrive/d/V/install/GTK_2.0/lib/glib-2.0/include -I
> /cygdrive/d/V/install/GTK_2.0/include/gtk-2.0 -I /cygdriv
> e/d/V/install/GTK_2.0/lib/gtk-2.0/include -I
> /cygdrive/d/V/install/GTK_2.0/include/cairo -I
> /cygdrive/d/V/install/GTK_2.
> 0/include/pango-1.0 -I /cygdrive/c/cygwin/usr/include -DHAVE_READLINE
> -DHAVE_GUI -DHAVE_NSCLEAN_READLINE -DUSE_READLINE_
> DLL -DYYSTACK_USE_ALLOCA -DHAVE_SOCKETS -Wall -Wno-format -c
> cmd_attach.cc -o cmd_attach.o
> In file included from
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/postypes.h:46,
> from
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iosfwd:50,
> from
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ios:44,
> from
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/ostream:45,
> from
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:45,
> from cmd_attach.cc:22:
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:146: error:
> `::fgetwc' has not been declared
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:147: error:
> `::fgetws' has not been declared
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:148: error:
> `::fputwc' has not been declared
> .
> .
> .