From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a073fa836a03b290 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-07 20:46:45 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Gnat cross compiling FreeBSD to Win32 ? Date: 7 May 2002 20:46:45 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0205071946.751daf16@posting.google.com> References: <3CD1FFC5.4050607@qwest.net> <3CD54D8C.3020302@qwest.net> <5ee5b646.0205051648.6a231dec@posting.google.com> <87elgnzmj2.fsf@deneb.enyo.de> NNTP-Posting-Host: 205.232.38.244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1020829605 31306 127.0.0.1 (8 May 2002 03:46:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 8 May 2002 03:46:45 GMT Xref: archiver1.google.com comp.lang.ada:23694 Date: 2002-05-08T03:46:45+00:00 List-Id: Florian Weimer wrote in message news:<87elgnzmj2.fsf@deneb.enyo.de>... > dewar@gnat.com (Robert Dewar) writes: > > > "Robert R. Beaver" 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? Because to test the program out, you have to set up a windows environment anyway, you can't just assume it will work. Given that it is *far* easier to simply recompile on windows, rather than mess with non-existent cross compilers, especially if you are not familiar with such compilers (building a cross *to* windows is especially complex).