Re: V on Windows 95 with mingw32
No problem to compile tutor on my windows 95 pc
see my make and config.mk
Jacques
vgui-discuss@other.debian.org a écrit :
> Sender: vgui-discuss-request@other.debian.org
> Received: from murphy.debian.org (murphy.debian.org [209.176.56.6])
> by hpdmgaaa.compuserve.com (8.8.8/8.8.8/HP-1.4) with SMTP id FAA00783
> for <jlaporte@compuserve.com>; Wed, 28 Apr 1999 05:20:43 -0400 (EDT)
> Received: (qmail 27034 invoked by uid 38); 28 Apr 1999 09:19:08 -0000
> Resent-Date: 28 Apr 1999 09:19:08 -0000
> Resent-Cc: recipient list not shown: ;
> X-Envelope-Sender: Bostjan.Jerko@socgen.com
> X400-Received: by mta MTAFEDDEF in /c=FR/admd=ATLAS/prmd=SG/; Relayed;
> 28 Apr 1999 11:19:40 +0200
> X400-Received: by /c=FR/admd=ATLAS/prmd=SG/; Relayed; 28 Apr 1999 11:19:40 +0200
> X400-MTS-Identifier: [/c=FR/admd=ATLAS/prmd=SG/; 0695B3726D2AC034-MTAFEDDEF]
> Content-Identifier: 0695B3726D2AC034
> Content-Return: Allowed
> X400-Content-Type: P2-1988 ( 22 )
> Conversion: Allowed
> Original-Encoded-Information-Types: IA5-Text
> Priority: normal
> Disclose-Recipients: Prohibited
> Alternate-Recipient: Allowed
> X400-Originator: Bostjan.Jerko@socgen.com
> X400-Recipients: non-disclosure;
> Message-Id:
> <0695B3726D2AC034*/c=FR/admd=ATLAS/prmd=SG/o=INFI/s=JERKO/g=BOSTJAN/@MHS>
> Date: 28 Apr 1999 11:19:40 +0200
> From: Bostjan JERKO <Bostjan.Jerko@socgen.com>
> To: vgui-discuss <vgui-discuss@other.debian.org>(IPM Return requested)
> Subject: V on Windows 95 with mingw32
> Resent-Message-ID: <"0AhMIB.A.-lG.MKtJ3"@murphy>
> Resent-From: vgui-discuss@other.debian.org
> X-Mailing-List: <vgui-discuss@other.debian.org> archive/latest/133
> X-Loop: vgui-discuss@other.debian.org
> Precedence: list
> Resent-Sender: vgui-discuss-request@other.debian.org
>
> Hello !
>
> I am trying to compile tutor application on Windows 95 and using mingw32 but I receive linker message
> about undefined reference to '__get_sh_context'.
>
> Any ideas what might be wrong ? To my knowledge paths are OK.
>
> B.
>
> --
> To UNSUBSCRIBE, email to other-vgui-discuss-request@other.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@other.debian.org
#===============================================================
# V Make Configuration file - Version 1.21 - 10/30/98
#
# For Windows95/NT mingw32
# Note: mingw32 requires the use of mingw32 and
# unix tools ported to WIN, such as cp, rm, and touch.
#
# Copyright (C) 1995,1996,1997,1998 Bruce E. Wampler
#
# This file is part of the V C++ GUI Framework, and is covered
# under the terms of the GNU Library General Public License,
# Version 2. This library has NO WARRANTY. See the source file
# vapp.cxx for more complete information about license terms.
#===============================================================
#---------------------------------------------------------------------
# Version info
#---------------------------------------------------------------------
VV = 1.21
VVW = 121
#---------------------------------------------------------------------
# HOMEV info
# change this to the directory you've installed V to
#---------------------------------------------------------------------
HOMEV = C:/v
# Select one of the following, or provide your own paths
#HOMEGNU = C:/mingw32
#HOMEGNU = C:/egcs
#HOMEGNU = D:/mingw32
HOMEGNU = D:/egcs
#---------------------------------------------------------------------
# Tools used in the makefile execution
#---------------------------------------------------------------------
CC = gcc
CXX = g++
GMAKE = gmake
AR = ar
RANLIB = ranlib
RES = windres
#---------------------------------------------------------------------
# VPATH for dependencies on header files
#---------------------------------------------------------------------
VPATH=$(HOMEV)/includew/v
#---------------------------------------------------------------------
# Select the architecture of your system.
#---------------------------------------------------------------------
ARCH = gnuwin32
Arch = $(ARCH)
USE_3D = yes
#---------------------------------------------------------------------
# Select Debug or no Debug
#---------------------------------------------------------------------
#DEBUG = yes
DEBUG = no
#---------------------------------------------------------------------
# Select Develop or not - used for original development
#---------------------------------------------------------------------
DEVEL = yes
#DEVEL = no
#---------------------------------------------------------------------
# Define filename extensions that are targeted by cleanup's
#---------------------------------------------------------------------
CLEANEXTS= *.bak *.tmp
#---------------------------------------------------------------------
# Architecture dependent directory locations
#---------------------------------------------------------------------
VLibDir = $(HOMEV)/lib/$(Arch)
oDir = $(HOMEV)/obj/$(Arch)
LibDir = $(HOMEV)/lib/$(Arch)
Bin = $(HOMEV)/bin/$(Arch)
#---------------------------------------------------------------------
# Architecture independent
#---------------------------------------------------------------------
INCDIR = -I$(HOMEV)/includew
LIBDIR = -L$(LibDir)
LIBNAME = libV
V1NAME = v1
LIBS = -lV -lcomctl32 -mwindows
#
# This is an alternative specification that will cause a DOS
# window to come up
#
#LIBS = -lV -lcomdlg32 -luser32 -lgdi32 -lcomctl32
#---------------------------------------------------------------------
# C/C++ compile options
#---------------------------------------------------------------------
CFLAGS += $(INCDIR)
ifeq ($(DEBUG),no)
CFLAGS += -O2 -D_WIN32
endif
ifeq ($(DEBUG),yes)
CFLAGS += -g -D_WIN32
endif
ifeq ($(DEVEL),yes)
CFLAGS += -DDEVEL
endif
#---------------------------------------------------------------------
# LINK/LOAD options
#---------------------------------------------------------------------
LDFLAGS = $(LIBDIR) $(LIBS)
#===============================================================
# V turial application Makefile - Version 2/14/1995
#
# Copyright (C) 1995 Bruce E. Wampler
#
# This file is part of the V C++ GUI Framework.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#===============================================================
CONFIG=../Config.mk
include $(CONFIG)
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ifeq ($(TOOLKIT),Motif)
PROG=\
$(Bin)/tutappm
else
ifeq ($(Arch),mingw32)
PROG=\
$(Bin)/tutapp.exe
else
PROG=\
$(Bin)/tutapp
endif
endif
EXOBJS=\
$(oDir)/tutapp.o \
$(oDir)/tdialog.o \
$(oDir)/tmodal.o \
$(oDir)/tcanvas.o \
$(oDir)/tcmdwin.o
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.PHONY: default all objs clean cleanobj cleanall
default: all
all: $(PROG)
clean:
-rm -f $(CLEANEXTS)
cleanobj: clean
-rm -f $(EXOBJS)
cleanall: cleanobj
-rm -f $(PROG)
objs: $(EXOBJS)
#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
$(PROG): $(EXOBJS)
$(CXX) -o $@ $(EXOBJS) $(LDFLAGS)
$(oDir)/tcanvas.o: tcanvas.cpp v_defs.h tcanvas.h
$(CXX) -c $(CFLAGS) -o $@ $<
$(oDir)/tdialog.o: tdialog.cpp v_defs.h tdialog.h
$(CXX) -c $(CFLAGS) -o $@ $<
$(oDir)/tmodal.o: tmodal.cpp v_defs.h tmodal.h
$(CXX) -c $(CFLAGS) -o $@ $<
$(oDir)/tcmdwin.o: tcmdwin.cpp v_defs.h tcmdwin.h
$(CXX) -c $(CFLAGS) -o $@ $<
$(oDir)/tutapp.o: tutapp.cpp v_defs.h tdialog.h tmodal.h \
tutapp.h tcmdwin.h
$(CXX) -c $(CFLAGS) -o $@ $<
Reply to: