This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Possible Bug in gcc compiler



To whom this may concern:

	I'm a student with a Pentium computer, and NT 4.0 Server. I have
downloaded and successfully loaded the gnuwin32 program on the machine. So
far it was worked very well for my small programs. A particular problem
did occur however, when I tried to use the make utility on a group of .c
and .o files. 
	I have included in this mail, two text file versions to help
illustrate. The Error.txt is the command, and message I received when I
tried to execute the makefile. The Makefile.txt is just the makefile
itself in text. 
	This was all peformed from a command prompt. If you require
further details on the matter please email me back. I do thank you for
your time in helping me. 

					Sincerely, Thomas Gresham 
c:\make -f makefile.std 

rm -f envy
gcc -O       -g  -o envy act_comm.o act_info.o act_move.o act_obj.o act_wiz.o comm.o 
const.o db.o fight.o handler.o interp.o magic.o save.o special.o update.o
/gnywin32/b18/H-i386-cygwin32/i386-cygwin32/bin/ld.exe: 
cannot open -lgcc: no such file or directory 
gcc: Internal compiler error: program ld got fatal signal 1
make: *** [envy] Error 1 
# Generic Makefile.  Read 'port.txt' in the documentation
# directory for the Makefile that is right for you  - Kahn

CC      = gcc
PROF    = 
DEBUG   = -g
NOCRYPT =
O_FLAGS = -O
C_FLAGS = $(O_FLAGS) -Wall $(DEBUG) $(PROF) $(NOCRYPT)
L_FLAGS = $(O_FLAGS)       $(DEBUG) $(PROF)

O_FILES = act_comm.o act_info.o act_move.o act_obj.o act_wiz.o comm.o const.o \
          db.o fight.o handler.o interp.o magic.o save.o special.o update.o

envy: $(O_FILES)
	rm -f envy
#	purify -cache_dir=/tmp $(CC) $(L_FLAGS) -o envy $(O_FILES)
	$(CC) $(L_FLAGS) -o envy $(O_FILES)

.c.o: merc.h
	$(CC) -c $(C_FLAGS) $<

clean:
	rm -f *.o envy envy2

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]