Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] Daisy build info
Dave Seidel <[email protected]> Mon, 8 Sep 2025 12:50:03 -0400
| Newsgroups | gmane.comp.audio.csound.devel |
|---|---|
| Message-ID | <CAMnrweDQ-pymeVeE_ipLDu73TyOFMLAcQ09mH9RQeZ7mCK8dMg@mail.gmail.com> |
Looking at crtosscompile.cmake, I see SET(CMAKE_FIND_ROOT_PATH /usr/arm-none-eabi /usr/lib/arm-none-eabi) which suggests that maybe this has never been used on Windows. On Mon, Sep 8, 2025 at 12:46 PM Dave Seidel <[email protected]> wrote: > The toolchain does seem to be in the path, since I can execute > "arm-none-eabi-gcc.exe -v" without errors. > > On Mon, Sep 8, 2025 at 12:44 PM Dave Seidel <[email protected]> wrote: > >> OK, I now have the Daisy toolchain installed, and the latest Csound >> develop. Following the instruction, I navigate to the build dir and execute >> >> cmake .. -DCMAKE_INSTALL_PREFIX=../Daisy >>> -DCUSTOM_CMAKE=../Daisy/Custom.cmake >>> -DCMAKE_TOOLCHAIN_FILE=../Daisy/crosscompile.cmake >> >> >> this produces an error: >> >> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual >> Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - >> broken >> CMake Error at C:/Program >> Files/CMake/share/cmake-3.24/Modules/CMakeTestCCompiler.cmake:69 (message): >> The C compiler >> >> "C:/Program Files (x86)/Microsoft Visual >> Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" >> >> is not able to compile a simple test program. >> >> It fails with the following output: >> >> Change Dir: >> C:/Users/daves/OneDrive/Documents/GitHub/csound/build/CMakeFiles/CMakeTmp >> >> Run Build Command(s):C:/Program Files (x86)/Microsoft Visual >> Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_3462b.vcxproj >> /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && >> Microsoft (R) Build Engine version 16.11.6+a918ceb31 for .NET Framework >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30159 for x64 >> Copyright (C) Microsoft Corporation. All rights reserved. >> cl /c /Wall /WX- /diagnostics:column /O2 /D _MBCS /D >> NO_SERIAL_OPCODES /D "CMAKE_INTDIR=\"Debug\"" /Gm- /MD /GS /fp:precise >> /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_3462b.dir\Debug\\" >> /Fd"C:\Users\daves\OneDrive\Documents\GitHub\csound\build\CMakeFiles\CMakeTmp\Debug\libcmTC_3462b.pdb" >> /external:W4 /Gd /TC /errorReport:queue -mcpu=cortex-m7 -mfpu=fpv5-d16 >> -mfloat-abi=hard -mthumb -fno-builtin -fno-exceptions -ffunction-sections >> -fdata-sections -fomit-frame-pointer -finline-functions -Wno-attributes >> -Wno-strict-aliasing -Wno-maybe-uninitialized -Wno-missing-attributes >> -Wno-stringop-overflow -std=gnu99 >> C:\Users\daves\OneDrive\Documents\GitHub\csound\build\CMakeFiles\CMakeTmp\testCCompiler.c >> cl : command line error D8021: invalid numeric argument >> '/Wno-attributes' >> [C:\Users\daves\OneDrive\Documents\GitHub\csound\build\CMakeFiles\CMakeTmp\cmTC_3462b.vcxproj] >> >> So apparently it is passing gcc options to the MSVC compiler. What do I >> need to do to get it to use the Daisy toolchain instead? >> >> >> On Mon, Sep 8, 2025 at 11:58 AM Dave Seidel <[email protected]> >> wrote: >> >>> Great, thank you! >>> >>> On Mon, Sep 8, 2025 at 11:06 AM Victor Lazzarini < >>> [email protected]> wrote: >>> >>>> it wasn't committed, I meant! >>>> Prof. Victor Lazzarini >>>> Maynooth University >>>> Ireland >>>> >>>> On 8 Sep 2025, at 16:05, Victor Lazzarini < >>>> [email protected]> wrote: >>>> >>>> >>>> Indeed, it was committed. It's in a PR now >>>> https://github.com/csound/csound/pull/2267 >>>> >>>> But you don't need to build it yourself, just download the package from >>>> the latest release. >>>> ------------------------------ >>>> *From:* Csound-developers <[email protected]> on behalf of >>>> Dave Seidel <[email protected]> >>>> *Sent:* Monday 8 September 2025 15:47 >>>> *To:* [email protected] <[email protected]> >>>> *Subject:* [EXTERNAL] [Csnd-dev] Daisy build info >>>> >>>> *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. >>>> The README file in Daisy says "To build libcsound.a from sources see >>>> BUILD.md in this directory." But there is no BUILD.md in that directory. >>>> >>>>