Change default location of DJGPP's ld scripts

Andreas Schwab schwab@suse.de
Fri Sep 10 01:21:00 GMT 1999


"Mark E." <snowball3@bigfoot.com> writes:

|> What happens with gcc is the target_alias is truncated to 'djgpp', so instead of the 
|> egcs 1.12 backends (cc1.exe, etc.) being in:
|> c:/djgpp/lib/gcc-lib/i386-pc-msdosdjgpp/egcs-291.66/
|> 
|> they are instead in instead:
|> c:/djgpp/lib/gcc-lib/djgpp/egcs-291.66/
|> 
|> truncating the target alias in the same way as gcc for the ldscripts directory would 
|> be:
|> c:/djgpp/djgpp/lib/ldscripts/
|> 
|> which will work. But it kinda looks as if someone made a mistake and put in an extra 
|> /djgpp in the path.

c:/djpgg seems to be ${prefix}, and tooldir is ${prefix}/${target_alias},
where ${target_alias} can be anything that is accepted by config.sub.  So
it's a matter of how you call configure what you get here.  Just pass the
appropriate --target name that fits into the ridiculous DOS file name
rules.

Andreas.

-- 
Andreas Schwab                                  "And now for something
schwab@suse.de                                   completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg


More information about the Binutils mailing list