Anyway to specify the gcc location in gn configuration?

37 views
Skip to first unread message

Jane Chen

unread,
Dec 20, 2018, 8:31:50 PM12/20/18
to v8-users
When I build v8 with gn and ninja on RedHat7, I'd like to specify the location of gcc so that it doesn't use the default one.  Is it something specifiable through the gn configuration?

Thanks!

Ben Noordhuis

unread,
Dec 23, 2018, 11:48:19 AM12/23/18
to v8-users
On Fri, Dec 21, 2018 at 2:31 AM Jane Chen <jxch...@gmail.com> wrote:
> When I build v8 with gn and ninja on RedHat7, I'd like to specify the location of gcc so that it doesn't use the default one. Is it something specifiable through the gn configuration?

I haven't tried if it actually works but I believe the magic
incantation is `python tools/dev/v8gen.py x64.release --
cc_wrapper=/path/to/gcc`.
Reply all
Reply to author
Forward
0 new messages