From: "Rossz Vámos-Wentworth" Newsgroups: comp.os.msdos.djgpp Subject: building binutils and cross-compiler Date: Sat, 19 Feb 2000 09:57:45 -0800 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 209.239.199.226 X-Original-NNTP-Posting-Host: 209.239.199.226 Message-ID: <38aed9bf_2@news.jps.net> X-Trace: 19 Feb 2000 09:58:23 -0800, 209.239.199.226 X-Original-NNTP-Posting-Host: 209.63.224.240 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm attempting to build a binutils and a cross compiler: build=i386-pc-msdosdjgpp host=i386-pc-msdosdjgpp target=h8300-hms First off, I discovered I had to replace "ln -s" with "cp -f" since symbolic links are not supported by DJGPP (no surprise). Perhaps there should be a test in "configure" to do this automatically. The major problem I am having is getting prefixes on the built files. I've included --"program-prefix=h8300-hms-" on the command line but that doesn't make a difference. I examined the makefile that is created in it does contain "transform = s,^,h8300-hms-,". when I run make, I end up with "gas-new.exe", etc. Running "make install" results in a multilevel directory structure with some files with that prefix, but not the executable. Can anyone offer me a hint, please? I'm also experiencing problems building the cross compiler (gcc-2.95.2), but I suspect it is related to this problem. When it attempts to build the h8300 runtime library it chokes on assembler code, dumping out errors about instructions not being i386 instructions. I tried putting the h8300 version of as.exe and ar.exe in the logical place (..\binutil\), but it didn't seem to work. Rossz