Mail Archives: cygwin/1999/10/14/10:31:54
------_=_NextPart_000_01BF164F.01E59F90
Content-Type: text/plain;
charset="windows-1252"
Jean,
The only problem I could see was the dreaded '^M' at the end of your file.
Must've been opened with a DOS prog or something (I'm still not clear on all
the semantics of the nl/cr issue). Anyway, I think I deleted it in the file
I include with this post.
Good Luck!
Cal
-----Original Message-----
From: Jean Michel Cirba [mailto:jmcirba AT cella DOT fr]
Sent: Thursday, October 14, 1999 9:09 AM
To: 'cygwin AT sourceware DOT cygnus DOT com'
Subject: compilation problems
Hi !
I'm impressed by your product package (the unix-like api, gcc and gdb) which
has allowed me to write, debug and run my programs as i would do in an Unix
environment.
Besides, the api is very similar and contains nearly all the unix and shell
commands.
However i have a strange problem:
when compiling from a file that contains the different gcc lines, OK !
when using a makefile and make (UNIX mode), i have the persistent following
error message:
missing separator
I have unix-like makefiles :
directories described using forward slashes (with or without full path
description ie /cygnus/cygwin-b20/cgi or c:/cygnus/...). I've also tried the
backslashes
variable description of the like : DIR_EXE=/cygnus/... and calling with
$(DIR_EXE)/bin
the standard gcc options (which i use in the text file i compile from)
Have you got any idea ??
(i've included a sample makefile)
<<makefile>>
------_=_NextPart_000_01BF164F.01E59F90
Content-Type: application/octet-stream;
name="makefile"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="makefile"
# Makefile pour guest.cgi=0A=
# cr=E9ation sous Windows=0A=
# target : any=0A=
# date : 13/10/99=0A=
=0A=
DIR_CGI=3D/cygnus/cygwin-b20/cgi=0A=
INCLUDE_SYS=3D/cygnus/cygwin-b20/H-i586-cygwin32/i586-cygwin32/include=0A=
INCLUDE_APPLI=3D$DIR_CGI/include=0A=
CC=3D/cygnus/cygwin-b20/H-i586-cygwin32/bin/gcc.exe=0A=
DIR_EXE=3D$DIR_CGI/bin=0A=
DIR_INSTALL=3Dd:/devinternet/cgi=0A=
=0A=
=0A=
clean:=0A=
rm $DIR_EXE/*=0A=
rm $DIR_CGI/*=0A=
=0A=
install:=0A=
cp $(DIR_EXE)/guest.cgi $(DIR_INSTALL)=0A=
=0A=
guest.cgi: $(DIR_CGI)/guest.o=0A=
$(CC) -g $(DEBUG) -o $(DIR_EXE)/guest.cgi $(DIR_CGI)/guest.o=0A=
=0A=
guest.o: $(DIR_CGI)/guest.c=0A=
$(CC) -c -g $(DEBUG) $(DIR_CGI)/guest.c -I$(INCLUDE_SYS) =
-I$(INCLUDE_APPLI)=0A=
=0A=
------_=_NextPart_000_01BF164F.01E59F90
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01BF164F.01E59F90--
- Raw text -