🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41733

Problem building cross-compiler

#41733
From: "M Day SN Systems So"
Date: Wed, 21 Feb 1996 00:00
16 lines
999 bytes
I think I've found a general problem when building a cross-compiler.

Some of the GNU C source modules (e.g. c-common.c) will #include 
"config.h" which is the config file for the machine that hosts the 
compiler but will make use of macros (e.g. ASM_OUTPUT_SECTION_NAME) which 
should really be taken from the "tconfig.h" file in the context in which 
they are used because it should really be testing if the target machine 
defines this macro.

This type of problem seems to occur a number of times.  Is this really a 
problem or have I missed something ?

Thanks

Martin
Technical Details
Message-ID: <Dn5F92.DG4@cix.compulink.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4c60b25494d3226b,start
X-Google-Attributes: gid11318c,public
From: tal@cix.compulink.co.uk ("M Day SN Systems So")
Subject: Problem building cross-compiler
Date: 1996/02/21
Message-ID: <Dn5F92.DG4@cix.compulink.co.uk>
X-Deja-AN: 140487421
organization: SN Systems Ltd                
x-news-software: Ameol
newsgroups: gnu.gcc.help