public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* undefined references for GUI library using Mingw32
@ 1999-04-06 13:30 dale henderson
  1999-04-06 14:10 ` Mumit Khan
  1999-04-30 18:32 ` dale henderson
  0 siblings, 2 replies; 18+ messages in thread
From: dale henderson @ 1999-04-06 13:30 UTC (permalink / raw)
  To: cygwin

 I installed the binaries for egcs-1.1.2/Mingw32 and tried
to compile an simple app in wxWindows2 after successfully compiling
the main library for wxWin2. Are there any known problems?
I am using the make files that come with the wxWin2 distribution.
I a lso installed the recent runtime libraries for Mingw32 that are on 
the ftp server.
If I need to change the order of the linking, I am not sure what to 
change. Any help is appreciated, thanks.
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 13:30 undefined references for GUI library using Mingw32 dale henderson
@ 1999-04-06 14:10 ` Mumit Khan
  1999-04-30 18:32   ` Mumit Khan
  1999-04-30 18:32 ` dale henderson
  1 sibling, 1 reply; 18+ messages in thread
From: Mumit Khan @ 1999-04-06 14:10 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

On Tue, 6 Apr 1999, dale henderson wrote:

> 
>  I installed the binaries for egcs-1.1.2/Mingw32 and tried
> to compile an simple app in wxWindows2 after successfully compiling
> the main library for wxWin2. Are there any known problems?
> I am using the make files that come with the wxWin2 distribution.
> I a lso installed the recent runtime libraries for Mingw32 that are on 
> the ftp server.
> If I need to change the order of the linking, I am not sure what to 
> change. Any help is appreciated, thanks.

Unless you tell us what the problem is, you're unlikely to get any help. 
wxWindows works fine with Mingw32 and Cygwin compilers.

The wxWindows makefile has a few bugs/misfeatures, and I've sent the fixes
to this mailing list. You should do a search.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 14:10 ` Mumit Khan
@ 1999-04-30 18:32   ` Mumit Khan
  0 siblings, 0 replies; 18+ messages in thread
From: Mumit Khan @ 1999-04-30 18:32 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

On Tue, 6 Apr 1999, dale henderson wrote:

> 
>  I installed the binaries for egcs-1.1.2/Mingw32 and tried
> to compile an simple app in wxWindows2 after successfully compiling
> the main library for wxWin2. Are there any known problems?
> I am using the make files that come with the wxWin2 distribution.
> I a lso installed the recent runtime libraries for Mingw32 that are on 
> the ftp server.
> If I need to change the order of the linking, I am not sure what to 
> change. Any help is appreciated, thanks.

Unless you tell us what the problem is, you're unlikely to get any help. 
wxWindows works fine with Mingw32 and Cygwin compilers.

The wxWindows makefile has a few bugs/misfeatures, and I've sent the fixes
to this mailing list. You should do a search.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* undefined references for GUI library using Mingw32
  1999-04-06 13:30 undefined references for GUI library using Mingw32 dale henderson
  1999-04-06 14:10 ` Mumit Khan
