Wolvix Wiki : SourceCompile

HomePage :: Wolvix.org :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
The following packages are needed to compile the source.
- gcc
- g++
- binutils

To install these packages, simply slapt-get as a root

Create a simple hello.c program to test gcc.
#include <stdio.h>
int main() {
  printf("hello world");
  return 0;
}

save the program as hello.c

#gcc -o hello hello.c

If everything goes fine, hello executable will be created.
#./hello 


There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0593 seconds