From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: richard.earnshaw@arm.com Cc: egcs@cygnus.com, burley@gnu.org Subject: Re: building a cross libf2c Date: Sat, 27 Jun 1998 22:14:00 -0000 Message-id: <8374.899010404@hurl.cygnus.com> References: <199806261302.OAA27990@sun52.NIS.cambridge> X-SW-Source: 1998-06/msg01017.html In message < 199806261302.OAA27990@sun52.NIS.cambridge >you write: > The following patch (or something like it) is needed to allow > cross-building of libf2c to succeed, since the "libraries" subdir doesn't > exist for a cross build. > > Richard Earnshaw (rearnsha@arm.com) > > * Makefile.in (BASE_FLAGS_TO_PASS): Pass TARGET_SUBDIR to submakes. > > * libf2c/Makefile.in (TARGET_SUBDIR): Provide default definition. > (FLAGS_TO_PASS): Use TARGET_SUBDIR in definition of G2C_H_DIR. I ended up fixing this problem as part of nuking "libraries" and using ${target_alias} for native builds. jeff