@ 1999-04-30 18:32 ` dale henderson
  1 sibling, 0 replies; 18+ messages in thread
From: dale henderson @ 1999-04-30 18:32 UTC (permalink / raw)
  To: cygwin

 I installed the binaries for egcs-1.1.2/Mingw32 and tried
to compile an simple app in wxWindows2 after successfully compiling
the main library for wxWin2. Are there any known problems?
I am using the make files that come with the wxWin2 distribution.
I a lso installed the recent runtime libraries for Mingw32 that are on 
the ftp server.
If I need to change the order of the linking, I am not sure what to 
change. Any help is appreciated, thanks.
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 15:55 ` Mumit Khan
@ 1999-04-30 18:32   ` Mumit Khan
  0 siblings, 0 replies; 18+ messages in thread
From: Mumit Khan @ 1999-04-30 18:32 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

On Tue, 6 Apr 1999, dale henderson wrote:

> >
> >Unless you tell us what the problem is, you're unlikely to get any 
> help. 
> >wxWindows works fine with Mingw32 and Cygwin compilers.
> 
> Here are some of the environment settings, /wx/src/mingw32.bat

But where is the problem report????  I don't have the time to go through 
a whole bunch of Makefiles to guess what problem you may be running into! 
Please understand that.

That said, please send me the error report if you want assistance. Also,
please search the mailing list for the last few exchanges between Chris
Pourcelot and I that should help you fix the faulty WINLIBS setting in the
makeg95.env file. One reason I copy all related messages to the list is so
that it gets archived and primed for search engines to do the rest.

The search should pull up the last note from Chris that gives you the
correct values for WINLIBS and a few other variables.

> rem Mingw32 environment variables
> set 
> CPLUS_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
> set 
> C_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
> set 
> LIBRARY_PATH=f:\mingw32\lib;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66

I personally dislike these variables since they add a hidden layer of
(lack of ;-) control. I would rather use -If:/mingw32/include. But that's
just my personal and subjective preference.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 22:36 ` Charles Wilson
@ 1999-04-30 18:32   ` Charles Wilson
  0 siblings, 0 replies; 18+ messages in thread
From: Charles Wilson @ 1999-04-30 18:32 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

dale henderson wrote:

> >But where is the problem report????  I don't have the time to go
> >through
>
> I am not able to pipe the errors msgs from the compile to a file.
> Here is an example:
>

make >& file

will redirect both stdout and stderr of make (and everything called by
make, such as gcc) to a file. 'Course, you won't see anything in your
terminal window...

So, you could try the following:

make 2>&1 | tee file

which (1) sets up a pipe to tee.exe -- i.e. stdout from make now points to
stdin of tee (2) makes filedescriptor 2 (stderr) of make go to wherever
filedescriptor 1 (stdout) is currently pointing -- which is the stdin of
tee. Thus, tee gets both stdout and stderr. Tee is a program which copies
its stdin to a file, and to stdout; it's distributed with cygwin.

Cmd.exe also lets you do redirection in this manner, but you need either a
native version of tee, or you can use the cygwin version of tee, but then
things get hairy with path specifiers ( '/' vs '\'. I suppose you could use
cygpath somehow). You can get a native port of tee (and ports of a lot of
other gnu-ish stuff) from
http://www.edv.agrar.tu-muenchen.de/~syring/win32/UnxUtils.html . Also,
Anders Norlander has built mingw ports of a lot of gnu stuff - but not tee.

Command.com? Well...it doesn't do this kind of redirection, so you need an
external program, similar to the redir.exe that comes with djgpp. You can
get that program from
http://www.delorie.com/djgpp/dl/ofc/simtel/v2/djdev202.zip/bin/redir.exe ,
but it is intended for DOS and doesn't grok long filenames. I'm not sure
why that matters, since redir doesn't really _do_ anything with the LFN's
if they are there. Maybe it's related to the internal system() or spawnXX()
call in redir. I dunno - it mostly works. Try

redir -eo make | tee file

--Chuck






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 15:41 dale henderson
  1999-04-06 15:55 ` Mumit Khan
@ 1999-04-30 18:32 ` dale henderson
  1 sibling, 0 replies; 18+ messages in thread
From: dale henderson @ 1999-04-30 18:32 UTC (permalink / raw)
  To: cygwin

>> I am using the make files that come with the wxWin2 distribution.
> If I need to change the order of the linking, I am not sure what to 
>> change. Any help is appreciated, thanks.
>
>Unless you tell us what the problem is, you're unlikely to get any 
help. 
>wxWindows works fine with Mingw32 and Cygwin compilers.

Here are some of the environment settings, /wx/src/mingw32.bat
rem Mingw32 environment variables
rem
set WXWIN=/wxrel
path 
C:\WINDOWS;C:\WINDOWS\COMMAND;f:\mingw32\bin;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66
rem set GCC_EXEC_PREFIX=G:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
set RCINCLUDE=%WXWIN/include
set 
CPLUS_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
set 
C_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
set 
LIBRARY_PATH=f:\mingw32\lib;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66
set BISON_SIMPLE=f:/mingw32/share/bison.simple
set BISON_HAIRY=f:/mingw32/share/bison.hairy



and /wx/src/makeg95.env

########################## Compiler ##################################

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

 

# 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) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ 
$(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__

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

# Miscellaneous compiler options
#OPTIONS= -D__EGCS__ -D__MINGW32__

# from mumat khan mailing list
OPTIONS= -D__EGCS__  -D__MINGW32__
      

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


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 wxWindows and in VC++ 
4.0).
WINVERSION=-DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__
endif

CPU=i386

# Suffixes
OBJSUFF=o
SRCSUFF=cpp
LIBPREFIX=lib
LIBSUFF=a
EXESUFF=.exe
RESSUFF=res
RSCSUFF=rsc

# Warnings
#WARN = -Wall
WARN = 

# Which GUI, -Dwx_xview or -Dwx_motif (don't change this)
GUI = -D__WXMSW__ -D__WINDOWS__

# Optimization
 OPT = -O
#OPT =

# 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...
WXDIR = /wxrel
WXSRC=$(WXDIR)/src/msw
WXINC=$(WXDIR)/include
WXBASESRC=$(WXDIR)/src/common
WXLIB=$(WXDIR)/lib/$(LIBPREFIX)wx.$(LIBSUFF)

# added frame layout library 4/5/99
EXTRALIB= $(WXDIR)/lib/$(LIBPREFIX)fl.$(LIBSUFF)
INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/include/wx/msw/gnuwin32 
-I$(WXDIR)/src/zlib $(EXTRAINC) $(COMPPATHS)
RCLFLAGS=-cpp "cpp -lang-c++ -DWIN32 -D_WIN32 -DRCL_INVOKED 
-I$(WXWIN)\include"

#LIBS = -lctl3d32 $(WXLIB) $(WINLIBS) $(COMPLIBS)

LIBS = $(WXLIB) $(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$(WXDIR)/lib $(EXTRALDFLAGS)

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

# Set these in a batch file instead e.g. install/cygnus.bat
#	
RCINCLUDE="$(WXDIR)/include/msw;$(WXDIR)/contrib/fafa;$(WXDIR)/contrib/itsybits"; 
\
#	
CPLUS_INCLUDE_PATH=/usr/H-i386-cygwin32/i386-cygwin32/include:/usr/H-i386-cygwin32/lib/gcc-lib/i386-cygwin32/cygnus-2.7.2-961023/include:$(WXDIR)/include/common:$(WXDIR)/include/msw:$(WXDIR)/contrib/fafa:$(WXDIR)/contrib/itsybits; 
\
#	export CPLUS_INCLUDE_PATH RCINCLUDE;  \

#.rc.$(RESSUFF):  $< $(WXDIR)/include/msw/wx.rc
#	$(RC) $(RESFLAGS1) $< $(RESFLAGS2) $*.$(RESSUFF) $(RCLFLAGS)

#.$(RESSUFF).$(RSCSUFF): $<
#	$(CVTRES) $< $*.$(RSCSUFF)

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

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


One of the first undefined references is:



Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 16:42 dale henderson
  1999-04-06 21:23 ` Mumit Khan
  1999-04-06 22:36 ` Charles Wilson
@ 1999-04-30 18:32 ` dale henderson
  2 siblings, 0 replies; 18+ messages in thread
From: dale henderson @ 1999-04-30 18:32 UTC (permalink / raw)
  To: khan; +Cc: cygwin

>But where is the problem report????  I don't have the time to go 
>through 

I am not able to pipe the errors msgs from the compile to a file.
Here is an example:
      'wx/lib/libwx.a(frame.o)(.text0x190a):frame.cc: undefined 
reference to 'wxLogLastError'

>please search the mailing list for the last few exchanges between 
>Chris
>Pourcelot and I that should help you fix the faulty WINLIBS setting >in 
the

I found a hit on 3/17 for setting WINLIBS. It matches my makeg95.env, 
except for the ones that you stated in your note may have been left out. 
Do they have to be in a specific order? 




Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 21:23 ` Mumit Khan
@ 1999-04-30 18:32   ` Mumit Khan
  0 siblings, 0 replies; 18+ messages in thread
From: Mumit Khan @ 1999-04-30 18:32 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

"dale henderson" <dalekh@hotmail.com> writes:
> 
> I am not able to pipe the errors msgs from the compile to a file.
> Here is an example:
>       'wx/lib/libwx.a(frame.o)(.text0x190a):frame.cc: undefined 
> reference to 'wxLogLastError'

Please use redir.exe (URL below) to redirect the output to a file
so I can take a look.

  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/misc/redir.zip

This is the same REDIR utility provided by DJ Delorie's DJGPP and I've
slightly modified it for mingw. Source/doc included in the archive.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 23:12 dale henderson
  1999-04-07  4:37 ` Chris
@ 1999-04-30 18:32 ` dale henderson
  1 sibling, 0 replies; 18+ messages in thread
From: dale henderson @ 1999-04-30 18:32 UTC (permalink / raw)
  To: khan; +Cc: cygwin

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

Attached is the errors listing undefined references for the compile.

Another question: how do I apply the .diff patches to
mingw32/egcs1.1.2?


Regards,

Dale Henderson


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
errors.lst
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


[-- Attachment #2: errors.lst --]
[-- Type: text/plain, Size: 8598 bytes --]

*Initialization*:1: warning: `__MINGW32__' redefined
*Initialization*:1: warning: this is the location of the previous definition
In file included from fl_test.h:4,
                 from fl_test.cpp:34:
\\wxrel\\include\\wx/objstore.h:355: warning: ANSI C++ forbids typedef which does not specify a type
fl_test.o(.text+0xa0b):fl_test.cc: undefined reference to `wxFrameLayout::HideBarWindows(void)'
fl_test.o(.text+0xacc):fl_test.cc: undefined reference to `wxIOStreamWrapper::wxIOStreamWrapper(void)'
fl_test.o(.text+0xaf1):fl_test.cc: undefined reference to `wxIOStreamWrapper::Create(char const *, bool)'
fl_test.o(.text+0xb04):fl_test.cc: undefined reference to `wxObjectStorage::SetDataStream(wxDataStreamBase &)'
fl_test.o(.text+0xb13):fl_test.cc: undefined reference to `wxObjectStorage::XchgObjPtr(wxObject **)'
fl_test.o(.text+0xb19):fl_test.cc: undefined reference to `wxObjectStorage::Finalize(void)'
fl_test.o(.text+0xb9f):fl_test.cc: undefined reference to `wxIOStreamWrapper::wxIOStreamWrapper(void)'
fl_test.o(.text+0xbc4):fl_test.cc: undefined reference to `wxIOStreamWrapper::Create(char const *, bool)'
fl_test.o(.text+0xbd7):fl_test.cc: undefined reference to `wxObjectStorage::SetDataStream(wxDataStreamBase &)'
fl_test.o(.text+0xbe6):fl_test.cc: undefined reference to `wxObjectStorage::XchgObjPtr(wxObject **)'
fl_test.o(.text+0xbec):fl_test.cc: undefined reference to `wxObjectStorage::Finalize(void)'
fl_test.o(.text+0x1540):fl_test.cc: undefined reference to `wxObjectStorage::wxObjectStorage(void)'
fl_test.o(.text+0x1635):fl_test.cc: undefined reference to `wxObjectStorage::AddInitialRef(wxObject *)'
fl_test.o(.text+0x1644):fl_test.cc: undefined reference to `wxObjectStorage::AddInitialRef(wxObject *)'
fl_test.o(.text+0x16bc):fl_test.cc: undefined reference to `wxFrameLayout::wxFrameLayout(wxWindow *, wxWindow *, bool)'
fl_test.o(.text+0x17c1):fl_test.cc: undefined reference to `cbUpdatesManagerBase virtual table'
fl_test.o(.text+0x2655):fl_test.cc: undefined reference to `GarbageCollector::~GarbageCollector(void)'
fl_test.o(.text+0x271d):fl_test.cc: undefined reference to `wxFrameLayout::SetUpdatesManager(cbUpdatesManagerBase *)'
fl_test.o(.text+0x2748):fl_test.cc: undefined reference to `cbBarHintsPlugin::sm_classcbBarHintsPlugin'
fl_test.o(.text+0x276a):fl_test.cc: undefined reference to `cbHintAnimationPlugin::sm_classcbHintAnimationPlugin'
fl_test.o(.text+0x278f):fl_test.cc: undefined reference to `cbRowDragPlugin::sm_classcbRowDragPlugin'
fl_test.o(.text+0x27b1):fl_test.cc: undefined reference to `cbAntiflickerPlugin::sm_classcbAntiflickerPlugin'
fl_test.o(.text+0x27d3):fl_test.cc: undefined reference to `cbSimpleCustomizationPlugin::sm_classcbSimpleCustomizationPlugin'
fl_test.o(.text+0x2815):fl_test.cc: undefined reference to `cbDimInfo::cbDimInfo(int, int, int, int, int, int, bool, int, int, cbBarDimHandlerBase *)'
fl_test.o(.text+0x2831):fl_test.cc: undefined reference to `cbDimInfo::~cbDimInfo(void)'
fl_test.o(.text+0x2870):fl_test.cc: undefined reference to `cbDimInfo::cbDimInfo(int, int, int, int, int, int, bool, int, int, cbBarDimHandlerBase *)'
fl_test.o(.text+0x288c):fl_test.cc: undefined reference to `cbDimInfo::~cbDimInfo(void)'
fl_test.o(.text+0x290a):fl_test.cc: undefined reference to `cbBarDimHandlerBase::cbBarDimHandlerBase(void)'
fl_test.o(.text+0x2a3b):fl_test.cc: undefined reference to `cbDimInfo::cbDimInfo(int, int, int, int, int, int, bool, int, int, cbBarDimHandlerBase *)'
fl_test.o(.text+0x2a51):fl_test.cc: undefined reference to `cbDimInfo::~cbDimInfo(void)'
fl_test.o(.text+0x2ed5):fl_test.cc: undefined reference to `wxDynamicToolBar::wxDynamicToolBar(void)'
fl_test.o(.text+0x2f57):fl_test.cc: undefined reference to `wxDynamicToolBar::Create(wxWindow *, int, wxPoint const &, wxSize const &, long, int, int, wxString const &)'
fl_test.o(.text+0x37a0):fl_test.cc: undefined reference to `cbDimInfo::~cbDimInfo(void)'
fl_test.o(.text+0x37b9):fl_test.cc: undefined reference to `cbDimInfo::~cbDimInfo(void)'
fl_test.o(.text+0x37d2):fl_test.cc: undefined reference to `cbDimInfo::~cbDimInfo(void)'
fl_test.o(.text+0x3889):fl_test.cc: undefined reference to `wxObjectStorage::~wxObjectStorage(void)'
fl_test.o(.text+0x3969):fl_test.cc: undefined reference to `wxObjectStorage::~wxObjectStorage(void)'
fl_test.o(.data$_vt$22cbDynToolBarDimHandler+0x24):fl_test.cc: undefined reference to `cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo *, int)'
fl_test.o(.data$_vt$22cbDynToolBarDimHandler+0x2c):fl_test.cc: undefined reference to `cbDynToolBarDimHandler::OnResizeBar(cbBarInfo *, wxSize const &, wxSize &)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x24):fl_test.cc: undefined reference to `cbGCUpdatesMgr::OnStartChanges(void)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x2c):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnRowWillChange(cbRowInfo *, cbDockPane *)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x34):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnBarWillChange(cbBarInfo *, cbRowInfo *, cbDockPane *)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x3c):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnPaneMarginsWillChange(cbDockPane *)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x44):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnPaneWillChange(cbDockPane *)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x4c):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnFinishChanges(void)'
fl_test.o(.data$_vt$14cbGCUpdatesMgr+0x54):fl_test.cc: undefined reference to `cbGCUpdatesMgr::UpdateNow(void)'
fl_test.o(.data$_vt$16GarbageCollector+0xc):fl_test.cc: undefined reference to `GarbageCollector::~GarbageCollector(void)'
fl_test.o(.data$_vt$16GarbageCollector+0x14):fl_test.cc: undefined reference to `GarbageCollector::AddObject(void *, int)'
fl_test.o(.data$_vt$16GarbageCollector+0x1c):fl_test.cc: undefined reference to `GarbageCollector::AddDependency(void *, void *)'
fl_test.o(.data$_vt$16GarbageCollector+0x24):fl_test.cc: undefined reference to `GarbageCollector::ArrangeCollection(void)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x24):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnStartChanges(void)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x2c):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnRowWillChange(cbRowInfo *, cbDockPane *)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x34):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnBarWillChange(cbBarInfo *, cbRowInfo *, cbDockPane *)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x3c):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnPaneMarginsWillChange(cbDockPane *)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x44):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnPaneWillChange(cbDockPane *)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x4c):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::OnFinishChanges(void)'
fl_test.o(.data$_vt$18cbSimpleUpdatesMgr+0x54):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::UpdateNow(void)'
fl_test.o(.text$GetClassInfo__C22cbDynToolBarDimHandler+0x4):fl_test.cc: undefined reference to `cbDynToolBarDimHandler::sm_classcbDynToolBarDimHandler'
fl_test.o(.text$__tf22cbDynToolBarDimHandler+0xd):fl_test.cc: undefined reference to `cbBarDimHandlerBase type_info function'
fl_test.o(.text$__tf22cbDynToolBarDimHandler+0x12):fl_test.cc: undefined reference to `cbBarDimHandlerBase type_info node'
fl_test.o(.text$GetClassInfo__C14cbGCUpdatesMgr+0x4):fl_test.cc: undefined reference to `cbGCUpdatesMgr::sm_classcbGCUpdatesMgr'
fl_test.o(.text$_$_14cbGCUpdatesMgr+0x12):fl_test.cc: undefined reference to `GarbageCollector::~GarbageCollector(void)'
fl_test.o(.text$GetClassInfo__C18cbSimpleUpdatesMgr+0x4):fl_test.cc: undefined reference to `cbSimpleUpdatesMgr::sm_classcbSimpleUpdatesMgr'
fl_test.o(.text$__tf18cbSimpleUpdatesMgr+0xd):fl_test.cc: undefined reference to `cbUpdatesManagerBase type_info function'
fl_test.o(.text$__tf18cbSimpleUpdatesMgr+0x12):fl_test.cc: undefined reference to `cbUpdatesManagerBase type_info node'
/wxrel/lib/libwx.a(frame.o)(.text+0x190e):frame.cc: undefined reference to `wxLogLastError'
/wxrel/lib/libwx.a(menuitem.o)(.text+0x748):menuitem.cc: undefined reference to `wxLogLastError'
/wxrel/lib/libwx.a(menuitem.o)(.text+0x7b3):menuitem.cc: undefined reference to `wxLogLastError'
/wxrel/lib/libwx.a(menuitem.o)(.text+0x88d):menuitem.cc: undefined reference to `wxLogLastError'
/wxrel/lib/libwx.a(dcprint.o)(.text+0x8c7):dcprint.cc: undefined reference to `wxDebugMsg'
make: *** [fl_test.exe] Error 1

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-07  4:37 ` Chris
@ 1999-04-30 18:32   ` Chris
  0 siblings, 0 replies; 18+ messages in thread
From: Chris @ 1999-04-30 18:32 UTC (permalink / raw)
  To: dale henderson, cygwin

Hi
I'm using wxWin2 with Cygwin (-mno-cygwin). If you need some help, I can
send you my makeg95.env.
Regards

dale henderson wrote:
> 
> Attached is the errors listing undefined references for the compile.
> 
> Another question: how do I apply the .diff patches to
> mingw32/egcs1.1.2?
> 
> Regards,
> 
> Dale Henderson
> 
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
> 
>   ------------------------------------------------------------------------
>                  Name: errors.lst
>    errors.lst    Type: unspecified type (application/octet-stream)
>              Encoding: base64
> 
>   ------------------------------------------------------------------------
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
Christine Pourcelot
Stagiaire projet CODES
INRIA ROCQUENCOURT
tel : 01 39 63 57 70

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 23:12 dale henderson
@ 1999-04-07  4:37 ` Chris
  1999-04-30 18:32   ` Chris
  1999-04-30 18:32 ` dale henderson
  1 sibling, 1 reply; 18+ messages in thread
