This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Internal compiler error


The soure files are from the latest PDFLIB distribution found at:
    http://www.ifconnection.de/~tm/

The Error Listing can be found at the bottom.

VERSION:
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

SYSTEM TYPE:  Win95 OSR2

OPTIONS PASSED:

# C++ compiler
# For AIX/CSet++: use CC = xlC
# For IRIX: use CC = CC
# CC = gcc-2.6.2
CC = gcc


# C compiler for pure C programs
# Typical: CC=g++ , CCC=gcc
#          CC=cl386 /Tp, CCC=cl386
#
# (Used only for XView, file sb_scrol.c)
#
CCC = $(CC)

# Compiler used for LEX generated C
CCLEX=gcc

MAKE=make

# LEX
LEX=flex # -t -L

# YACC. yacc or bison
# YACC=yacc
YACC=bison

# Settings for Cyginw/Mingw32
RESCOMP=windres.exe
RCINPUTSWITCH=-i
RCOUTPUTSWITCH=-o
RCINCSWITCH=--include-dir
RCDEFSWITCH=--define

RESFLAGS=$(RCINCSWITCH) $(PDFDIR)/include $(RCDEFSWITCH) __WIN32__ 
$(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__

########################## Compiler flags #############################

# Miscellaneous compiler options
OPTIONS= -D__EGCS__ -DSTRICT -D__MINGW32__  -H

# Debugging information
# AIX: comment out.
# IRIX: -g3
DEBUGFLAGS = -ggdb

WIN95=1

ifeq ($(WIN95),0)
# With 3.50, Win95 will use your existing icons to show smaller ones.
# With 4.0, you'll have to follow Win95 procedures for icons or you'll get 
the
# default Windows icon.
APPVER=3.50
WINVERSION=-DWINVER=0x0350 -D__GNUWIN32__ -D__WIN32__ # Generic WIN32
else
APPVER=3.50 # 4.0
# This means 'enable Windows 95 features' (in VC++ 4.0).
WINVERSION=-DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__
endif

CPU=i386

# Suffixes
OBJSUFF=o
SRCSUFF=c  # amended for pdflib
LIBPREFIX=lib
LIBSUFF=a
EXESUFF=.exe
RESSUFF=res
RSCSUFF=rsc

# Warnings
#WARN = -Wall

# Which GUI,
GUI =  -D__WINDOWS__

# Optimization
OPT = -O2

# according to Guillermo Rodriguez Garcia <guille@iies.es> this flag is 
needed
# to make the standard div() functio work - otherwise it returns absolutely
# incorrect results and completely breaks the wxImage class (where it's used
# extensively)
#OPT = -fno-pcc-struct-return

# Options for ar archiver
# AROPTIONS = crs # For IRIX and Solaris (both SYSVR4).
AROPTIONS = ruv
RANLIB = ranlib

# Compiler libraries: defaults to GCC libraries
#COMPLIBS=-lg++
#for win95
#COMPLIBS=-lgcc

# Compiler or system-specific include paths
COMPPATHS=

########################## Directories ###############################


WINLIBS=-lstdc++ -lgcc \
	-lwinspool -lwinmm -lshell32 \
	-lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 #  -loldnames

# Shouldn't need to change these...
RCLFLAGS=-cpp "cpp -lang-c++ -DWIN32 -D_WIN32 -DRCL_INVOKED 
-I$(PDFWIN)\include"

#LIBS = -lctl3d32 $(PDFLIB) $(WINLIBS) $(COMPLIBS)
LIBS =   $(WINLIBS) $(COMPLIBS) $(EXTRALIBS)

WINFLAGS=-D_X86_=1 -DWIN32 -D_WIN32 $(WINVERSION)

#for windows 95
XINCLUDE=$(WINFLAGS)
XLIB=$(LIBS)
LDLIBS = $(LIBS)

# Directory for object files (don't change)
# OBJDIR = objects$(GUISUFFIX)

# You shouldn't need to change these...
CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) 
$(EXTRACPPFLAGS)
CFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) 
$(EXTRACFLAGS)
WINDOWSLDFLAGS=-Wl,--subsystem,windows -mwindows
LDFLAGS = $(WINDOWSLDFLAGS) -L$(PDFDIR)/lib $(EXTRALDFLAGS)

.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .c

.$(SRCSUFF).$(OBJSUFF):
	$(CC) -c $(CPPFLAGS) -o $@ $*.$(SRCSUFF)

.c.o:
	$(CC) -c $(CPPFLAGS) -o $@ $*.c



ERROR LISTING:

*Initialization*:1: warning: `__MINGW32__' redefined
*Initialization*:1: warning: this is the location of the previous definition
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\string.h
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\_mingw.h
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\stddef.h
p_intern.h
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\stdio.h
  
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\stddef.h
pdflib.h
  
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\stdlib.h
   
C:\MINGW32\BIN\..\lib\gcc-lib\i386-mingw32\egcs-2.91.66\..\..\..\..\i386-mingw32\include\stddef.h
p_config.h
../../gcc/toplev.c:3859: Internal compiler error in function 
rest_of_compilation
C:\MINGW32\BIN\MAKE.EXE: *** [p_annots.o] Error 1

include \projects\pdflib-2.0\makeg95.env

all:    $(LIBTARGET) $(EXTRATARGETS)

$(LIBTARGET): $(OBJECTS)
	ar $(AROPTIONS) $@ $(OBJECTS)
	$(RANLIB) $@

clean:
	rm -f $(OBJECTS) $(LIBTARGET) core *.rsc *.res






_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


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