Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gonzopancho/04726c9b67c8147496e231a16073bfe3 to your computer and use it in GitHub Desktop.

Select an option

Save gonzopancho/04726c9b67c8147496e231a16073bfe3 to your computer and use it in GitHub Desktop.
root@ufw:~ # cat > t.c
#include <stdio.h>
main(int argc, char **argv)
{
printf("Hello, World\n");
}
root@ufw:~ # cc t.c
t.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc, char **argv)
^
1 warning generated.
root@ufw:~ # ./a.out
Hello, World
root@ufw:~ # cc -v
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: armv6--freebsd11.0-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
root@ufw:~ # pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:armv6/latest, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.7.2...
Extracting pkg-1.7.2: 100%
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 4 MiB 3.8MB/s 00:01
Processing entries: 100%
FreeBSD repository update completed. 17562 packages processed.
root@ufw:~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment