From:Linux From Scratch - Version CLFS-SVN-20051126-Sparc64 Chapter 7.
If You Are Going to Boot
...
cat > ${LFS}/root/.bash_profile << "EOF"
PS1='\u:\w\$ '
LC_ALL=POSIX
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin:/tools/sbin
export LC_ALL PATH PS1
EOF
...
By putting /tools/bin ahead of the stan
I'm following the "Version 7.0-cross-lfs-20051019-Sparc64" book.
With the 7.2 sed, the e2fsprogs libraries end up in lib64.
For the "Cross Pure 64" I suppose we want the libraries to be created
in /lib not in /lib64 so we should omit the sed, don't we.
Am I missing something ?
Frans
--- Jim Gi
>From the sparc cross64 book, chapter 7.2 there is a sed to make sure
the shared libraries go in lib64.
I suppose this is wrong for the 64-bit only architecture as we only use
the lib directory.
Frans
_
>From the cross64 book we actually build the kernel as follows:
make ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}-
and then take the "vmlinux" kernel.
Why don't we do a
make ARCH=sparc64 CROSS_COMPILE=${LFS_TARGET}- image
and then take the "arch/sparc64/boot/image" kernel ?
In my case the vmlinu
*patch output*
linux-2.6.12.6/usr/
linux-2.6.12.6/usr/Makefile
linux-2.6.12.6/usr/gen_init_cpio.c
linux-2.6.12.6/usr/initramfs_data.S
++ cd /mnt/LFS-6/build/linux-2.6.12.6
++ patch -N -p1 -i
/mnt/LFS-6/sources/linux-2.6.12.6-gcc4_sparc_fix-1.patch
patching file drivers/sbus/char/bbc_envctrl.c
Hunk
In the silo installation the compile instruction is as follows:
make CROSS_COMPILE="sparc64-unknown-linux-gnu-"
Couldn't/shouldn't this be written as :
make CROSS_COMPILE=${LFS_TARGET}-
as for the kernel ?
Frans
Brian Kadzban wrote:
>> Frans Verstegen wrote:
>> Fiddling with the configure-fragment (running manually) the
>> compile/link aborts because the crt1.o cannot be found:
>> bash-2.05b# sparc64-unknown-linux-gnu-gcc -m64 -mcpu=ultrasparc
>> -mtune=ultrasparc -o co
FS_HOST=i686-pc-cygwin
LFS_TARGET=sparc64-unknown-linux-gnu
PATH=/cross-tools/bin:/bin:/usr/bin
PWD=/home/Frans Verstegen/7.0-cross-lfs-20050815-Sparc64/~lfs
SHLVL=1
SYSTEMROOT=C:\WINDOWS
_=/bin/env
binutils goes like this:
+ cd /mnt/LFS-6/build/binutils-2.16.1
+ patch -N -p1 -i /mnt/
"Jim Gifford" <[EMAIL PROTECTED]> a écrit dans le message de news:
> Looks like you forgot the Sparc TLS patch for glibc.
Pretty sure not (though never sure), below the script I'm using with it's
output:
$ more *11.sh
export PATH=/cross-tools/bin:/bin:/usr/bin
export LC_ALL=POSIX
unset CFLAGS
uns
"Jim Gifford" <[EMAIL PROTECTED]> a écrit dans le message de news:
> Looks like you forgot the Sparc TLS patch for glibc.
Pretty sure not (though never sure), below the script I'm using with it's
output:
$ more *11.sh
export PATH=/cross-tools/bin:/bin:/usr/bin
export LC_ALL=POSIX
unset CFLAGS
uns
I'm afraid I'm overlooking something obvious, I still get the same
error following the "Version 7.0-cross-lfs-20050930-Sparc64" book.
>From configure:
(...nothing suspicious before...)
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/s
cross sparc64 chapter 5 glibc tls error
Following the "Version 7.0-cross-lfs-20050928-Sparc64" book I stumble
on the following error while building glibc:
>From configure:
(...nothing suspicious before...)
checking for long double... no
checking size of long double... 0
running configure
When following the "Version 7.0-cross-lfs-20050926-Sparc64" I get the
following error in configuring glibc in "5.8.1. Installation of Glibc"
(...)
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/sparc/sparc64/elf
checking for sparc
Hello everyone
The following link is broken in the cross-sparc64 and
cross-sparc64-multilib books
Glibc TLS Patch - 4 KB:
http://www.linuxfromscratch.org/patches/downloads/glibc/glibc-20050919-sparc64_tls-1.patch
Frans
___
14 matches
Mail list logo