DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4A6FW8k52082860 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Ek4wYBOT X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0EF99385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1730907128; bh=qOVhl8gSkRgTM/zq6bmEW0nufumcJTBkgLGKUj9W77M=; h=Subject:In-Reply-To:Date:Cc:References:To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Ek4wYBOTMmhRjH34gn7FUvJcJUPOSqB21/rF0kk3p7rsIoxLADBm7N0BMWVYtBQIQ zzM/l5JIwO80c8KQ9Kpa9oUZwc4vIE6XMWlhMlikd/8XvWRi50Ujksml6KrIO43sSS P4Os5KpWpNn8ieCnXOase312iSt/AosTesDfG3Z0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C70CD3858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C70CD3858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730907060; cv=none; b=pX3I60JuNZM7pJd5yHQP+kUTknsktuAY3k0CAnqG3DLy2b9iy4p98orfZKWmO5KfY93hRGXAlQG0Ws6iJqArQ8FGo/QEqYRe/yKP31LNA6jcFLxfNcNGNTekPvppqvy0V7JvxFe77JH3h+zl4iemc2gRrnx8kFrvX5FC81x8KNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730907060; c=relaxed/simple; bh=s30DChdhngYRU9i+MRzK3dtBa+TDCHCC2MPKNxfYKjU=; h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To; b=wFaAo6oPrU1G8witZx/1qkI1PANpKaRmDuIJlzuX4A/QKm6FtKlJWgxclufBpsfk5hrYYAwpM0lw19PgUdVgyan5tZYNwzHQb8FBg37IOcxee8pSerOQLi3QT6rkx3zwoRzFf6CxUMpd4xeK4HWEMN/YvJn1rmM9piRyQZs3Lzs= ARC-Authentication-Results: i=1; server2.sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730907055; x=1731511855; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s30DChdhngYRU9i+MRzK3dtBa+TDCHCC2MPKNxfYKjU=; b=rMU8uYNQNy8FHlgoA9I8i3P5V63BaL8Ow1/BN29oZ0d72Bd4Nud1J+teNRavbslSEO i+jRPkMUdMhSwSiTdZZDHDHWhkvA8Hi+vC1uCj11Nsjg58G54yZApeDQ1oqAw8pyErfq aqx/Sv74p+OGNO2tUPElqRW+xEOCuephUtRkb53omJcjnMbZEz0SSDqxGYuJV2O0sIAK wGGQ4KC9tyD4ryf9PNtGXJ5O8UjD/gSsm15TX6i4AAvSzqStkCM5MP8VyLi93t6pBI1f TmSWXyPZXVkZ5rbZBoaCmYbakgBIBcuVRpS7anXTLfcoEY/q1yHaGMnZPuCbkaAf+JjW 8TyQ== X-Gm-Message-State: AOJu0Yzwna7ZtvFlt72pidPH7WmY4JX1EvUMWG42Y06Gvn/eXvwhazeI kFrkvClsYvqpu3FqSrjcXdhe50fkE/Fri4XyaetBq1TzFLb8fyzAp+wKbPoU9W0= X-Google-Smtp-Source: AGHT+IGmMWE2URa9mOsb6h/CTWdG0JDtKN7+dWEGiZ+nzJgVFAYt3CetV78H4iazeqhlph/mlDQm9Q== X-Received: by 2002:a17:906:f597:b0:a99:ebcc:bfbe with SMTP id a640c23a62f3a-a9de5d992f1mr3955077966b.27.1730907055344; Wed, 06 Nov 2024 07:30:55 -0800 (PST) Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.9\)) Subject: Re: Testing for 32bit or 64bit Cygwin in Makefile? In-Reply-To: Date: Wed, 6 Nov 2024 16:30:53 +0100 Cc: cygwin AT cygwin DOT com Message-Id: References: To: Sebastian Feld X-Mailer: Apple Mail (2.3731.700.6.1.9) X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Dimitry Andric via Cygwin Reply-To: Dimitry Andric Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 6 Nov 2024, at 16:11, Sebastian Feld via Cygwin wrote: > > How can I test in a /usr/bin/make Makefile whether I am running on a > 32bit or 64bit Cygwin (not Windows kernel)? Usually in a shell you use "uname -m", or with bash specifically, the $HOSTTYPE variable. However in GNU make you should be able to use the internal variable $(MAKE_HOST). On my Cygwin installation, this gives the value "x86_64-pc-cygwin". Since I do not have any 32-bit Cygwin installation, I cannot tell you what the exact value is, but my guess would be "i386-pc-cygwin", or something like that. -Dimitry -- 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