Hi Ben,
This is the output
make[1]: Entering directory
`/home/username/Programming/seperateV8_temp/v8/out'
/home/username/Programming/seperateV8_temp/v8/third_party/llvm-build/Release+Asserts/bin/clang++
'-DV8_TARGET_ARCH_X64' '-DENABLE_GDB_JIT_INTERFACE'
'-DV8_DEPRECATION_WARNINGS' '-DV8_I18N_SUPPORT'
'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' '-DU_USING_ICU_NAMESPACE=0'
'-DU_ENABLE_DYLOAD=0' '-DU_STATIC_IMPLEMENTATION' '-DENABLE_DISASSEMBLER'
'-DV8_ENABLE_CHECKS' '-DOBJECT_PRINT' '-DVERIFY_HEAP' '-DDEBUG'
'-DTRACE_MAPS' '-DENABLE_HANDLE_ZAPPING' '-DENABLE_SLOW_DCHECKS' -I../.
-I../third_party/icu/source/i18n -I../third_party/icu/source/common -Wall
-Werror -W -Wno-unused-parameter -Wno-long-long -pthread -fno-exceptions
-pedantic -Wno-missing-field-initializers -m64 -m64 -g -O0
-Woverloaded-virtual -Woverloaded-virtual -fdata-sections
-ffunction-sections -fdata-sections -ffunction-sections -Wnon-virtual-dtor
-fno-rtti -std=gnu++0x -MMD -MF
/home/username/Programming/seperateV8_temp/v8/out/x64.debug/.deps//home/username/Programming/seperateV8_temp/v8/out/x64.debug/obj.target/v8_base/src/accessors.o.d.raw
-c -o
/home/username/Programming/seperateV8_temp/v8/out/x64.debug/obj.target/v8_base/src/accessors.o
../src/accessors.cc
In file included from ../src/accessors.cc:5:
In file included from .././src/v8.h:32:
In file included from .././src/allocation.h:8:
In file included from .././src/globals.h:13:
.././src/base/macros.h:11:10: fatal error: 'cstring' file not found
#include <cstring>
^
1 error generated.
make[1]: ***
[/home/username/Programming/seperateV8_temp/v8/out/x64.debug/obj.target/v8_base/src/accessors.o]
Error 1
make[1]: Leaving directory
`/home/username/Programming/seperateV8_temp/v8/out'
make: *** [x64.debug] Error 2
Thanks a lot. I tried reverting to my old gcc 4.8 but am still stuck with
the same issue.
BTW, when I compile
test.cc
#include <iostream>
#include <cstring>
int main()
{
std::cout<<"test";
}
with g++ test.cc -o test
it works great
with gcc test.cc -o test it does not.
Deepak
On Tuesday, January 26, 2016 at 11:18:15 PM UTC+1, Ben Noordhuis wrote:
>
> On Tue, Jan 26, 2016 at 7:53 PM, Deepak Subramanian
> <[email protected] <javascript:>> wrote:
> > Hi,
> >
> > I know this query is specific to me but I am breaking my head on what to
> do.
> > I updated my gcc and v8 compilation has gone awry on my ubuntu
> >
> > In file included from ../src/allocation.cc:5:
> > In file included from .././src/allocation.h:8:
> > In file included from .././src/globals.h:13:
> > .././src/base/macros.h:11:10: fatal error: 'cstring' file not found
> > #include <cstring>
> >
> >
> > I am able to gcc -c foobar.cc with a cstring header without errors.
> >
> > Please help me out.
> >
> > Thanks
>
> <cstring> is a system header. It's possible you updated gcc but not
> g++, or that you need to install a matching libstdc++-dev package.
>
> If it's not that, can you run `make V=1` (and whatever other options
> and targets you pass it) and post its output?
>
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.