Re: where does cc send the output by default

From: Fletcher Glenn (fletcher_at_removethisfoglight.com)
Date: 02/25/05


Date: Thu, 24 Feb 2005 23:36:54 GMT

Greenhorn wrote:
> Hi,
> The program generated by the below code through cc doesn't give me any
> output on the terminal.
>
> #include <stdio.h>
> main()
> {
>
> printf("Testing the printf functionality");
>
> }
>
> Terminal window:
> [sharko@localhost ~]$ cc test.c
> [sharko@localhost ~]$ test
> [sharko@localhost ~]$
>
> I tried to uninstall the development tools provided with my fedora core
> 3. An error is shown.
>
> Packages Not Found
>
> The following packages could not be found on your system. Installation
> cannot continue until they are installed.
> gettext
> /bin/gettext
> ....
>
> where could the problem be ?
>
> what is the solution ?
> how should i uninstall the dev-applications now, should i live with
> them if not reinstalling the entire OS
>

You should be aware that the word "test" already exists as a UNIX
program on most machines. Most compilers will send the compiled
output to a file named "a.out" unless you tell it otherwise with
a -o directive as in:

cc -o mytest test.c

--
Fletcher Glenn


Relevant Pages

  • Re: uninstall Real Player 10
    ... Il giorno gio, 08-09-2005 alle 14:36 +0200, Alexander Dalloz ha scritto: ... >> is not present in the packages of installation? ... > Uninstall it the same way you installed it. ... Yum works only with packages and RealPlayer10 isn't a package. ...
    (Fedora)
  • Re: clean libxml2 and libxslt reinstall on 10.3.9 (PPC) ?
    ... while configuring the packages and before I installed these packages I ... uninstalled the old with the current uninstall ... That has hopefully cleaned up the old installation not leaving a file. ...
    (comp.sys.mac.system)
  • [solved] upgrading trashed my font display
    ... I answered several of the questions posed by the installation ... processses of some of the packages but I must have answered one of them ... I used the same installer to uninstall (using the --uninstall ... Of course I uninstalled the previous nvidia driver, so now x won't run and I ...
    (Debian-User)
  • Re: Homa 7.04.1 - Ubuntu AddOn CD
    ... installation that I have problems with and would like to uninstall and ... Can anyone tell me how to uninstall to start over? ... The GUI and many packages there, are under GPL and yes they are free, ... Systems Theory internet music project links: ...
    (Ubuntu)
  • Re: avp.exe
    ... the same thing as an XP installation CD. ... Malware is in two broad categories: ... I would not uninstall The Shield until you have all your installation ...
    (microsoft.public.windowsxp.general)