A C++ program in Solaris that cannot be ported to Linux

This is a discussion on A C++ program in Solaris that cannot be ported to Linux within the C++ Programming forums, part of the General Programming Boards category; Hi All Can anybody provide me links to some C++ programs in Solaris that cannot be ported to linux. Any ...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    18

    A C++ program in Solaris that cannot be ported to Linux

    Hi All
    Can anybody provide me links to some C++ programs in Solaris that cannot be ported to linux.

    Any help would be appreciated.

    Regards
    Venkat

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,532
    Huh?
    Well I can think of "cannot" for legal reasons, and "cannot" for technical reasons.

    And why are you asking?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    anything that uses the Solaris Overlay Visuals Library for its graphical output. Can't give you examples. I am aware of lots of Ada code that uses this library but it would be somehow illegal for me to give it to you. I know you're asking for C++ anyway.

    Aside from the use of libraries that only exist on solaris there is the matter of CPU architecture. If you're talking about linux on an x86 and Solaris on a Blade or Sparc system you have a reversal of endian-ness to deal with. C++ is very portable, but you have to be very aware of what you're doing to make code THAT portable.
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. linux, doubles, and unions
    By paraglidersd in forum Linux Programming
    Replies: 14
    Last Post: 11-19-2008, 10:41 AM
  2. Compiling a C program in Linux
    By hern in forum C Programming
    Replies: 14
    Last Post: 06-28-2004, 08:33 PM
  3. simple program on linux
    By finnepower in forum Linux Programming
    Replies: 10
    Last Post: 05-29-2004, 03:10 PM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 11:39 AM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21