From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cornelius.benjammin.net (cornelius.benjammin.net [173.161.90.36]) by sourceware.org (Postfix) with ESMTPS id 81E84385DC0A for ; Sat, 4 Apr 2020 09:00:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 81E84385DC0A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=benjammin.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bkamen@benjammin.net Received: from [192.168.125.2] (quantum.benjammin.net [173.161.90.37]) (authenticated bits=0) by cornelius.benjammin.net (8.14.4/8.14.4) with ESMTP id 03490YkU018532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 4 Apr 2020 04:00:34 -0500 To: cygwin@cygwin.com From: Ben Subject: Using ARM GNU GCC with Cygwin Message-ID: Date: Sat, 4 Apr 2020 04:00:34 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2020 09:00:37 -0000 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. I'm using the arm-gcc from the developer.arm.com website. Is there something else I'm missing? What files can I offer (like the makefile) that can help determine the issue? Thanks,  -Ben