From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id AB0243856DCA for ; Wed, 13 Jul 2022 18:54:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AB0243856DCA Received: by mail-wr1-x42a.google.com with SMTP id bu1so15577415wrb.9 for ; Wed, 13 Jul 2022 11:54:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=8BSZVq3u1I47u341JaJtNklILzqmhUZgv8WEg9RJuuE=; b=XHISkcXRNrX75biSIHziPz9YjRUew+dX3cU8nyX9eJ1rYh6qfFVcXlMjs44lZ8HSGA W4ZRxctAVzeSI+caY2Spr0jTlq+Zm2Cs320rx1EuKHzR8FQ57RL0SoEHOzuhCuTG8fTy R1MXqbeQ9wUxuOlh+a5tkREK9t7PvWrpKerj85I9+/bQjZ0mGXi65yeKImKZdkec87/G kAkYmb+UUzCJEl4H+EoAESMyd5kfTfcTttyJ7qpKYZdaifhYM1WtIkG+H/UdNGK60XBZ ycCWg5PabSRN6cbldQ1eqrnPIk38bccM/4dYYt7mIxeId5Up52ST22BXQAKrUkjcmUtf Yo6w== X-Gm-Message-State: AJIora+ohiXVN0XTh1rrW0ylPJov5U0QyVDd6PtoPGBRsmC+TeO4RO9/ RhHXmTtzJdnizN0uRnzCRfhk1w518A== X-Google-Smtp-Source: AGRyM1vgLKy6y3tkfL+i/rQWQ1H0Pc8nxJY+ZpGPgzDVTco+H8RPoahRcoobXUamPQFc1jU1vYxTSw== X-Received: by 2002:a5d:6c6b:0:b0:1ea:77ea:dde8 with SMTP id r11-20020a5d6c6b000000b001ea77eadde8mr4669879wrz.690.1657738471102; Wed, 13 Jul 2022 11:54:31 -0700 (PDT) Received: from smtpclient.apple ([2001:8a0:57a5:8200:d1c9:d2a1:b528:c02e]) by smtp.gmail.com with ESMTPSA id g14-20020adff3ce000000b0021d68d3a27dsm14173072wrp.45.2022.07.13.11.54.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jul 2022 11:54:30 -0700 (PDT) From: Daniel Santos Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Compiling gcc-3.4.6 on sparc Solaris 9 Message-Id: <6A2F680E-2A62-46AA-8320-B799E1B49357@gmail.com> Date: Wed, 13 Jul 2022 19:54:29 +0100 To: gcc-help@gcc.gnu.org X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2022 18:54:34 -0000 Hello community, I am trying to build gcc on Sparc Solaris 9. So far I am creating a directory sibling to the source distribution = directory and running configure from there. One thing I don=E2=80=99t understand is why the base configure script = does not descend automatically to the gcc subfolder. I have to go in there and run configure again. While running configure with the command line : = ../../gcc-3.4.6/gcc/configure =E2=80=94with-gnu-as =E2=80=94with-gnu-ld and then make : it builds the files and when it gets to running ld I get = the error : /usr/local/sparc-sun-solaris2.9/bin/ld: target elf64-sparc not found I am building this gcc with the same version installed via sunfkeeware = packages. The reason for building it is that I need objective-c support and the = package does not have it. This ld error indicates that the ld executable being run is from = solaris, and not the gnu one I have in /usr/local/bin/ld Can anyone shed some light on this ? Thanks Regards Daniel Santos Daniel Santos