public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: [ANNOUNCE] mingw32 GCC 2.8.0 based toolchain available.
@ 1998-01-22  9:32 Liam Fitzpatrick
  0 siblings, 0 replies; 4+ messages in thread
From: Liam Fitzpatrick @ 1998-01-22  9:32 UTC (permalink / raw)
  To: gnu-win32

>I upgraded the tools on my mingw32 page:
>
>  http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html
>
>to the newly released GCC 2.8.0


I'm having problems with templates and libstdc++ :-{ One example is using
string:
e.g.
  #include <string>
  int main()
  {
    string s("Hello World!");
    return 0;
  }

Using the command "g++ teststring.cpp" gives lots of multiple definitions at
link time (shown below). The same errors result when -fno-implicit-templates
is specified.

Any ideas?

Environment variables include:
PATH=c:\mingw32\bin;C:\WINNT\SYSTEM32;C:\WINNT;C:\PROGRA~1\MICROS~1\Office;c
:\program
files\cvs;C:\gnuwin32\b18\H-i386-cygwin32\bin;C:\gnuwin32\b18\tcl\bin;C:\IBL
OCAL\BIN;C:\IDAPI;
CPLUS_INCLUDE_PATH=C:\MINGW32\include\g++;C:\MINGW32\include
C_INCLUDE_PATH=C:\MINGW32\include
GCC_EXEC_PREFIX=C:\MINGW32\lib\gcc-lib\
GDBTK_LIBRARY=C:/gnuwin32/b18/share/gdbtcl
LIBRARY_PATH=C:\MINGW32\lib
TCL_LIBRARY=C:/gnuwin32/b18/tcl/lib/tcl7.6

g++ -v displays:
Reading specs from C:\MINGW32\lib\gcc-lib\i386-mingw32\2.8.0\specs
gcc version 2.8.0

g++ teststring.cpp displays:
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x1ef8):sinst.cc: multiple
definition of `basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >::~basic_string(void)'
C:\TEMP\cc0001851.o(.text$_$_t12basic_string3ZcZt18string_char_traits1ZcZt24
__default_alloc_template2b0i0+0x0):teststring.cc: first defined here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x1ff0):sinst.cc: multiple
definition of `basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >::basic_string(char const *)'
C:\TEMP\cc0001851.o(.text$__t12basic_string3ZcZt18string_char_traits1ZcZt24_
_default_alloc_template2b0i0PCc+0x0):teststring.cc: first defined here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x2050):sinst.cc: multiple
definition of `basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >::assign(char const *)'
C:\TEMP\cc0001851.o(.text$assign__t12basic_string3ZcZt18string_char_traits1Z
cZt24__default_alloc_template2b0i0PCc+0x0):teststring.cc: first defined here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x20c4):sinst.cc: multiple
definition of `basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >::assign(char const *, unsigned int)'
C:\TEMP\cc0001851.o(.text$assign__t12basic_string3ZcZt18string_char_traits1Z
cZt24__default_alloc_template2b0i0PCcUi+0x0):teststring.cc: first defined
here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x22b4):sinst.cc: multiple
definition of
`grab__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_temp
late2b0i03Rep'
C:\TEMP\cc0001851.o(.text$grab__Q2t12basic_string3ZcZt18string_char_traits1Z
cZt24__default_alloc_template2b0i03Rep+0x0):teststring.cc: first defined
here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x24a4):sinst.cc: multiple
definition of
`data__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_temp
late2b0i03Rep'
C:\TEMP\cc0001851.o(.text$data__Q2t12basic_string3ZcZt18string_char_traits1Z
cZt24__default_alloc_template2b0i03Rep+0x0):teststring.cc: first defined
here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x24b0):sinst.cc: multiple
definition of
`release__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_t
emplate2b0i03Rep'
C:\TEMP\cc0001851.o(.text$release__Q2t12basic_string3ZcZt18string_char_trait
s1ZcZt24__default_alloc_template2b0i03Rep+0x0):teststring.cc: first defined
here
C:\MINGW32\lib/libstdc++.a(cstrmain.o)(.text+0x2538):sinst.cc: multiple
definition of `basic_string<char, string_char_traits<char>,
__default_alloc_template<false, 0> >::rep(void) const'
C:\TEMP\cc0001851.o(.text$rep__Ct12basic_string3ZcZt18string_char_traits1ZcZ
t24__default_alloc_template2b0i0+0x0):teststring.cc: first defined here

Thanks,
Liam
----
Liam Fitzpatrick <liam@iname.com>
Programming Research Ltd. 14 Clyde Road, Dublin 4
Tel: +353-1-6671088  Fax: +353-1-6671610  http://www.prqa.co.uk



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: [ANNOUNCE] mingw32 GCC 2.8.0 based toolchain available.
  1998-01-20 14:58 ` Paul Garceau
@ 1998-01-24 15:34   ` Jan-Jaap van der Heijden
  0 siblings, 0 replies; 4+ messages in thread
From: Jan-Jaap van der Heijden @ 1998-01-24 15:34 UTC (permalink / raw)
  To: Paul Garceau; +Cc: GNU-Win32 list

On Tue, 20 Jan 1998, Paul Garceau wrote:

> On 18 Jan 98 at 20:49, the Illustrious Jan-Jaap van der Heijden wrote:
> 
> > 
> > I upgraded the tools on my mingw32 page:
> > 
> >   http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html
> 
> 
> 	Is there a US Mirror for this?  If there is, I am unaware of it.

That makes two of us :-)

> 
> 	I am assuming, at this point in time, that each of these things can be 
> downloaded from the GNU site here in the US.  However, as I understand it, 
> there would need to be further modifications completed after the 
> downloading from the mit.edu site before the latest version of GCC would 
> be useable as a functional part of mingw32.
> 

All patches are with the rest on on the FTP server, same machine:
  ftp://agnes.dida.physik.uni-essen.de/home/janjaap/mingw32/

The tricky part in building GCC yourself is not getting the sources,
but the fact that you need a unix system with a crosscompiler to build
everything. And, I use snapshot binutils (gas) and those sources are not
public.

> 	I am currently considering putting a US Mirror site together for 
> Jan-Jaap, but am not sure if I've got the available disk space.  I do know 
> that my ISP tends to support GNU development projects.  It is simply a 
> question of need.
> 

Current ftp disk usage:
6999    ./binaries
23      ./diffs/CDK
861     ./diffs/attic
956     ./diffs
4333    ./linux
7090    ./misc
316     ./platform-SDK/def
425     ./platform-SDK/import_libs
742     ./platform-SDK

Total: 20122 (plus a few Kb for the www pages)

Greetings,
Jan-Jaap

---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: [ANNOUNCE] mingw32 GCC 2.8.0 based toolchain available.
  1998-01-18 16:07 Jan-Jaap van der Heijden
@ 1998-01-20 14:58 ` Paul Garceau
  1998-01-24 15:34   ` Jan-Jaap van der Heijden
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Garceau @ 1998-01-20 14:58 UTC (permalink / raw)
  To: gnu-win32

On 18 Jan 98 at 20:49, the Illustrious Jan-Jaap van der Heijden wrote:

> 
> I upgraded the tools on my mingw32 page:
> 
>   http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html


	Is there a US Mirror for this?  If there is, I am unaware of it.

	I am assuming, at this point in time, that each of these things can be 
downloaded from the GNU site here in the US.  However, as I understand it, 
there would need to be further modifications completed after the 
downloading from the mit.edu site before the latest version of GCC would 
be useable as a functional part of mingw32.

	I am currently considering putting a US Mirror site together for 
Jan-Jaap, but am not sure if I've got the available disk space.  I do know 
that my ISP tends to support GNU development projects.  It is simply a 
question of need.

	Thanks for any information the participants of this mailing list 
might have.

	Peace,

		Paul G.

Information Systems Consultant
NewDawn Productions
http://www.teleport.com/~pgarceau/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* [ANNOUNCE] mingw32 GCC 2.8.0 based toolchain available.
@ 1998-01-18 16:07 Jan-Jaap van der Heijden
  1998-01-20 14:58 ` Paul Garceau
  0 siblings, 1 reply; 4+ messages in thread
From: Jan-Jaap van der Heijden @ 1998-01-18 16:07 UTC (permalink / raw)
  To: GNU-Win32 list

I upgraded the tools on my mingw32 page:

  http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/index.html

to the newly released GCC 2.8.0
The good news is that all patches needed to build mingw32 GCC have been
integrated in the FSF source, so no patches are needed anymore.

On this page, you will also find:

	binutils 980103
	libstdc++ 2.8.0
	libg++ 2.8.0
	mingw32 (Colin's 971230 + a few extra prototypes)
	windows32api headers
	GNU make 3.76.1
	GNU bison 1.25
	GNU flex 2.5.4a
	GNU m4 1.4
	gzip 1.2.4

All native mingw32, of course!

Enjoy,
JanJaap

---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1998-01-24 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-22  9:32 [ANNOUNCE] mingw32 GCC 2.8.0 based toolchain available Liam Fitzpatrick
  -- strict thread matches above, loose matches on Subject: below --
1998-01-18 16:07 Jan-Jaap van der Heijden
1998-01-20 14:58 ` Paul Garceau
1998-01-24 15:34   ` Jan-Jaap van der Heijden

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).