Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: alifatemi1358 on August 30, 2015, 12:55:37 PM

Title: Run App in terminal
Post by: alifatemi1358 on August 30, 2015, 12:55:37 PM
Hi my friends,
First, Excuse me for bad English.
I'm new to linux and newer to very nice "Tiny Core" OS.

I develop a simple App in ubuntu that print string in terminal.

My App code is:

#include <stdio.h>
int main()
{
        printf("\nTest String");
        return 0;
}

I'm confused completely how to run output of above code in Tiny Core. I search many hour in net but yet I cant execute it. When I run it in a terminal in ubuntu it run correctly but when I run it in Tiny Core it show error message: Permission denied.

Please help me,
How I install and run my App in Tiny Core? What is tcz file? How I put my App in tcz file? I can't find any clearly help that explain it.

Thanks a'lot.
Title: Re: Run App in terminal
Post by: Juanito on August 30, 2015, 01:24:11 PM
Did you try to run your app with the format "./myapp"?

Did you try to run your app as root?

See the extensions section of the wiki for how to make a tcz extension of your app.
Title: Re: Run App in terminal
Post by: alifatemi1358 on August 30, 2015, 01:37:33 PM
Thanks for your reply.
I run app with ./ and run it with root user but error occured again. Note that I run it in ubuntu successfully.

Thanks gain
Title: Re: Run App in terminal
Post by: gerald_clark on August 30, 2015, 02:43:12 PM
Really, this is not a teach me Linux forum.
chmod +x myapp