« on: December 02, 2021, 05:59:28 PM »
I built (with a lot of help from a friend who is a Solaris expert) bebbo's cross-compiler (
https://github.com/bebbo/amiga-gcc) on my Sun T4-1. I compiled helloworld.c:
#include <stdio.h>
int main()
{
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
without errors. But when I try to run that on my Amiga, it doesn't print anything. It also doesn't throw an error, it simply returns silently. So I figured I'd try to run it with gdb (
http://aminet.net/dev/gg/gdb-bin.lha) but I can't get that to work either.
5.FS3:> FS3:gdb4.16/bin/gdb helloworld
(nothing happens, so I press Return)
object not found
CD failed returncode 20
5.FS3:>
What am I doing wrong? Is this a path issue, am I missing some libraries, or what? The helloworld the cross-compiler made is attached (it's not really a zip file, just strip the suffix and run it) if that helps.
« Last Edit: December 02, 2021, 10:02:22 PM by Michele31415 »

Logged
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091