Web lists-archives.com

Re: [Mingw-msys] gzip says it is i686-pc-msys




mglocken@xxxxxxx wrote:
> Hello,
>
> I´m trying to compile a little hello.c file with gcc running make.
>
> hello.c:
> #include <stdio.h>
> #include <Fl.H>
> int
> main ()
> {
> printf ("***********\n");
> printf ("Hello world1\n");
> printf ("***********\n");
> }
>
>
> Makefile:
> hello.o: hello.c Fl.H
> gcc -c hello.c
>
> hello.c, Fl.H and Makefile are in the same directory form where I´m
> running make.
>
> On MSYS shell I get this response:
> $ make
> gcc -c hello.c
> hello.c:3:16: Fl.H: No such file or directory
> C:\Programme\Dev-Cpp\bin\make.exe: *** [hello.o] Error 1
>
>
> After commenting out the line with #include <Fl.H> everything works
> fine. Why do I get the error message above?
>
>
>
> My system: WinXP SP2, MingW (installed with Dev-CPP V4.9.9.2) and MSYS
>
> Greetings,
>
> Michael Glockenmeier
>

Hi,
try changing "gcc -c hello.c" by adding "-I." or use '#include "F1.H"' 
instead.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys