delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/22/21:38:52

From: D DOT H DOT Akehurst AT ukc DOT ac DOT uk ("D.H.Akehurst")
Subject: Bugs with gcc
22 Jan 1997 21:38:52 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9701221135.AA19854.cygnus.gnu-win32@cypress.ukc.ac.uk>
Mime-Version: 1.0
X-Mailer: exmh version 1.6.5 12/11/95
Original-To: gnu-win32 AT cygnus DOT com
Original-Cc: D DOT H DOT Akehurst AT ukc DOT ac DOT uk
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have just recently discovered your project, which is I hope going to save me
much trouble as I have to port some unix developed code to win32.

however, I have come across two problems,

firstly, compiling/linking with the -s flag to g++ causes an executable
to be produced, that will not run, - apparently a non NT executable.

This is no problem to me as I'm not using it, but I happened across it,
and figured it should be reported.


secondly, the stl provided within the g++ library seems to have some problems,

I'm compiling several object files each including various parts of the stl,
and when I come to link them I get numerous
"multiple definition of ..." errors
which refer to things defined in "alloc.h"

As far as I can tell this is because these things are defined in the header 
file
in such a way as they should not be included more than once,
ie. non inline functions, and other stuff

the functions I can fix by adding inline's, but I'm not sure how to fix this
with the variable definitions.


hope someone can help
Dave.

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019