2012/8/11 Loaden <[email protected]>

> Not work under Ubuntu 12.04 64bit.
>
> loaden@qpsoft:~/qpSOFT/Projects/Qbs/tests/manual$ ls
>> /opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/bin/as
>>
>> /opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/bin/as
>> loaden@qpsoft:~/qpSOFT/Projects/Qbs/tests/manual$
>> /opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/bin/as
>> bash:
>> /opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/bin/as:
>> No such file or directory
>>
>
> compiling main.cpp
>> /opt/mingw64/bin/x86_64-w64-mingw32-g++ -m64 -O2 -Wall -W -pipe -DUNICODE
>> -DSOMETHING -DHAVE_MAIN_CPP -D_RELEASE -c
>> /home/loaden/qpSOFT/Projects/Qbs/tests/manual/hello/src/main.cpp -o
>> /home/loaden/qpSOFT/Projects/Qbs/tests/manual/hello/build/m64-mingw64-4.7-release/.obj/HelloWorld/src/main.o
>> x86_64-w64-mingw32-g++: error trying to exec
>> '/opt/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.1/../../../../x86_64-w64-mingw32/bin/as':
>> execv: No such file or directory
>>
>
>
Very weird. I see the same issue on Fedora 17 and Ubuntu 12.04.

I tried to find out why, but didn't succeed. I posted a question about it
here:
http://unix.stackexchange.com/questions/45277/executing-binary-file-file-not-found

Rebuilding the binaries changed nothing. I fear this is due to some shining
newness in Arch Linux that isn't backward compatible. I just can't seem to
find any indication of that (see linked question). The extracted binaries
work on a fresh Arch install. Not sure what the other distro's are doing
differently. I will ask on the Arch Linux forums too.

This all being said, you can use either Ubuntu's or Fedora's repository
versions (although a bit dated what concerns the headers/crt) of the
cross-compilers, and perhaps ask them to provide updated versions if you're
lacking features.

Ruben
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to