Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: mathlink and cygwin

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55798] Re: [mg55725] mathlink and cygwin
  • From: "Virgilio, Vincent - SSD" <Vincent.Virgilio at itt.com>
  • Date: Tue, 5 Apr 2005 18:36:56 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com


> -----Original Message-----
> From: Jose M. Martinez [mailto:martinez at cs.utwente.nl]
To: mathgroup at smc.vnet.net
> Sent: Tuesday, April 05, 2005 2:21 AM
> To: mathgroup at smc.vnet.net
> Subject: [mg55798] [mg55725] mathlink and cygwin
>
> Hello,
>
> I would like to know if there is any way to use mathlink to
> connect Mathematica with programs built with cygwin/gcc in windows.
>
> many thanks in advance for your help
>
>

I think it's not immediately possible; probably due to differences in
linkage conventions between the Microsoft compiler and gcc.  The
Mathlink libraries are compatible (compiled?) with the former and not
the latter.

I'm guessing now.  It seems like you should be able to work around this
by generating your own import libraries for Cygwin/gcc from the
Microsoft libraries using a tool like "pexports".  This link might be
helpful

http://www.emmestech.com/software/cygwin/pexports-0.43/moron1.html

Vince Virgilio

************************************
This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Industries, Inc. The recipient should check this e-mail and any attachments for the presence of viruses. ITT Industries accepts no liability for any damage caused by any virus transmitted by this e-mail.
************************************


  • Prev by Date: Re: NMinimize--problem with a min-max problem
  • Next by Date: Re: Re: 3D graphics domain
  • Previous by thread: Re: mathlink and cygwin
  • Next by thread: Re: exploded plots