delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/25/05:54:14

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Mailer: 21.2 (beta45) "Thelxepeia" XEmacs Lucid (via feedmail 8 I)
To: "Daniel Childs" <daniel AT survivethis DOT com>
Cc: <cygwin AT cygwin DOT com>
Subject: Re: include file problems
References: <000701c0b500$4bd2af60$1a3c1298 AT resnet DOT unca DOT edu>
X-Face: I-*}xvwusAv%MlABo'jVNP7TDXf5bb*L[q,r{DnsR1GoL07^Wf)sAu%>!LjXAFlZZN+`OQu
}?#du]C)[*%ERKR#+l#sX'EoNbSO~|.x AT ogoS5|"-u?<s5ViLslvYMlj7_n!Tq1m AT xt2Bhj4[Zg+e?
/Yy\SE`V?%v~kRU3GoS1f&U]}
From: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
Date: 25 Mar 2001 11:58:11 +0100
In-Reply-To: <000701c0b500$4bd2af60$1a3c1298@resnet.unca.edu>
Message-ID: <kvofuqp130.fsf@vzell.de.oracle.com>
Lines: 58
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Thelxepeia)
MIME-Version: 1.0

>>>>> "Daniel" == Daniel Childs <daniel AT survivethis DOT com> writes:

    Daniel> I'm trying to compile Winboard and I get this error:

For me it used to compiled with the following Makefile:

---------------------- cut here ----------------------------

# Uncomment both lines to turn on debugging symbols #######
cdebug= -g
linkdebug= -g
#######################################################

proj=winboard
allobj=  winboard.o backend.o parser.o moves.o lists.o \
	 gamelist.o pgntags.o wedittags.o wgamelist.o zippy.o \
         wsockerr.o wbres.o wclipbrd.o woptions.o


CFLAGS=
CVARS= -I. -I/usr/include/mingw -mwin32
CC = gcc $(CVARS)
WCC = $(CC) -mwin32 -Xlinker "-e" -Xlinker "_mainCRTStartup"
LD = ld

all: $(proj).exe

# Update the help file if necessary
#	$(proj).hlp : $(proj).rtf
#	$(hc) $(proj).hpj
#	cat $(proj).err

# Update the resource if necessary
wbres.o: $(proj).rc $(proj).h resource.h
	windres --include-dir /usr/include/w32api/ $< -O coff -o $@

# Update the object files if necessary

parser.c: parser.l
	flex -L parser.l
	cp lex.yy.c parser.c

$(proj).exe: $(allobj) $(proj).hlp $(proj).rc
	$(WCC) $(guiflags) $(allobj) \
	-lwsock32 -lcomctl32 -lwinmm  -lkernel32 \
	-ladvapi32 -luser32 -lgdi32 -lcomdlg32 -lwinspool \
	-L/lib/mingw -lcrtdll -lcoldname \
	-o $(proj).exe

clean:
	rm *.o parser.c

---------------------- cut here ----------------------------

    Daniel> Daniel Childs

Ciao
  Volker


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019