[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling with linuxthreads
From: |
frank . schafer |
Subject: |
Compiling with linuxthreads |
Date: |
Thu, 07 Jun 2001 08:33:17 +0200 |
Hi onesmore,
If I don't use the i486 switch, the compilation of linuxthreads
succeeds.
The FAQ says, that it IS possible, to build for a concrete CPU using
--host=... and CFLAGS.
All the remaining software is configured with --host=... and rewriting
the Makefiles using the following script: from the ${SRC} directory:
#!/bin/bash
mf=""
for f in `find . -name Makefile`; do
if [ `grep -w "CFLAGS = " $f | wc -l` -gt 0 ]; then
mf="$mf $f";
fi ;
done
for f in $mf; do
cat $f | sed 's/^CFLAGS = \(.*\)$/CFLAGS = -mcpu=i486 \1/' > ../~tmp;
mv ../~tmp $f;
done
exit 0
# END OF CFSET
Can I use this techniqe for glibc too?
Frank