stdio.h is present in /usr/include but /usr/include is not present in
the generated makefile as one of the directories to include.  i.e. there
is no "-I /usr/include" in the command line shown below.

-Bill


On Thu, 19 Sep 2002 23:26:59 +0400, dimmy wrote:

>missing 'stdio.h' is something really bad... This has, for example, printf() 
>declaration. Chis file _must_ exist.
>Check if cygwin is installed properly.
>
>~d
>
>
>On Thursday 19 September 2002 22:12, Bill Knight wrote:
>> On suggestion from the list, I downloaded gcc-3.2 and applied the
>> mspgcc-3.3 patches to it.  Again it configured OK but I got the same
>> compile error.
>>
>> /cygdrive/d/CVS/gcc/gcc-3.2/gcc/xgcc -B/cygdrive/d/CVS/gcc/gcc-3.2/gcc/
>>  -B/mspgcc/msp430/bin/ -B/mspgcc/msp430/lib/ -isystem
>> /mspgcc/msp430/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall
>> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
>>  -DDF=SF -Dinhibit_libc -g -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
>> -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include  -DL_muldi3 -c
>> ./libgcc2.c -o libgcc/./_muldi3.o In file included from tconfig.h:16,
>>                  from libgcc2.c:36:
>> config/msp430/msp430.h:47:19: stdio.h: No such file or directory
>>
>> So I could really use some help.  I don't want to just grab a stdio.h and
>> place it somewhere the compiler can find it w/o knowing the pitfalls.
>>
>> -Bill Knight
>> R O SoftWare
>>
>> On Thu, 19 Sep 2002 08:30:23 -0500, Bill Knight wrote:
>> >When I try to build the 20020902 version of mspgcc under Cygwin,
>> > everything configures OK.  However, the compile stage errors out with the
>> > following:
>> >
>> >/cygdrive/d/CVS/gcc/gcc-20020902/gcc/xgcc
>> > -B/cygdrive/d/CVS/gcc/gcc-20020902/gcc/ -B/mspgcc/msp430/bin/
>> > -B/mspgcc/msp430/lib/ -isystem /mspgcc/msp430/include -O2 -DIN_GCC
>> > -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
>> > -Wmissing-prototypes -isystem ./include  -DDF=SF -Dinhibit_libc -g -g
>> > -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./.
>> > -I./config -I./../include  -DL_muldi3 -c ./libgcc2.c -o
>> > libgcc/./_muldi3.o In file included from tconfig.h:16,
>> >                 from libgcc2.c:36:
>> >config/msp430/msp430.h:47:19: stdio.h: No such file or directory
>>
>> -------------------------------------------------------
>> This sf.net email is sponsored by:ThinkGeek
>> Welcome to geek heaven.
>> http://thinkgeek.com/sf
>> _______________________________________________
>> Mspgcc-users mailing list
>> Mspgcc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>-- 
>*********************************************************************
>   ("`-''-/").___..--''"`-._     (\       Dimmy the Wild      UA1ACZ
>    `6_ 6  )   `-.  (     ).`-.__.`)      Enterprise Information Sys 
>    (_Y_.)'  ._   )  `._ `. ``-..-'       Nevsky prospekt,   20 / 44
>  _..`--'_..-_/  /--'_.' ,'               Saint Petersburg,   Russia
> (il),-''  (li),'  ((!.-'                 +7 (812) 314-8860, 5585314
>*********************************************************************
>




Reply via email to