comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Gnat cross compiling FreeBSD to Win32 ?
Date: Tue, 07 May 2002 23:16:33 +0200
Date: 2002-05-07T21:16:33+00:00	[thread overview]
Message-ID: <87elgnzmj2.fsf@deneb.enyo.de> (raw)
In-Reply-To: 5ee5b646.0205051648.6a231dec@posting.google.com

dewar@gnat.com (Robert Dewar) writes:

> "Robert R. Beaver" <beaveroregon@qwest.net> wrote in message news:<3CD54D8C.3020302@qwest.net>...

>> Yes, I run FreeBSD only. I would like to make my programs work on
>> both. I do not usualy write for win32.
>
> Using a cross-compiler is an inappropriate and complex
> way of addressing your problem. My advice is to completely
> forget this approach it makes no sense.

Why do you think so?  I wouldn't use a cross compiler for Windows-only
projects, but I can imagine to use one in the context of a
multiplatform project.  Quite a few of the tools I like do not run at
all on Windows, or only after careful investigation and/or substantial
tweaking (decent editors accessible over SSH come to my mind as an
example).

My first and only Windows Ada project (and one of my few Ada programs
which are actually in production use, although this program features
are rather uniqe time bomb) was really tiny, and copying the source
files to a Windows box for compilation was an option, but I don't
think this works with larger projects.  Curiously enough, I started
with a C cross compiler on a Debian system, but I soon discovered that
the import libraries lacked several undocumented functions, that's why
I thought I could use Ada as well (I tried to use C first because I
assumed I wouldn't have to deal with manually importing functions from
DLLs).



  parent reply	other threads:[~2002-05-07 21:16 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-03  3:11 Gnat cross compiling FreeBSD to Win32 ? Robert R. Beaver
2002-05-03  8:57 ` Robert Dewar
2002-05-04 16:12   ` Robert R. Beaver
2002-05-09 16:14   ` David Brown
2002-05-11 15:19     ` Robert R. Beaver
2002-05-11 18:17       ` Pascal Obry
2002-05-11 20:21         ` Preben Randhol
2002-05-12  1:09           ` DPH
2002-05-12  9:50             ` Preben Randhol
2002-05-13 12:56               ` Dave Head
2002-05-12  8:30           ` [OT] " Pascal Obry
2002-05-12  9:20             ` Preben Randhol
2002-05-12 10:29               ` Pascal Obry
2002-05-13 14:33             ` Ted Dennison
2002-05-14  3:51               ` James Ross
2002-05-14  8:14                 ` Preben Randhol
2002-05-14 15:04                   ` Stephen Leake
2002-05-14 15:38                     ` Preben Randhol
2002-05-14 16:55                       ` Stephen Leake
2002-05-14 17:28                         ` Marin David Condic
2002-05-14 17:57                         ` Preben Randhol
2002-05-14 20:45                           ` Stephen Leake
2002-05-15  3:38                             ` Robert R. Beaver
2002-05-14 10:02                 ` Ingo Marks
2002-05-14 17:06                   ` Ted Dennison
2002-05-14 14:13                 ` Robert Dewar
2002-05-14 15:22                   ` Larry Kilgallen
2002-05-14 14:50                     ` Marin David Condic
2002-05-14 18:32                   ` Ted Dennison
2002-05-14 18:40                     ` Preben Randhol
2002-05-15  2:18                     ` James Ross
2002-05-15 15:32                       ` Ted Dennison
2002-05-14 14:20                 ` Ted Dennison
2002-05-14 18:55                 ` Darren New
2002-05-14 19:37                   ` Marin David Condic
2002-05-15 21:24                     ` Darren New
2002-05-16 14:12                       ` Marin David Condic
2002-05-14 20:00                   ` Preben Randhol
2002-05-04 16:20 ` Preben Randhol
2002-05-04 16:21   ` Preben Randhol
2002-05-05 15:19   ` Robert R. Beaver
2002-05-05 15:11     ` Preben Randhol
2002-05-06  0:48     ` Robert Dewar
2002-05-06  3:44       ` Robert R. Beaver
2002-05-06  9:22         ` Preben Randhol
2002-05-07 21:16       ` Florian Weimer [this message]
2002-05-08  3:46         ` Robert Dewar
2002-05-08 14:14         ` Stephen Leake
2002-05-09 17:46           ` Darren New
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox