Return to BSD News archive
Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!unidui!du9ds3!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Subject: Re: Major Problems with 386bsd0.1 please read
References: <9208100044.AA09303@cs.utexas.edu>
Date: 10 Aug 92 12:35:12 GMT
Reply-To: veit@du9ds3.uni-duisburg.de
Organization: Uni-Duisburg FB9 Datenverarbeitung
Sender: @unidui.uni-duisburg.de
Message-ID: <veit.713450112@du9ds3>
Lines: 32
In <9208100044.AA09303@cs.utexas.edu> STDN%MARIST@VM.MARIST.EDU (Dan Newcombe) writes:
>Well, here are the problems that I am having:
>4) cc: I compiled the following C program using cc -o test test.c
>/* */
>#include <stdio.h>
>main()
>{ printf("\nHello Universe!\n"); };
>and I get nothing. The only thing I can think of here is that it
>is finding another test, so I shall try absolute path names but if
>anyone else has had this problem, would love to here it.
> thanks
> -Dan STDN@VM.MARIST.EDU
Even if you write "Hello Universe!" instead of the common "Hello World",
the hello program MUST have the name hello.c (Builtin feature of gcc :-).
But seriously, "test" is a regular command of the shell, and the shell
first trys internal commands before checking anything on the path.
I *know* that the hello program works, I've checked it myself first.
Holger
--
| | / Holger Veit | INTERNET: veit@du9ds3.uni-duisburg.de
|__| / University of Duisburg | BITNET: veit%du9ds3.uni-duisburg.de@UNIDO
| | / Dept. of Electr. Eng. | "No, my programs are not BUGGY, these are
| |/ Inst. f. Dataprocessing | just unexpected FEATURES"