Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Clang

Date2021-09-09 00:39
FromMichael Gogins
Subject[Csnd-dev] Clang
Is anyone building Csound from source code using clang/clang++?

If so, how? I try by setting CC and CXX environment variables but get stopped by:

-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /usr/share/cmake-3.16/Modules/TestBigEndian.cmake:50 (message):
  no suitable type found
Call Stack (most recent call first):
  CMakeLists.txt:447 (TEST_BIG_ENDIAN)


-- Configuring incomplete, errors occurred!

Thanks,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2021-09-09 06:37
FromVictor Lazzarini
SubjectRe: [Csnd] [EXTERNAL] [Csnd] Clang
I use clang here on MacOs, but I suppose you're in linux. You'll need to look at the cmake logs, but it looks like missing bits, maybe system header files?

Prof. Victor Lazzarini
Maynooth University
Ireland

On 9 Sep 2021, at 00:40, Michael Gogins <michael.gogins@gmail.com> wrote:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Is anyone building Csound from source code using clang/clang++?

If so, how? I try by setting CC and CXX environment variables but get stopped by:

-- Check size of unsigned short
-- Check size of unsigned short - failed
-- Check size of unsigned int
-- Check size of unsigned int - failed
-- Check size of unsigned long
-- Check size of unsigned long - failed
CMake Error at /usr/share/cmake-3.16/Modules/TestBigEndian.cmake:50 (message):
  no suitable type found
Call Stack (most recent call first):
  CMakeLists.txt:447 (TEST_BIG_ENDIAN)


-- Configuring incomplete, errors occurred!

Thanks,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here