On Thursday, 17 October 2013 at 08:28:03 UTC, Joseph Rushton
Wakeling wrote:
On 17/10/13 08:24, Iain Buclaw wrote:
On 17 October 2013 07:17, Joseph Rushton Wakeling
<joseph.wakel...@webdrake.net> wrote:
On 17/10/13 00:34, Iain Buclaw wrote:
On Ubuntu, there is no workaround other than patching gcc
proper with
the Ubuntu patches for multiarch.
You are required to set:
CPATH=/usr/include/<arch>
LIBRARY_PATH=/usr/lib/<arch>
So that a vanilla gcc is able to find headers and libraries
to compile
and link programs
So, still worth using the deb source package instead of
vanilla GCC, and
running the patches?
I thought recent GCC supported multiarch out of the box? See:
http://forum.dlang.org/post/koa0rg$1m4o$1...@digitalmars.com
You could try compiling with --enable-multiarch. But I
haven't done so yet. :)
Well, it compiles fine and seems to run OK. I have nothing to
test it with in terms of building stuff for other architectures
...
I'm going to reconfigure with --enable-multiarch and rebuild on
my RPi. With some luck it will have compiled before I go to bed
tonight. It *is* awfully slow for this kind of thing :-D