| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <97E599244164D311843700C00D01033A1B4F42@MASTER> |
| From: | Jean Michel Cirba <jmcirba AT cella DOT fr> |
| To: | "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | compilation problems |
| Date: | Thu, 14 Oct 1999 16:08:56 +0200 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2650.21) |
------_=_NextPart_000_01BF164D.AB7048FE
Content-Type: text/plain
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_01BF164D.AB7048FE
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=
------_=_NextPart_000_01BF164D.AB7048FE
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_01BF164D.AB7048FE--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |