Hi Danny
I tried with 3.4.0 version, but the problem still persist.
Here is the output
g++ -W -Wall -Wpointer-arith -mcpu=3Dpentiumpro -mthreads -O3 -g -pipe
-fno-exc
eptions -fcheck-new -Ic:\\\\tao\\\\ace_wrappers
-Ic:\\\\tao\\\\ace_wrappers\\\
\tao -D__ACE_INLINE__ -Ic:\\\\tao\\\\ace_wrappers\\\\tao
-Ic:\\\\tao\\\\ace_w
rappers\\\\tao/orbsvcs
-Ic:\\\\tao\\\\ace_wrappers\\\\tao/orbsvcs/orbsvcs/ESF -I
c:\\\\tao\\\\ace_wrappers\\\\tao/orbsvcs/orbsvcs/ETCL
-DTAO_NOTIFY_BUILD_DLL -c
-o .shobj/CosNotificationC.o CosNotificationC.cpp
{standard input}: Assembler messages:
{standard input}:4498: Error: symbol `_D' is already defined
mingw32-make: *** [.shobj/CosNotificationC.o] Error 1
C:\TAO\ACE_wrappers\TAO\orbsvcs\orbsvcs>g++ -v
Using built-in specs.
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=3D
mingw32 --target=3Dmingw32 --prefix=3D/mingw --enable-threads =
--disable-nls
--enable
-languages=3Dc,c++,f77,ada,objc,java --disable-win32-registry
--disable-shared --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x
--enable-ja
va-gc=3Dboehm --disable-libgcj-debug --enable-interpreter
--enable-hash-synchroniz
ation
Thread model: win32
gcc version 3.4.0 (mingw special)
Any idea whats the problem ?
I installed 3.4.0 version of g++ in c:\newmingw\ and added that in the
beginning of PATH variable.
Many Thanx
Kiran
-----Original Message-----
From: mingw-users-admin@...
[mailto:mingw-users-admin@...] On Behalf Of Danny
Smith
Sent: Thursday, October 14, 2004 12:37 PM
To: mingw-users@...
Subject: Re: [Mingw-users] Bug in as.exe
kiran.bacche@... wrote:
> I am using mingw for compiling the TAO on WIN32.
> The g++.exe gives an error while compiling the IDL generated
> stubs/skeletons.
> The error is actually emitted by as.exe.
>
> The error is " '_D' already defined ". I came to know from the
> internet that this is a known bug which is fixed in later versions.
>
> Now whats the easiest way to upgrade my mingw software to solve this
> problem.
>
> Ex: Is there a latest as.exe which I can download and replace the
> existing as.exe in my c:\mingw\bin directory ?
> Or something similar ?
I believe that error you are referring to is _not_ a as.exe bug but a
gcc bug. Add -save-temps switch and look at the asembly file to see if
there are indeed multiple _D symbols defined.
The gcc bug is fixed in gcc-3.4.x. But please check the assembly file
to see if my guess is correct.
Danny
Danny
>
> Many Thanx
> Kiran
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on
> ITManagersJournal Use IT products in your business? Tell us what you
> think of them. Give us Your Opinions, Get Free ThinkGeek Gift
> Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@...
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give
us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
MinGW-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
|