🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52378

host/target directory setup for cross-compiling

#52378
From: Scott Hammond
Date: Wed, 21 Oct 1992 22:21
16 lines
1298 bytes
I'm building a sun3 and sun4 hosted cross-compiler to a local m68k
target.  I'm trying to minimize duplication of cross-compiler libraries,
header files, etc between the sun3 and sun4.  It seems I'm not getting
what I want from the various dir settings in the Makefile. 

Should $(tooldir) should be split between host-dependent and
host-independent files (ie, sun4 binary gnu-as separate from target
header files), or at least made host-specific as $(exec_prefix)/$(target)?

Also, shouldn't $(bindir) be set to $(tooldir)/bin so I can have a PATH
with $(exec_prefix)/$(target)/bin?  Finally, should
STANDARD_STARTFILE_PREFIX be set to $(tooldir)/lib rather than libdir? 
If anyone else has tried this kind of setup I'd like to hear what worked
best. 

-Scott
Technical Details
Message-ID: <1992Oct21.222102.5405@sctc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!sctc.com!scott

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d827b9fe180ae2e1,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-10-21 13:35:02 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!umn.edu!sctc.com!scott
From: scott@sctc.com (Scott Hammond)
Subject: host/target directory setup for cross-compiling
Message-ID: <1992Oct21.222102.5405@sctc.com>
Organization: SCTC
Date: Wed, 21 Oct 1992 22:21:02 GMT
Lines: 16