[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] binutils 2.18 patch
Alan Hourihane wrote:
Without applying your patch, I tried to cross-compile the binutils for
the MiNT host, using --enable-shared, and I got the following error very
early when building libiberty :
../../binutils-2.18-mint-20080228/libiberty/regex.c:1: error: -fpic is
not supported on this target
Right, and that's the problem. It needn't bail like that with the patch.
Ok, I begin to understand...
Without the patch, building the binutils with --enable-shared fails,
because shared libraries and PIC are not available on the MiNT target.
With the patch, the option --enable-shared can be used to build the
binutils, but that option is ignored because shared libraries are not
available on MiNT.
Am I right ?
If so, the obvious way to fix the problem would be to not use the
--enable-shared option when building the binutils...
I'm probably still missing something...
Note: The libtool.m4 file is part of the GNU libtool project, it is
copied into every project using it. The official source is here:
http://cvs.savannah.gnu.org/viewvc/libtool/libltdl/m4/libtool.m4?root=libtool&view=markup
That's where the changes should be finally committed.
--
Vincent Rivière