On Wed, 13 Jun 2001, Keith Owens wrote:
> Not really, just cut and paste the commands in your bug report,
> changing the -o file to '-' and adding -E. It is the standard way to
> see what the pre-processor is doing. Damn, there goes another trade
> secret :).
Wonder if it'd work as a party trick too? ;-)
> CC = $(CROSS_COMPILE)gcc -V egcs-2.91.66 -$
>
> The pre-processor from gcc 2.96 automatically sets -$. Consistency,
> what consistency?
Indeed, but, it doesn't seem to work. Make dep hangs at this line:
# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep
scripts/mkdep.c
make[1]: Entering directory
`/usr/src/xfs-cvs/linux-2.4-xfs/linux/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory
`/usr/src/xfs-cvs/linux-2.4-xfs/linux/arch/i386/boot'
scripts/mkdep -- init/*.c > .depend
scripts/mkdep -- `find /usr/src/xfs-cvs/linux-2.4-xfs/linux/include/asm
/usr/src/xfs-cvs/linux-2.4-xfs/linux/include/linux
/usr/src/xfs-cvs/linux-2.4-xfs/linux/include/scsi
/usr/src/xfs-cvs/linux-2.4-xfs/linux/include/net -name SCCS -prune -o
-follow -name \*.h ! -name modversions.h -print` > .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net
_sfdep_ipc _sfdep_lib _sfdep_arch/i386/kernel _sfdep_arch/i386/mm
_sfdep_arch/i386/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc
lib arch/i386/kernel arch/i386/mm arch/i386/lib"
make[1]: Entering directory `/usr/src/xfs-cvs/linux-2.4-xfs/linux'
make -C kernel fastdep
make[2]: Entering directory `/usr/src/xfs-cvs/linux-2.4-xfs/linux/kernel'
gcc -V egcs-2.91.66 - -D__KERNEL__
-I/usr/src/xfs-cvs/linux-2.4-xfs/linux/include -Wall -Wstrict-prototypes
-O2 -fno-strict-aliasing -fomit-frame-pointer -pipe -march=i686 -E
-D__GENKSYMS__ signal.c
| /sbin/genksyms -p smp_ -k 2.4.6 >
/usr/src/xfs-cvs/linux-2.4-xfs/linux/include/linux/modules/signal.ver.tmp
with "-$" added as you suggested. Without it, it continues. Maybe it needs
to be escaped somehow?
--
Regards,
Juha
PGP fingerprint:
B7E1 CC52 5FCA 9756 B502 10C8 4CD8 B066 12F3 9544
|