helloworld

  1. R

    Rust [SOLVED!] error: linking with cc failed: exit status: 1 (with simple hello world program)

    I was trying to run a small "hello world" program and received a few errors. This is one of them. I have a new Rust installation with Cargo on FreeBSD14.3. root@user-ghostbsd:/home/user/Downloads/memory # cargo run Compiling proc-macro2 v1.0.105 Compiling quote v1.0.43 Compiling libm v0.2.15...
  2. rbranco

    Other Hello world Golang script

    She-bangs are weird! The only issue is you can't use /usr/bin/env https://lorentz.app/blog-item.html?id=go-shebang TL;DR: /*usr/local/go/bin/go run "$0" "$@"; exit; */ package main import "fmt" func main() { fmt.Println("Hello world") }
  3. K

    Solved x86_64 assembly "Hello, world!" segfaults even though exit syscall has been used

    I recently started trying to program in FreeBSD x86_64 assembly, following some tutorials and I ended up with such hello world program. section .data hello db "Hello, world!", 10 section .text global _start _start: mov rdi, 1 mov rsi, hello mov rdx, 14 mov...
  4. Nicola Mingotti

    Solved wx simple example needed

    Hi all, I trying to write a trivial "hello world" application using wx widgets in FreeBSD but I get tons of errors when copying code from the web and trying to compile. I simlinked wxgtk2u2.8config to wx-config, ok, I solved that silly point. Could some of you help me to get started? What...
Back
Top