From: Chris @ 1999-04-07  4:37 UTC (permalink / raw)
  To: dale henderson, cygwin

Hi
I'm using wxWin2 with Cygwin (-mno-cygwin). If you need some help, I can
send you my makeg95.env.
Regards

dale henderson wrote:
> 
> Attached is the errors listing undefined references for the compile.
> 
> Another question: how do I apply the .diff patches to
> mingw32/egcs1.1.2?
> 
> Regards,
> 
> Dale Henderson
> 
> _______________________________________________________________
> Get Free Email and Do More On The Web. Visit http://www.msn.com
> 
>   ------------------------------------------------------------------------
>                  Name: errors.lst
>    errors.lst    Type: unspecified type (application/octet-stream)
>              Encoding: base64
> 
>   ------------------------------------------------------------------------
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
Christine Pourcelot
Stagiaire projet CODES
INRIA ROCQUENCOURT
tel : 01 39 63 57 70

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
@ 1999-04-06 23:12 dale henderson
  1999-04-07  4:37 ` Chris
  1999-04-30 18:32 ` dale henderson
  0 siblings, 2 replies; 18+ messages in thread
From: dale henderson @ 1999-04-06 23:12 UTC (permalink / raw)
  To: khan; +Cc: cygwin

Attached is the errors listing undefined references for the compile.

