🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50921

Re: GCC cross-compiler environment---pointers/help needed

#50921
From: Chiaki Ishikawa
Date: Mon, 26 Jul 1993 12:35
30 lines
2469 bytes
In article <ISHIKAWA.93Jul26212734@ds5200.personal-media.co.jp> ishikawa@personal-media.co.jp (Chiaki Ishikawa) writes:

>   BTW, one thing I notice is that in creating i386-go32, program `nm' is
>   invoked to check for the form of identifier (for demungling of C++
>   identifier, etc.?), specifically checking the presence of underscore
>   in the identifier. However, instead of using the target-environment
>   `nm' (created from bintutils), the configure in gcc uses the native
>   (sparc!) nm and since the format of object is not compatible?, the
>   host nm barfs, but make silently proceeded.
>   I wonder what the correct patch would be. (Should we tell make that
>   the target nm, etc.. are available using make
>   TARGET_NM=/opt/gnu/..../ar, etc.?)

I rechecked. It was gas and binutil that have NM_FOR_TARGET and other
target-specific (cross) programs.
I wonder if I have to explicitly spcifiy them on the Make command
line. Programs in one installation of bintutils package may know where
such cross tools are  going to be located, but apparently installation
of GAS can't tell it and somewhere nm of host eats target-format
objects and barfed. (This may be caused by the incorrect hacking of
configure to support i386-go32.)

>Anyway, thanks for great package!

Again, thanks.

    Chiaki Ishikawa,  Personal Media Corp.,  MY Bldg, 1-7-7 Hiratsuka,
    Shinagawa, Tokyo 142, JAPAN. FAX:+81-3-5702-0359, Phone:+81-3-5702-0351
    UUNET: ishikawa@personal-media.co.jp
Technical Details
Message-ID: <ISHIKAWA.93Jul26213548@ds5200.personal-media.co.jp>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!noc.near.net!uunet!pmcgw!personal-media.co.jp
References: <9307230635.AA13189@lemming.wellfleet> <ISHIKAWA.93Jul26212734@ds5200.personal-media.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a252c2e63ece416
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-27 13:13:16 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!noc.near.net!uunet!pmcgw!personal-media.co.jp
From: ishikawa@personal-media.co.jp (Chiaki Ishikawa)
Newsgroups: gnu.gcc.help
Subject: Re: GCC cross-compiler environment---pointers/help needed
Message-ID: <ISHIKAWA.93Jul26213548@ds5200.personal-media.co.jp>
Date: 26 Jul 93 12:35:48 GMT
References: <9307230635.AA13189@lemming.wellfleet>
 <ISHIKAWA.93Jul26212734@ds5200.personal-media.co.jp>
Sender: news@pmcgw.personal-media.co.jp
Reply-To: ishikawa@personal-media.co.jp
Distribution: gnu
Organization: Personal Media Corp., Tokyo Japan
Lines: 33
Nntp-Posting-Host: ds5200
In-reply-to: ishikawa@personal-media.co.jp's message of 26 Jul 93 12:27:34 GMT
X-Md4-Signature: abe498ab0f4a4b8c14f2372d9ca169f2