linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cgcc and REAL_CC help
@ 2009-12-17  9:15 rubisher
  2009-12-17  9:42 ` Bert Wesarg
  0 siblings, 1 reply; 5+ messages in thread
From: rubisher @ 2009-12-17  9:15 UTC (permalink / raw)
  To: linux-sparse

Hello all,

May be can I ask you some more help.

I trying to sparse a bit grub2 code but at some moment make call a sript wich failled with following error:
genkernsyms.sh: line 23: REAL_CC=gcc-4.4: command not found

this shell script is:
### The configure script will replace these variables.

: ${srcdir=/Sources/jso/Deb.grub2/exp-wrk1}
: ${CC=REAL_CC=gcc-4.4 /usr/bin/cgcc}

u=
grep "^#define HAVE_ASM_USCORE" config.h >/dev/null 2>&1 && u="_"

$CC -O0 -DGRUB_MACHINE_IEEE1275=1 -m32 -fno-stack-protector -Wbitwise -Wnon-pointer-null -DGRUB_SYMBOL_GENERATOR=1 -E -I. 
-Iinclude
-I"$srcdir/include" $* \
   | grep -v '^#' \
   | sed -n \
         -e '/EXPORT_FUNC *([a-zA-Z0-9_]*)/{s/.*EXPORT_FUNC *(\([a-zA-Z0-9_]*\)).*/'"$u"'\1 kernel/;p;}' \
         -e '/EXPORT_VAR *([a-zA-Z0-9_]*)/{s/.*EXPORT_VAR *(\([a-zA-Z0-9_]*\)).*/'"$u"'\1 kernel/;p;}' \
   | sort -u

Any idea how should I fix it?

Tia,
	J.

PS: I am runing a debian unstable with bash 4.0-7 dpkg as shell.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-21 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17  9:15 cgcc and REAL_CC help rubisher
2009-12-17  9:42 ` Bert Wesarg
2009-12-18 17:14   ` rubisher
2009-12-20 22:45     ` Chris Li
2009-12-21 16:42       ` rubisher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).