compiling a simple "hello world example" Microchip PIC32 ( march is 24ks) fails...
Branko
brane221122@gmail.com
Tue Mar 12 20:44:00 GMT 2019
I'd like to use my system gcc if possible to compile for such simple
micro ( no OS, no infrastructure, need barebone implementation).
I'm running Gentoo on x86_64, with gcc-8.3.0
So I cobbled up one three line example and within it just main functioin
that does nothing, except returns.
Then I tried "gcc -march=24kc main.c".
But compiler fails with unknown architecture, even though 24ks is listed
under MIPS.
It outputs a list of suppported arches, and all of them are just within
x86/x86_64 world. No ARM, not Power, nothing else.
How should this be done ?
I don't think about going crosscompile as the compiler will run on my
host machine, while it's results would run on the micro...
Best regards,
Branko
More information about the Gcc-help
mailing list