This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/1] Add multilib build support for libc target.

Yann E. MORIN wrote:
> Konrad, All,
> On Monday 14 November 2011 11:37:59 Konrad Eisele wrote:
>> ---
>>  scripts/build/binutils/        |   14 +++-
>>  scripts/build/cc/                   |   15 +++-
>>  scripts/build/libc/ |  124 +++++++++++++++++++++++++---
>>  3 files changed, 134 insertions(+), 19 deletions(-)
> Could you provide a sample .config where multilib works?
> I'm strugling to get at least one configuration to at least pass the
> C library headers install step, and none works... :-(
> If I could get a sane and known-working starting point, I could build
> from there.

$tar xvf crosstool-ng-1.13.0.tar.bz2
$cat ct-1.diff | patch -p1 -d crosstool-ng-1.13.0
$cd crosstool-ng-1.13.0
$make -f do_install
$make -f do_build

The patch ct-1.diff adds crosstool-ng-1.13.0/build/ctng/.config
which is the conf file that build the toolchain in:
/opt/sparc-linux-4.6.0-toolchains/multilib (must be writable or change)
$make -f do_install
install itself in crosstool-ng-1.13.0/build
$make -f do_build
builds inside crosstool-ng-1.13.0/build/ctng using the supplied .config,
and finally to debug:
$make -f do_build RESTART=<step> STOP=<step>
The toolchain has 4 multilib combinations:
"-msoft-float",  "-msoft-float -mv8", "-mv8" and "" .

-- Konrad

$cat /etc/slackware-version
Slackware 12.2.0
$uname  -a
Linux ada #1 SMP Mon Dec 13 16:52:53 CET 2010 i686 Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz GenuineIntel GNU/Linux

> Regards,
> Yann E. MORIN.

For unsubscribe information see

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]