On Thu, 5 Nov 1998, Feiste wrote:

> Has anyone used the student version of Mathematica on Linux?
> 
> I'm thinking of ordering it but have to decide if I
> want the Linux or Windows version of it.  

   I've only used the unix version on AIX 4.1 and Linux and they run
really well.  

> I'm a newbie to Linux. I have Redhat 5.1 and Xfree86 up and 
> running on one machine at home. I don't quite feel comfortable with
> it yet though.  I've been able to compile simple C programs, but
> my makefiles which work on AIX (IBM's unix) don't seem to work
> (even though gnumake works on the RS/6000).  Also, the C++ package 
> doesn't seem to be installed correctly, although I haven't had
> time to tinker with it.

   Did you use tabs in your makefile or spaces?  ex:

main.o:         happy.h main.c 
        $(CC) -c main.c

   the two chunks of white space needs to be only tabs and not white space
or else it will yell at you (Missing separator).  If this isn't the
problem show me the makefile and the warning it gives you, and are you
using gnu make or the aix xlc make.  
   For g++, can you give some more insight into what is the problem?
Maybe you forgot libstdc++ or something important it required.  If you are
running a system with packages, try re-installing the package or try one
from a different distribution, or just install it yourself.  gcc and g++
are made to compile out of the box without too much trouble.


> Anyway, I was curious if anyone has used Mathematica on it, and
> I was wondering in general if Linux applications ever need to
> be recompiled or upgraded at a certain point because of Linux
> upgrades.

   The only real problems would be for bleeding edge kernel modules, some
advanced features of libc6 that may be different from 5 (I haven't
experienced any problems with this), dynamically linked binaries (if you
are removing the old libs), and programs that depend on specifics in the
/proc file system which tends to change without notice and break things.
If you are writing portable code that runs on aix then you shouldn't be
running into problems, unless you are using non posix shared memory
segments or mabey pthreads (I haven't tried linuxthreads yet).  Except for
differences like having to include <sys/select.h> in aix, there isn't too
many portability problems you could have created on accident.

   Adam

        __/\__.             [-Temperance-]                 .__)\__
   !    \ oO /           . :[Adam Rogoyski]: .              \ oO /    !
   .    /_\/_\         .  :[ [EMAIL PROTECTED] ]:  .           /_\/_\    . 
      .   \/   :[http://ccwf.cc.utexas.edu/~apoc/programs]:   \/   .

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to