Tiny Core Extensions > TCE Talk
no as
(1/1)
jjacobs:
Someone,
I installed gcc and gdb but when I compile a simple hello world program I get the message:
error trying to exec as: execvp
As far as I can tell this means the assembler is not present. I do not see as in /usr/local/bin, but I do see gcc there.
Any and all help always greatly appreciated.
The code looks like this:
#include <stdio.h>
int main(void)
{
printf("Hey how r ya");
return(0);
}
maro:
AFAIK 'as' is included in the 'binutils.tcz' extension.
It might be a good idea to use the 'compiletc.tcz' meta-extension instead of the individual ones. That gives you a recommended set of tools e.g. to produce your own extensions. The downside might be that more extensions than you absolutely need are installed.
jjacobs:
Yahoo! After installing binutils I was able to compile and run my first tc program.
Thanks!!
bmarkus:
Before compiling programs it is a good practice to install compiletc.tcz which will install most of the applications required to compile C/C++ source.
jjacobs:
Installed compiletc.tcz as well thanks again bmarkus!!
Navigation
[0] Message Index
Go to full version