-m32 broken on bi-arch amd64 systems?
Paweł Wieczorek
wieczyk at gmail.com
Tue Dec 23 10:08:22 PST 2008
I will extend topic to C++:
[19:38] zubr:~/Code (1) $ g++ -m32 -B /usr/lib32 p.cpp
In file included from /usr/include/c++/4.2/ext/new_allocator.h:37,
from /usr/include/c++/4.2/bits/c++allocator.h:39,
from /usr/include/c++/4.2/bits/allocator.h:53,
from /usr/include/c++/4.2/memory:54,
from /usr/include/c++/4.2/string:48,
from /usr/include/c++/4.2/bits/locale_classes.h:47,
from /usr/include/c++/4.2/bits/ios_base.h:47,
from /usr/include/c++/4.2/ios:48,
from /usr/include/c++/4.2/ostream:45,
from /usr/include/c++/4.2/iostream:45,
from p.cpp:1:
/usr/include/c++/4.2/new:95: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:96: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:99: error: 'operator new' takes type 'size_t'
('unsigned int') as first parameter
/usr/include/c++/4.2/new:100: error: 'operator new' takes type
'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:105: error: 'operator new' takes type
'size_t' ('unsigned int') as first parameter
/usr/include/c++/4.2/new:106: error: 'operator new' takes type
'size_t' ('unsigned int') as first parameter
[19:38] zubr:~/Code (1) $ cat p.cpp
#include <iostream>
int
main()
{
return 0;
}
[19:39] zubr:~/Code $
Problem with C++ is more connected to headers than binaries, any suggestions
how to use G++ to produce 32bit code ?
More information about the freebsd-amd64
mailing list