于 2012/3/7 21:30, niXman 写道:
> 2012/3/7 xunxun<[email protected]>:
>> I think should delete because there has been
>>
>> --enable-targets
>>
>> I don't know any of --target and --enable-targets has priority
> If this option is deleted, on building gcc-c++ (all) on configure
> libgcc I get other error.
>
>> Checking multilib configuration for libgcc...
>> ...
>> ...
>> checking for suffix of object files... configure: error: in 
>> `/home/niXman/mingw-build/gcc-4.6.3/i686-w64-mingw32/libgcc':
>> configure: error: cannot compute suffix of object files: cannot compile
>> See `config.log' for more details.
> in config.log:
>> configure:3246: checking for suffix of object files
>> configure:3268: /home/niXman/mingw-build/gcc-4.6.3/./gcc/xgcc 
>> -B/home/niXman/mingw-build/gcc-4.6.3/./gcc/ 
>> -L/home/niXman/mb-0.8/../mingw-x32/i686-w64-mingw32/lib 
>> -L/home/niXman/mb-0.8/../mingw-x32/mingw/lib -isystem 
>> /home/niXman/mb-0.8/../mingw-x32/i686-w64-mingw32/include -isystem 
>> /home/niXman/mb-0.8/../mingw-x32/mingw/include 
>> -B/home/niXman/mb-0.8/../mingw-x32/i686-w64-mingw32/bin/ 
>> -B/home/niXman/mb-0.8/../mingw-x32/i686-w64-mingw32/lib/ -isystem 
>> /home/niXman/mb-0.8/../mingw-x32/i686-w64-mingw32/include -isystem 
>> /home/niXman/mb-0.8/../mingw-x32/i686-w64-mingw32/sys-include    -c -g -O3 
>> -pipe -fomit-frame-pointer -momit-leaf-frame-pointer 
>> -I/home/niXman/mb-0.8/../mingw-libs/include  conftest.c>&5
>> E:/msys/home/niXman/mingw-build/gcc-4.6.3/gcc/as: line 87: exec: -o: invalid 
>> option
>> exec: usage: exec [-cl] [-a name] file [redirection ...]
This is your gcc build as script error, it's because the detect changed. 
(Maybe you can see

E:/msys/home/niXman/mingw-build/gcc-4.6.3/gcc/as to check the path

)
So you should make distclean and configure and make
>> conftest.c:16:1: fatal error: error closing -: Broken pipe
>> compilation terminated.
>> configure:3272: $? = 1
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "GNU C Runtime Library"
>> | #define PACKAGE_TARNAME "libgcc"
>> | #define PACKAGE_VERSION "1.0"
>> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
>> | #define PACKAGE_BUGREPORT ""
>> | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
>> | /* end confdefs.h.  */
>> |
>> | int
>> | main ()
>> | {
>> |
>> |   ;
>> |   return 0;
>> | }
>> configure:3286: error: in 
>> `/home/niXman/mingw-build/gcc-4.6.3/i686-w64-mingw32/libgcc':
>> configure:3289: error: cannot compute suffix of object files: cannot compile
> I do not know what the exec is. But it is not a MSYS command.
Yea. I encoutered it in the past. It's because the gcc build as script 
detect is wrong.
>
>
>> You should put liblto_plugin-0.dll to 
>> /home/niXman/mingw-build/gcc-4.6.3/./gcc/
>> And  type it again xgcc -v -x c++ /dev/null
> I do not think that the error occurs because of this.
The command don't cause the error, it only make you sure what path the 
ld searched.
>
>>
>> --
>> Best Regards,
>> xunxun
>>
>>
>>
>>
>>
>> --
>> Best Regards,
>> xunxun
>
>


-- 
Best Regards,
xunxun


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to