www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/04/15:13:01

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD364385DC20
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1586027529;
bh=ZevWBGP42b2WH9l7+/fYBXE1VBQOXEvIuVLBjO4BW6Q=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=W38c8tg0wpRjJQyGT4tmivQxXmimvKwNXG1eyU2+dnLMFn17upWeCJazxRSoHVyVO
KaaGWdCFlplbBBKVu8XEwqGz0I4vymAXvnEiITGwhyHH76K68TnxT8ofzKhpJDTDEN
w61jngVi9o3Zhetb3A6KlSpaul0+afdRdISyfzYQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5BDE4385DC00
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-transfer-encoding
:content-language;
bh=2VXz7ZiT6fcj8nnLSxnCkqOmeQAcB+AHC8mIFEkZjYw=;
b=nqMQl/UA3VlmnAq6B13dwfcAtuMBgKzdaEtP5Hi0N5QWNF0AsOlyJnmAyiY5QeHsv+
QuPY/wAEY315Id1P/BoPWw5xh77mKRX03A2nMUmqIyY6W34YFTWcF/tA+hZxgnBEwfLb
OMXTRIqCm5+PW6F74ewjF1VOYcpJzL6yUQ3s2f+ZihZkUo9VFuhsYZpKw6zHI7rgZPkY
viTeyNuwtSBMOQwp3wTGfMHtuqqqyB6nVGiGSPNb6JB7gbK/yEatKEsqp0iLsXWvLy+U
lj8WCT3T2O2eJpRNfXjc6YxT+ij5BeEiK5z2BwB6FNUtN42opO0kSMhaBKTcC9NPI7rA
9lHQ==
X-Gm-Message-State: AGi0PuY6FlQRKStMiwS8sTKZZMoCuLDAf0Ucw8NBMZYSAED3rG2VHLfN
I3g8QHSKqJchJllrIrBrpQQwIOdT04U=
X-Google-Smtp-Source: APiQypLq6cNBKCZ9lVIPNW5vrOq7bVQCTxl6+/kt4jWer6UAYLZhH5R9RSFa3KVWyoLbLVBhnTltRw==
X-Received: by 2002:a2e:b241:: with SMTP id n1mr7366357ljm.22.1586027522873;
Sat, 04 Apr 2020 12:12:02 -0700 (PDT)
Subject: Re: Using ARM GNU GCC with Cygwin
To: Ben <bkamen AT benjammin DOT net>, cygwin AT cygwin DOT com
References: <a63033db-7f0f-cf87-3de9-f544f4aa320b AT benjammin DOT net>
Message-ID: <f2ffda25-0447-33e2-63c2-47bccf2c6d80@gmail.com>
Date: Sat, 4 Apr 2020 21:11:52 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.6.0
MIME-Version: 1.0
In-Reply-To: <a63033db-7f0f-cf87-3de9-f544f4aa320b@benjammin.net>
X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?=C3=85ke_Rehnman_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?=c3=85ke_Rehnman?= <ake DOT rehnman AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 034JCXlu011856

On 2020-04-04 11:00, Ben wrote:
> Hey all,
>
>  I've never used Cygwin much in the past for compiling let alone 
> cross-compiling to another arch.
>
> I've been playing with ARM GNU GCC and some examples from nordic 
> semiconductor for some of their demo boards (The Thingy)
>
> The make file that comes with the project includes source files using 
> the (abspath ../main.c) (as one example) which GCC really seems to hate.
>
> The output from GCC is the full path 
> (/home/bkamen/workspace-nordic/.....) right down to the file and gcc 
> tells me it can't find the file.
>
> if I change the mail file to use a relative path, gcc can find that... 
> but ultimately I'm trying to understand the issue than just patch 
> around it.

Without know how your make file looks it seems the paths are absolute 
and wrong... gcc usually don't have any problems with full absolute paths.

The reason I think the paths are wrong is it does not start with 
/cygdrive/c/your_dir/

>
> I'm using the arm-gcc from the developer.arm.com website.
It is the same I use.
>
> Is there something else I'm missing? What files can I offer (like the 
> makefile) that can help determine the issue?
>
Look at the failing command and make sure what ever paths and files are 
used are correct.

/Ake

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019