Can't manage to build ldc, problem seems to be compiling ldc/runtime/profile-rt/profile-rt-38/GCDAProfiling.c

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sun Jul 24 01:42:57 PDT 2016


On Saturday, 23 July 2016 at 16:21:56 UTC, Andrew wrote:
> On Saturday, 23 July 2016 at 15:57:01 UTC, Johan Engelen wrote:
>
>>
>> Huh?
>> Perhaps a different compiler is used when building 
>> ldc-profile-rt ?
>> Can you have a look at the commandline to build 
>> GCDAProfiling.c?
>
> Sorry, not sure if I completely understand you. cmake says:

`make VERBOSE=1`, `make -n` or `ninja -v` print out the commands 
used to build the files (so you can also see which compile flags 
are used)

>
> -- The C compiler identification is GNU 4.9.1
> -- The CXX compiler identification is GNU 4.9.1
> -- Check for working C compiler: /software/bin/cc
> -- Check for working C compiler: /software/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /software/bin/c++
> -- Check for working CXX compiler: /software/bin/c++ -- works
>
> /software/bin/cc -c 
> runtime/profile-rt/profile-rt-38/GCDAProfiling.c -o a.o
>
> compiles ok

Just to be sure: you are testing without any changes right (so 
with MAP_FILE in the source) ?





More information about the digitalmars-d-ldc mailing list