From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fgw21-4.mail.saunalahti.fi (fgw21-4.mail.saunalahti.fi [62.142.5.108]) by sourceware.org (Postfix) with ESMTPS id A83D63857C77 for ; Wed, 13 Mar 2024 16:00:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A83D63857C77 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=wippies.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=wippies.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A83D63857C77 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=62.142.5.108 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710345622; cv=none; b=Tort9NeTW0Dsk2DReR7Y+Q1zeyYbUpSGrGocgyQBoH7wH2nkVDEh4dhH+sheBlVgMEdnz4iNKyyJbFneX9kNgZhjtEHBDisi1dl42BsMbzQrxMVsPzYNqE5Bhd7pRH8NTv4H821ezJGoI1dCq+M/tM/yg1O0c3GFY20DayfujdA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710345622; c=relaxed/simple; bh=++5Un2fVNS4iJ3rjwTIeOIr1EZTmUnfOxekSvjcZ5+k=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=u+ijkjPHI3PidwuThOC6zKTB5KTv5fWCThC7RCpElQ+3OFrFhCPWm0rq/TIaMR08ph1ExmVM0IxFKt6jEXW3xTey/2+zrLZlBQYm/hwegMt04z3xELuQh45qBbh8ALbCDojVeoy46qoeCulUd1k8+6e256HrfO1M+/rhXLZOpdc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wippies.com; s=elisa1; h=content-transfer-encoding:content-type:in-reply-to:from:references:to:subject: mime-version:date:message-id:feedback-id:from:to:cc:reply-to:subject:date: in-reply-to:references:list-archive:list-subscribe:list-unsubscribe: content-type:content-transfer-encoding:message-id; bh=zRtefT2ieV39hecztkFlFenegOMmet2DdynTGJDjlvg=; b=vsKe8QLUk1H9TCc4z0I8K/UQ/85kX0LouX0rztd946rAedAaZwy231Vc+i8Pf2cRiA0YVp8bYGI4U HXuhswHhlaK56PElyh4KXDBtBhqLefsCU00hLosFD/7linFNPFq1K/pX2iNelHA8tdIL0s2/XBMukZ BcnfCi2Do74VRaemB5/onwM8eXHK2B1MZRRUTb5zxoFrCNPA7X+axBCrHUjzU4LYFhQqRfJjqASILi 3PeyD6IIePPdU9JRuCoExVR7r9diojmLFDHKvKWTwN0AYvw6JhjHmvLOPz/Sp7TEX23aiQR6rLyV7o ujx5rkW7pnJfcSfUzslXlko46opdunA== Feedback-ID: 423dab22:12b117:elisa Received: from [10.0.0.212] (mobile-access-6df061-90.dhcp.inet.fi [109.240.97.90]) by fgw21.mail.saunalahti.fi (Halon) with ESMTPSA id c82dee91-e152-11ee-abf4-005056bdd08f; Wed, 13 Mar 2024 18:00:16 +0200 (EET) Message-ID: <7251609f-7574-4eba-a2e5-c8d259307781@wippies.com> Date: Wed, 13 Mar 2024 18:00:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: a problem when using gcc To: guo , gcc-help@gcc.gnu.org References: From: Kai Ruottu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: guo via Gcc-help kirjoitti 13.3.2024 klo 16.26: > Hello, i use a makefile to compile a .c file What do you mean with "compile"? > and successfully get an executable file, Getting an executable file with GCC means "compile to assembly file", "compile this with 'as' to an object file" and finally "link the object file with 'ld' to all the required library functions (object files), startups and endfiles". The '-o' but when i use command "./filename" to try to execute that > executable file, i failed and being told "bin file not specified",could you > please tell the reason why i get this error?Thank you for your help! Does the run platform give this error or the executable you are running? Googling with this error message gives no results...