Date: Wed, 10 Mar 1999 10:54:30 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Sean SaeHoon Chung cc: djgpp AT delorie DOT com Subject: Re: compiling problem. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 9 Mar 1999, Sean SaeHoon Chung wrote: > the following is the whole makefile for the unix machine: > > > stack_test: test.o stack.o > cxx -g -w0 -o stack_test test.o stack.o > > test.o: test.cc stack.h stack.o > cxx -c -g -w0 test.cc > > stack.o: stack.h stack.cc > cxx -c -g -w0 stack.cc Replace cxx with gxx, remove the -w0 option, and it should work. Btw, I think it's wrong to have stack.o be a dependency of test.o, but if it worked for you on Unix, it will work with DJGPP as well.