473,513 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PORTING GMP PROGRAMS TO WINDOWS

Hi

Ive written some C Maths programs to compute Bernoulli numbers and
Stirling numbers using the GMP library.
These have been compiled on a Knoppix/Debian PC using gcc.
I would like to port them to windows.

what is the best free C compiler for handling GMP on Windows ?
Ive heard people here mention MINGW . will that handle GMP ?

Nov 14 '05 #1
7 1911
In <03********************************@4ax.com> sa*****@hetnet.nl writes:
what is the best free C compiler for handling GMP on Windows ?
Ive heard people here mention MINGW . will that handle GMP ?


Ever heard of Google?

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Currently looking for a job in the European Union
Nov 14 '05 #2
On Fri, 26 Nov 2004 13:52:31 +0000, sa*****@hetnet.nl
<sa*****@hetnet.nl> wrote:
Ive written some C Maths programs to compute Bernoulli numbers and
Stirling numbers using the GMP library.
These have been compiled on a Knoppix/Debian PC using gcc.
I would like to port them to windows.

what is the best free C compiler for handling GMP on Windows ?
Ive heard people here mention MINGW . will that handle GMP ?


MinGW is a port of GCC to Windows, producing Windows compiler compatible
code with a free (non-GPL) library. See http://www.mingw.org/ (first in
a Google search for "mingw").

Alternatively, since you are happy with using GPL software (otherwise
you wouldn't be using GMP!) you could use Cygwin, which is a more
complete emulation of a Unix-like environment. If you want to run in a
bash shell on Windows I recomend Cygwin (I haven't used MinGW).

Since both have ports of GCC, using GMP should be a trivial exercise
(you may need to build the library from source or it may be included in
the packages, I haven't checked, but it should build cleanly using
,.configure and make in the usual way).

This is strictly off-topic for comp.lang.c, but I suspect that both
Linux and Windows newsgroups would also find it OT...

Chris C
Nov 14 '05 #3
On 26 Nov 2004 14:14:27 GMT, Da*****@cern.ch (Dan Pop) wrote:
In <03********************************@4ax.com> sa*****@hetnet.nl writes:
what is the best free C compiler for handling GMP on Windows ?
Ive heard people here mention MINGW . will that handle GMP ?


Ever heard of Google?

yes.when i search for your name it comes up with tube,
Nov 14 '05 #4
On Fri, 26 Nov 2004 15:07:24 +0000, Chris Croughton
<ch***@keristor.net> wrote:
On Fri, 26 Nov 2004 13:52:31 +0000, sa*****@hetnet.nl
<sa*****@hetnet.nl> wrote:
Ive written some C Maths programs to compute Bernoulli numbers and
Stirling numbers using the GMP library.
These have been compiled on a Knoppix/Debian PC using gcc.
I would like to port them to windows.

what is the best free C compiler for handling GMP on Windows ?
Ive heard people here mention MINGW . will that handle GMP ?


MinGW is a port of GCC to Windows, producing Windows compiler compatible
code with a free (non-GPL) library. See http://www.mingw.org/ (first in
a Google search for "mingw").

Alternatively, since you are happy with using GPL software (otherwise
you wouldn't be using GMP!) you could use Cygwin, which is a more
complete emulation of a Unix-like environment. If you want to run in a
bash shell on Windows I recomend Cygwin (I haven't used MinGW).

Since both have ports of GCC, using GMP should be a trivial exercise
(you may need to build the library from source or it may be included in
the packages, I haven't checked, but it should build cleanly using
,.configure and make in the usual way).

This is strictly off-topic for comp.lang.c, but I suspect that both
Linux and Windows newsgroups would also find it OT...

Chris C


thanks chris.
Nov 14 '05 #5

<sa*****@hetnet.nl> wrote in message
news:e9********************************@4ax.com...
On 26 Nov 2004 14:14:27 GMT, Da*****@cern.ch (Dan Pop) wrote:
In <03********************************@4ax.com> sa*****@hetnet.nl writes:
what is the best free C compiler for handling GMP on Windows ?
Ive heard people here mention MINGW . will that handle GMP ?


Ever heard of Google?

yes.when i search for your name it comes up with tube,

That refers, of course, to the London subway, yes? MPJ
Nov 14 '05 #6
On Sun, 28 Nov 2004 02:10:32 -0600, "Merrill & Michele"
<be********@comcast.net> wrote:

<sa*****@hetnet.nl> wrote in message
news:e9********************************@4ax.com.. .
On 26 Nov 2004 14:14:27 GMT, Da*****@cern.ch (Dan Pop) wrote:
>In <03********************************@4ax.com> sa*****@hetnet.nl writes:
>
>>what is the best free C compiler for handling GMP on Windows ?
>>Ive heard people here mention MINGW . will that handle GMP ?
>
>Ever heard of Google?
>

yes.when i search for your name it comes up with tube,

That refers, of course, to the London subway, yes? MPJ

no. it ,means a pompous opinionated and ignorant person.

Nov 14 '05 #7

<sa*****@hetnet.nl> wrote in message
news:72********************************@4ax.com...
On Sun, 28 Nov 2004 02:10:32 -0600, "Merrill & Michele"
<be********@comcast.net> wrote:

<sa*****@hetnet.nl> wrote in message
news:e9********************************@4ax.com.. .
On 26 Nov 2004 14:14:27 GMT, Da*****@cern.ch (Dan Pop) wrote:

>In <03********************************@4ax.com> sa*****@hetnet.nl writes: >
>>what is the best free C compiler for handling GMP on Windows ?
>>Ive heard people here mention MINGW . will that handle GMP ?
>
>Ever heard of Google?
>
yes.when i search for your name it comes up with tube,

That refers, of course, to the London subway, yes? MPJ

no. it ,means a pompous opinionated and ignorant person.


Are you a 38 yr.-old Dutchman who wants some advice about clc? MPJ
Nov 14 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3355
by: eichin | last post by:
One of my recent projects has involved taking an accretion of sh and perl scripts and "doing them right" - making them modular, improving the error reporting, making it easier to add even more...
1
2056
by: Cle | last post by:
hi, I wonder if there are any programs available which do the porting c++ to c# for me? tia Cle
2
1895
by: Anand | last post by:
Hi Are there any tools that would help in porting code from Pyton 2.3 to 2.4 ? I have gone through the whatsnew documents and created a document comparing Python 2.4 to 2.3. But so far has not...
5
2357
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
0
1199
by: Raymond L. Buvel | last post by:
I am preparing to release an extension module that interfaces Python to the Class Library for Numbers (http://www.ginac.de/CLN/). This module will provide Python types for arbitrary precision...
4
2358
by: Chris Travers | last post by:
Hi all; A few years ago, I set about porting a PHP application from MySQL to PostgreSQL, after realizing that MySQL wasn't going to be able to handle it. In order to do this, I built a light,...
4
3680
by: Chuck Chopp | last post by:
I have an application that I originally built using Visual Studio .NET 2003 as native C++ . This application includes a template class that was derived from the string class that's part of the C++...
34
4019
by: subramanian100in | last post by:
Is there any difference between porting and migrating. Kindly explain
0
1773
by: Michael Palmer | last post by:
On Sep 16, 12:30 pm, binaryjesus <coolman.gu...@gmail.comwrote: I haven't tried it myself, but I came across a blog post the other day that describes a way of building windows installers for...
0
7260
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7161
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7384
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7525
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5686
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4746
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3234
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1596
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
456
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.