Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: nodeleaf on May 02, 2016, 05:25:03 AM
-
I have installed gcc.tcz extension (version 5.3.0) on stable picore 7 then test it as follows:
include <stdio.h>
int main (){
printf("Hello World\n");
return 0;
}
$ g++ -o hello hello.cpp
g++: error trying to exec 'as': execvp: No such file or directory
I just don't get it: anything missing to have such a simple test compiled?
-
I just don't get it: anything missing to have such a simple test compiled?
Yes. Binutils. Error message says can't execute as.
And many other packages if you are building a bit more complicated program. gcc is just a part of the toolchain. Install compile-essentials.tcz
-
I had compile-essentials.tcz already installed but binutils.tcz was missing - now it compiles: thank you.
-
How about adding binutils.tcz to the dependency of compile-essentials.tcz?
-
How about adding binutils.tcz to the dependency of compile-essentials.tcz?
Thanks, done.