Another question: how do I apply the .diff patches to
mingw32/egcs1.1.2?


Regards,

Dale Henderson


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
errors.lst
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 16:42 dale henderson
  1999-04-06 21:23 ` Mumit Khan
@ 1999-04-06 22:36 ` Charles Wilson
  1999-04-30 18:32   ` Charles Wilson
  1999-04-30 18:32 ` dale henderson
  2 siblings, 1 reply; 18+ messages in thread
From: Charles Wilson @ 1999-04-06 22:36 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

dale henderson wrote:

> >But where is the problem report????  I don't have the time to go
> >through
>
> I am not able to pipe the errors msgs from the compile to a file.
> Here is an example:
>

make >& file

will redirect both stdout and stderr of make (and everything called by
make, such as gcc) to a file. 'Course, you won't see anything in your
terminal window...

So, you could try the following:

make 2>&1 | tee file

which (1) sets up a pipe to tee.exe -- i.e. stdout from make now points to
stdin of tee (2) makes filedescriptor 2 (stderr) of make go to wherever
filedescriptor 1 (stdout) is currently pointing -- which is the stdin of
tee. Thus, tee gets both stdout and stderr. Tee is a program which copies
its stdin to a file, and to stdout; it's distributed with cygwin.

Cmd.exe also lets you do redirection in this manner, but you need either a
native version of tee, or you can use the cygwin version of tee, but then
things get hairy with path specifiers ( '/' vs '\'. I suppose you could use
cygpath somehow). You can get a native port of tee (and ports of a lot of
other gnu-ish stuff) from
http://www.edv.agrar.tu-muenchen.de/~syring/win32/UnxUtils.html . Also,
Anders Norlander has built mingw ports of a lot of gnu stuff - but not tee.

