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=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FREEMAIL_REPLY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,dc7ae4ba7bf202da X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GTK Build from source Date: Wed, 20 Aug 2008 20:47:07 +0100 Organization: Pushface Message-ID: References: <56427db9-557f-44c2-8325-b3c44a4db8f8@z66g2000hsc.googlegroups.com> <16c33788-3d54-494e-9e4f-bc8178ef11a1@d77g2000hsb.googlegroups.com> <63788cfe-4253-4244-ba50-6bf6f3ce51e3@k7g2000hsd.googlegroups.com> <48AB2982.3080100@obry.net> <04308fda-833d-4e4c-a007-ec7d07a05521@k30g2000hse.googlegroups.com> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1219261627 18788 62.49.19.209 (20 Aug 2008 19:47:07 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 20 Aug 2008 19:47:07 +0000 (UTC) Cancel-Lock: sha1:D3DadWgiyrmF915hv169f/DnKWo= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) Xref: g2news1.google.com comp.lang.ada:1691 Date: 2008-08-20T20:47:07+01:00 List-Id: "RasikaSrinivasan@gmail.com" writes: > In any case, I found that on Windows for gnat based development, I am > not sure cygwin works that well. for example, the -I and other such > specifications want to interpret the argument using the native > directory separator ie "\" and not the unix like "/" I prefer not to use -I etc; leave that sort of thig up to gnatmake, which it does perfectly well. You can of course have other problems using mixed Windows/Cygwin tools, in our case with environment variables most of which get converted properly by cygwin from the Windows set, but (if I remember correctly) not tools such as gnatmake which don't understand /cygdrive/d/... and need d:/... instead. What we did was to get a tool to create .reg and .sh (and .el!) files with equivalent and appropriate meanings: then you can double-click on the .reg file for use on command shells, and thereafter source the .sh file for cygwin shells from ~/.profile. A PITA to set up, but invisible after it's done.