Forum Replies Created
Viewing 1 post (of 1 total)
-
AuthorPosts
-
freebsd-evalParticipant
Thanks for your speedy reply.
I’ve now created a toolchain.xml file as follows:
<?xml version="1.0"?> <Toolchain xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ToolchainName>FreeBSD Clang</ToolchainName> <ToolchainType>Linux</ToolchainType> <PathDetectionKeyStrip>0</PathDetectionKeyStrip> <GNUTargetID>i386-unknown-freebsd13.3</GNUTargetID> <Revision>1</Revision> <ToolchainID>com.sysprogs.toolchains.nongnu.freebsdclang</ToolchainID> <BinaryDirectory>bin</BinaryDirectory> <IsCygwinBased>false</IsCygwinBased> <GCCVersion>17.0.6</GCCVersion> <GDBVersion>13.1</GDBVersion> <BinutilsVersion>2.40</BinutilsVersion> <LIBCVersion></LIBCVersion> <RelativeSysrootPath>..\bsdroot\usr</RelativeSysrootPath> <GDB>lldb.exe</GDB> <GDBExecutable>lldb.exe</GDBExecutable> <GCCExecutable>clang.exe</GCCExecutable> <GXXExecutable>clang++.exe</GXXExecutable> <LDExecutable>lld.exe</LDExecutable> <ARExecutable>llvm-ar.exe</ARExecutable> </Toolchain>
Trying to install this via “locate new toolchain” and creating a new project with the following steps
- Linux project wizard – new project, application, msbuild, language standard c, build system ninja
- build the project locally with a cross-compiler and choosing the just installed toolchain, setting up a ssh connection to my target
gives the following error message: “Failed to launch lldb.exe”
Run "C:\bsdtoolchain\llvm-17.0.6-win32\bin\lldb.exe -v" in directory "" on local computer -------------------------- lldb version 17.0.6 -------------------------- Command exited with code 0 ----- contents of (version regex) ----- GNU gdb( \(GDB\))? ([^ ]+) -----------------------------------
This is the lldb version I’m trying to use. Pressing “ignore” allows me to setup the project after not setting up “gdbserver” on my target machine – this is something for later to worry about, first comes building code.
But when I try to build the project, something else goes quite definitively wrong:
1> System.Exception 1> System.Exception: Missing C:\bsdtoolchain\llvm-17.0.6-win32\bin\arm-linux-gnueabihf-gcc.exe 1> at Sysprogs.Build.Tasks.VisualGDBTask.Execute() 1>C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\Targets\gcc.targets(319,5): error : Missing C:\bsdtoolchain\llvm-17.0.6-win32\bin\arm-linux-gnueabihf-gcc.exe
Where does that “arm-linux-gnueabhif-gcc.exe” come from?
What did I do wrong?
Thanks for any clues,
Claude
-
AuthorPosts
Viewing 1 post (of 1 total)