Command.com? Well...it doesn't do this kind of redirection, so you need an
external program, similar to the redir.exe that comes with djgpp. You can
get that program from
http://www.delorie.com/djgpp/dl/ofc/simtel/v2/djdev202.zip/bin/redir.exe ,
but it is intended for DOS and doesn't grok long filenames. I'm not sure
why that matters, since redir doesn't really _do_ anything with the LFN's
if they are there. Maybe it's related to the internal system() or spawnXX()
call in redir. I dunno - it mostly works. Try

redir -eo make | tee file

--Chuck






--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 16:42 dale henderson
@ 1999-04-06 21:23 ` Mumit Khan
  1999-04-30 18:32   ` Mumit Khan
  1999-04-06 22:36 ` Charles Wilson
  1999-04-30 18:32 ` dale henderson
  2 siblings, 1 reply; 18+ messages in thread
From: Mumit Khan @ 1999-04-06 21:23 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

"dale henderson" <dalekh@hotmail.com> writes:
> 
> I am not able to pipe the errors msgs from the compile to a file.
> Here is an example:
>       'wx/lib/libwx.a(frame.o)(.text0x190a):frame.cc: undefined 
> reference to 'wxLogLastError'

Please use redir.exe (URL below) to redirect the output to a file
so I can take a look.

  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/misc/redir.zip

This is the same REDIR utility provided by DJ Delorie's DJGPP and I've
slightly modified it for mingw. Source/doc included in the archive.

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
@ 1999-04-06 16:42 dale henderson
  1999-04-06 21:23 ` Mumit Khan
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: dale henderson @ 1999-04-06 16:42 UTC (permalink / raw)
  To: khan; +Cc: cygwin

>But where is the problem report????  I don't have the time to go 
>through 

I am not able to pipe the errors msgs from the compile to a file.
Here is an example:
      'wx/lib/libwx.a(frame.o)(.text0x190a):frame.cc: undefined 
reference to 'wxLogLastError'

>please search the mailing list for the last few exchanges between 
>Chris
>Pourcelot and I that should help you fix the faulty WINLIBS setting >in 
the

I found a hit on 3/17 for setting WINLIBS. It matches my makeg95.env, 
except for the ones that you stated in your note may have been left out. 
Do they have to be in a specific order? 




Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
  1999-04-06 15:41 dale henderson
@ 1999-04-06 15:55 ` Mumit Khan
  1999-04-30 18:32   ` Mumit Khan
  1999-04-30 18:32 ` dale henderson
  1 sibling, 1 reply; 18+ messages in thread
From: Mumit Khan @ 1999-04-06 15:55 UTC (permalink / raw)
  To: dale henderson; +Cc: cygwin

On Tue, 6 Apr 1999, dale henderson wrote:

> >
> >Unless you tell us what the problem is, you're unlikely to get any 
> help. 
> >wxWindows works fine with Mingw32 and Cygwin compilers.
> 
> Here are some of the environment settings, /wx/src/mingw32.bat

But where is the problem report????  I don't have the time to go through 
a whole bunch of Makefiles to guess what problem you may be running into! 
Please understand that.

That said, please send me the error report if you want assistance. Also,
please search the mailing list for the last few exchanges between Chris
Pourcelot and I that should help you fix the faulty WINLIBS setting in the
makeg95.env file. One reason I copy all related messages to the list is so
that it gets archived and primed for search engines to do the rest.

The search should pull up the last note from Chris that gives you the
correct values for WINLIBS and a few other variables.

> rem Mingw32 environment variables
> set 
> CPLUS_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
> set 
> C_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
> set 
> LIBRARY_PATH=f:\mingw32\lib;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66

I personally dislike these variables since they add a hidden layer of
(lack of ;-) control. I would rather use -If:/mingw32/include. But that's
just my personal and subjective preference.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: undefined references for GUI library using Mingw32
@ 1999-04-06 15:41 dale henderson
  1999-04-06 15:55 ` Mumit Khan
  1999-04-30 18:32 ` dale henderson
  0 siblings, 2 replies; 18+ messages in thread
From: dale henderson @ 1999-04-06 15:41 UTC (permalink / raw)
  To: cygwin

>> I am using the make files that come with the wxWin2 distribution.
> If I need to change the order of the linking, I am not sure what to 
>> change. Any help is appreciated, thanks.
>
>Unless you tell us what the problem is, you're unlikely to get any 
help. 
>wxWindows works fine with Mingw32 and Cygwin compilers.

