compatibility between the various BSD's?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > compatibility between the various BSD's?




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    compatibility between the various BSD's?  
Aaron Walker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

I mostly use Linux for development, but just installed FreeBSD on my
other box so that I can test my code to make sure it is compatible.  If
my code compiles and works fine on FreeBSD, can I assume that it will
also work on the other various BSD's?  I am trying to make this code as
compatible as possible with as many unices as possible.  I just wanted
to know, because I would really like to refrain from installing NetBSD
and OpenBSD as well, if it's not necessary.

Thanks,
Aaron






[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Alexandre Jasmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Le Fri, 28 Nov 2003 10:32:58 +0000, Aaron Walker a écrit_:
quote:
> I mostly use Linux for development, but just installed FreeBSD on my > other box so that I can test my code to make sure it is compatible. If > my code compiles and works fine on FreeBSD, can I assume that it will > also work on the other various BSD's? I am trying to make this code as > compatible as possible with as many unices as possible. I just wanted > to know, because I would really like to refrain from installing NetBSD > and OpenBSD as well, if it's not necessary. > > Thanks, > Aaron
I guess that it should be reasonably compatible with the other BSD but if you want your program to be compatible with as many unices as possible you should also test it on a Sys V variant.




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Alexandre Jasmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Le Fri, 28 Nov 2003 10:32:58 +0000, Aaron Walker a écrit_:
quote:
> I mostly use Linux for development, but just installed FreeBSD on my > other box so that I can test my code to make sure it is compatible. If > my code compiles and works fine on FreeBSD, can I assume that it will > also work on the other various BSD's? I am trying to make this code as > compatible as possible with as many unices as possible. I just wanted > to know, because I would really like to refrain from installing NetBSD > and OpenBSD as well, if it's not necessary. > > Thanks, > Aaron
I guess that it should be reasonably compatible with the other BSD but if you want your program to be compatible with as many unices as possible you should also test it on a Sys V variant.




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Aaron Walker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Alexandre Jasmin wrote:
quote:
> Le Fri, 28 Nov 2003 10:32:58 +0000, Aaron Walker a écrit : > > > > > I guess that it should be reasonably compatible with the other BSD but if > you want your program to be compatible with as many unices as possible you > should also test it on a Sys V variant.
Is there any freely available Sys V variant? If not, then it's pointless. Maybe if I was making production code, then yes, but I am just trying to learn how to write unix code as portable as possible. Thanks again, Aaron




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Aaron Walker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Alexandre Jasmin wrote:
quote:
> Le Fri, 28 Nov 2003 10:32:58 +0000, Aaron Walker a écrit : > > > > > I guess that it should be reasonably compatible with the other BSD but if > you want your program to be compatible with as many unices as possible you > should also test it on a Sys V variant.
Is there any freely available Sys V variant? If not, then it's pointless. Maybe if I was making production code, then yes, but I am just trying to learn how to write unix code as portable as possible. Thanks again, Aaron




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Alexandre Jasmin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

> Is there any freely available Sys V variant?
quote:
>
I don't think so. But you can download Solaris(an SRV4 derivate) for 20$.




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
DINH Viet Hoa


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Aaron Walker wrote :
quote:
> I mostly use Linux for development, but just installed FreeBSD on my > other box so that I can test my code to make sure it is compatible. If > my code compiles and works fine on FreeBSD, can I assume that it will > also work on the other various BSD's? I am trying to make this code as > compatible as possible with as many unices as possible. I just wanted > to know, because I would really like to refrain from installing NetBSD > and OpenBSD as well, if it's not necessary.
You have to know that for example Cyrus (IMAP Server) is not compatible with OpenBSD although it can run on FreeBSD. This because mmap() read/write access and read()/write() access will not be synchronized in the information they give. -- DINH V. Hoa, etPan! - newsreader, mail user agent -- http://libetpan.sf.net/etpan




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
DINH Viet Hoa


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Aaron Walker wrote :
quote:
> I mostly use Linux for development, but just installed FreeBSD on my > other box so that I can test my code to make sure it is compatible. If > my code compiles and works fine on FreeBSD, can I assume that it will > also work on the other various BSD's? I am trying to make this code as > compatible as possible with as many unices as possible. I just wanted > to know, because I would really like to refrain from installing NetBSD > and OpenBSD as well, if it's not necessary.
You have to know that for example Cyrus (IMAP Server) is not compatible with OpenBSD although it can run on FreeBSD. This because mmap() read/write access and read()/write() access will not be synchronized in the information they give. -- DINH V. Hoa, etPan! - newsreader, mail user agent -- http://libetpan.sf.net/etpan




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Aaron Walker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Alexandre Jasmin wrote:
quote:
> > > I don't think so. > > But you can download Solaris(an SRV4 derivate) for 20$. >
Thanks ;) Downloading right now.. didn't realize you could get Solaris for that cheap. Aaron




[ Post a follow-up to this message ]



    Re: compatibility between the various BSD's?  
Aaron Walker


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-04 10:01 PM

Alexandre Jasmin wrote:
quote:
> > > I don't think so. > > But you can download Solaris(an SRV4 derivate) for 20$. >
Thanks ;) Downloading right now.. didn't realize you could get Solaris for that cheap. Aaron




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:16 PM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register