MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathLink

  • To:
  • Subject: [mg11928] Re: MathLink
  • From: (Kevin Leuthold)
  • Date: Thu, 9 Apr 1998 00:33:28 -0400
  • Organization: Wolfram Research, Inc.
  • References: <6g29iu$>


Yes, the function MLMain should be generated if you run everything
properly. It is defined in the code generated by the mprep tool.  To
generate this code,  type the following at a command prompt:

mprep -o

(mprep is located in the CompilerAdditions directory.)

In general, on Unix, there are two provided ways to build a MathLink
sample program.  You can use the mcc script (in CompilerAdditions) -
this hides all the details of building the program and deletes the
mprep-generated code once it's compiled so you won't see this code.  Or
you can use the Makefile provided in MathLinkExamples.  By looking at
this Makefile you should be able to see the steps needed to build
sumalist, including the call to mprep.

Kevin Leuthold
MathLink Group
Wolfram Research (Vince Giambalvo) writes:

>Here is a silly question from someone just starting to use Mathlink.
>Trying an example, to compile and set up the sample sumalist program, 
>nowhere can the system find MLMain. Is this supposed to be
>automagically created if I run the other stuff properly? I have a unix
>Thanks for your help.
>        Vince

  • Prev by Date: Beginner ReadList
  • Next by Date: Q--PolynomialReduce
  • Prev by thread: MathLink
  • Next by thread: RE: MathLink