1

Is there a way to compile a C program with Clang compiler for MIPS (32-bit) on a FreeBSD x86_64/AMD64 system?

Kusalananda
355k42 gold badges734 silver badges1.1k bronze badges
asked Sep 25, 2022 at 15:53

1 Answer 1

0

If FreeBSD supports some Linux cross-compiler tools(and you can port them to FreeBSD if they doesn't exists in their repositories) then probably yes. It is not FreeBSD tool but i know one tool with Linux distro that can build cross-compilers from source and switch between compiler relatively easy is crossdev from Gentoo Linux. I suggest you installing Gentoo if you want to do any sort of compiling (cross or built-in) and then when compiled with Gentoo linux you can copy and paste your package to your FreeBSD.

answered Sep 25, 2022 at 21:33

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.