Here are some of the environment settings, /wx/src/mingw32.bat
rem Mingw32 environment variables
rem
set WXWIN=/wxrel
path 
C:\WINDOWS;C:\WINDOWS\COMMAND;f:\mingw32\bin;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66
rem set GCC_EXEC_PREFIX=G:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
set RCINCLUDE=%WXWIN/include
set 
CPLUS_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
set 
C_INCLUDE_PATH=f:\mingw32\include;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66\include;f:\mingw32\include\g++
set 
LIBRARY_PATH=f:\mingw32\lib;f:\mingw32\lib\gcc-lib\i386-mingw32\egcs-2.91.66
set BISON_SIMPLE=f:/mingw32/share/bison.simple
set BISON_HAIRY=f:/mingw32/share/bison.hairy



and /wx/src/makeg95.env

########################## Compiler ##################################

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

 

# 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) $(WXDIR)/include $(RCDEFSWITCH) __WIN32__ 
$(RCDEFSWITCH) __WIN95__ $(RCDEFSWITCH) __GNUWIN32__

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

# Miscellaneous compiler options
#OPTIONS= -D__EGCS__ -D__MINGW32__

# from mumat khan mailing list
OPTIONS= -D__EGCS__  -D__MINGW32__
      

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


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 wxWindows and in VC++ 
4.0).
WINVERSION=-DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__
endif

CPU=i386

# Suffixes
OBJSUFF=o
SRCSUFF=cpp
LIBPREFIX=lib
LIBSUFF=a
EXESUFF=.exe
RESSUFF=res
RSCSUFF=rsc

# Warnings
#WARN = -Wall
WARN = 

# Which GUI, -Dwx_xview or -Dwx_motif (don't change this)
GUI = -D__WXMSW__ -D__WINDOWS__

# Optimization
 OPT = -O
#OPT =

# 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...
WXDIR = /wxrel
WXSRC=$(WXDIR)/src/msw
WXINC=$(WXDIR)/include
WXBASESRC=$(WXDIR)/src/common
WXLIB=$(WXDIR)/lib/$(LIBPREFIX)wx.$(LIBSUFF)

# added frame layout library 4/5/99
EXTRALIB= $(WXDIR)/lib/$(LIBPREFIX)fl.$(LIBSUFF)
INC = -I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/include/wx/msw/gnuwin32 
-I$(WXDIR)/src/zlib $(EXTRAINC) $(COMPPATHS)
RCLFLAGS=-cpp "cpp -lang-c++ -DWIN32 -D_WIN32 -DRCL_INVOKED 
-I$(WXWIN)\include"

#LIBS = -lctl3d32 $(WXLIB) $(WINLIBS) $(COMPLIBS)

LIBS = $(WXLIB) $(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$(WXDIR)/lib $(EXTRALDFLAGS)

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

# Set these in a batch file instead e.g. install/cygnus.bat
#	
RCINCLUDE="$(WXDIR)/include/msw;$(WXDIR)/contrib/fafa;$(WXDIR)/contrib/itsybits"; 
\
#	
CPLUS_INCLUDE_PATH=/usr/H-i386-cygwin32/i386-cygwin32/include:/usr/H-i386-cygwin32/lib/gcc-lib/i386-cygwin32/cygnus-2.7.2-961023/include:$(WXDIR)/include/common:$(WXDIR)/include/msw:$(WXDIR)/contrib/fafa:$(WXDIR)/contrib/itsybits; 
\
#	export CPLUS_INCLUDE_PATH RCINCLUDE;  \

#.rc.$(RESSUFF):  $< $(WXDIR)/include/msw/wx.rc
#	$(RC) $(RESFLAGS1) $< $(RESFLAGS2) $*.$(RESSUFF) $(RCLFLAGS)

#.$(RESSUFF).$(RSCSUFF): $<
#	$(CVTRES) $< $*.$(RSCSUFF)

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

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


One of the first undefined references is:



Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~1999-04-30 18:32 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-06 13:30 undefined references for GUI library using Mingw32 dale henderson
1999-04-06 14:10 ` Mumit Khan
1999-04-30 18:32   ` Mumit Khan
1999-04-30 18:32 ` dale henderson
1999-04-06 15:41 dale henderson
1999-04-06 15:55 ` Mumit Khan
1999-04-30 18:32   ` Mumit Khan
1999-04-30 18:32 ` dale henderson
1999-04-06 16:42 dale henderson
1999-04-06 21:23 ` Mumit Khan
1999-04-30 18:32   ` Mumit Khan
1999-04-06 22:36 ` Charles Wilson
1999-04-30 18:32   ` Charles Wilson
1999-04-30 18:32 ` dale henderson
1999-04-06 23:12 dale henderson
1999-04-07  4:37 ` Chris
1999-04-30 18:32   ` Chris
1999-04-30 18:32 ` dale henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).