Re: compiling a simple program




"khurana77" <rkhurana@xxxxxxxxx> wrote in message
news:1117546223.115754.295130@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Its One and the same thing in Linux sys/signal.h includes the file
> signal.h as
> #include <signal.h>

On FreeBSD signal.h includes sys/signal.h (not vice versa)
I'd take another look at your headers - according to the standard
the macros are supposed to be defined after the inclusion of signal.h
(note - the standard doesn't refer to sys/signal.h anywhere!)
That being said, the correct include is <signal.h> and NOT sys/signal.h



.



Relevant Pages

  • High performance computing on FreeBSD
    ... FreeBSd is now since 1996 my companion in scientific computing and related server systems and also my favorite operating system for every network stuff, firewalls and desktop systems I ever used. ... Nevertheless, the experience of our group and especially of mine with several flavours of Linux, used at our computer center and its network performance and stability in comparison to FreeBSD's over the same time period let me tend to ask for a FreeBSD based high performance computer cluster more than such one founded on a Linux distribution. ... GCC 4.1/4.2 isn't standard in FreeBSD 6.X but many of other FreeBSD users told me they use the port's gcc 4.X very successful. ... utilizing standard ports and the base compiler collection gives a very stable and high quality platform - in my opinion. ...
    (freebsd-questions)
  • Re: High performance computing on FreeBSD
    ... FreeBSD 6.X has ... several flavours of Linux, used at our computer ... when the new GNU compiler collection will be ... the standard for FreeBSD. ...
    (freebsd-questions)
  • RE: whois tricks was : whois is what?
    ... |the -h flag works on both Linux and FreeBSD. ... Whois Server Version 1.3 ... the '@' does not work on the standard FreeBSD builds ...
    (Vuln-Dev)
  • automake, autoconf compiling
    ... First let me say that I am definitely a newbie to FreeBSD but not to Linux ... I am trying to get a development system setup and am having trouble ... I guess my general question is: What is the standard way for setting up ...
    (freebsd-newbies)
  • Re: Why not XML based configurationfiles?
    ... I would go further and suggest that, in this context, "Linux" is ... > every once in a while and might come up with a standard (which ... If it's trivial to write a tool to rewrite config files, ... Remember that the costs are distributed... ...
    (comp.os.linux.misc)