*BSD News Article 81521


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!cs.utexas.edu!howland.erols.net!agate!sunsite.doc.ic.ac.uk!nntp0.brunel.ac.uk!strath-cs!newsadmin
From: smonteit@cs.strath.ac.uk (Stuart Monteith CS93)
Newsgroups: comp.unix.amiga,comp.unix.bsd.misc
Subject: stdio on NetBSD1.1
Date: 25 Oct 1996 08:43:00 GMT
Organization: Comp. Sci. Dept., Strathclyde University, Glasgow, Scotland.
Lines: 26
Message-ID: <54puik$1pb@dunlop.cs.strath.ac.uk>
NNTP-Posting-Host: muir-29.cs.strath.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.amiga:14344 comp.unix.bsd.misc:1413

I have installed NetBSD1.1 from the Gateway 2 CD onto my Amiga 1200 - however 
when I try to compile the famous `Hello World!' program it apparently compiles
fine. The problem is that printf produces no output! *
When run under gdb or xxgdb though the program does print `Hello World'.
Are there problems with the c libraries or something?

Please help!

Thanks,
 	Stuart  
*
/* Hello World! */
#include <stdio.h>

int main(int argc,char *argv[])
{
	printf("Hello World!\n");
	return 0;
}

P.S. I didn't have this problem under 1.0!
-- 
Stuart R.D. Monteith

4th Year Computer Science (cs93)
University of Strathclyde in Glasgow