From: Bert Wesarg <bert.wesarg@googlemail.com>
To: rubisher <rubisher@scarlet.be>
Cc: linux-sparse@vger.kernel.org
Subject: Re: cgcc and REAL_CC help
Date: Thu, 17 Dec 2009 10:42:12 +0100 [thread overview]
Message-ID: <36ca99e90912170142p26b9b0aal1a08509d65c53047@mail.gmail.com> (raw)
In-Reply-To: <4B29F6C2.7040800@scarlet.be>
On Thu, Dec 17, 2009 at 10:15, rubisher <rubisher@scarlet.be> wrote:
> 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}
Try:
export REAL_CC=gcc-4.4
: ${CC=/usr/bin/cgcc}
Or use eval or the $CC command below.
>
> 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.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-12-17 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 9:15 cgcc and REAL_CC help rubisher
2009-12-17 9:42 ` Bert Wesarg [this message]
2009-12-18 17:14 ` rubisher
2009-12-20 22:45 ` Chris Li
2009-12-21 16:42 ` rubisher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36ca99e90912170142p26b9b0aal1a08509d65c53047@mail.gmail.com \
--to=bert.wesarg@googlemail.com \
--cc=linux-sparse@vger.kernel.org \
--cc=rubisher@scarlet.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).