From: "Ed Manlove" Newsgroups: comp.os.msdos.djgpp References: <00Tt9.545$WF7 DOT 182298743 AT news DOT netcarrier DOT net> Subject: Re: Disable all ELF support in cross compiler build Lines: 62 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 Message-ID: Date: Thu, 24 Oct 2002 10:43:03 -0400 NNTP-Posting-Host: 207.207.243.79 X-Complaints-To: news AT netcarrier DOT com X-Trace: news.netcarrier.net 1035468745 207.207.243.79 (Thu, 24 Oct 2002 10:12:25 EDT) NNTP-Posting-Date: Thu, 24 Oct 2002 10:12:25 EDT Organization: NetCarrier Internet Services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Actually I think I found the answer which is to add --without-elf to the configure script. I did this but I still get my error. The only other thing it might be is libggc1_test script which I think also sets size_t to unsigned int. Ed Ed Manlove wrote in message news:00Tt9.545$WF7 DOT 182298743 AT news DOT netcarrier DOT net... > Is there any way to diasble running all elf support in the process of > configuring and building a cross compiler. My host (not set explicitly) is > i386-pc-msdosdjgpp and my target is h8300-hitachi-hms. I have succesfully > built binutils (ver 2.121) but when building gcc (ver 2.95.2) I get an error > from a missmatch typedef for which I belive is caused by elf support. In > particualr when looking at gnu/gcc-2.952/build/djg/gcc/SYSCALLS.i i notice > the following line > > extern size_t elf32_fsize(Elf_Type, size_t, unsigned int); > > And this leads me to believe that the elf spport is causing my error. > > Thanks for any help you can offer. > > Ed > > From my makefile after configure > > # This file was generated automatically by configure. Do not edit. > VPATH = .. > links = > host_alias = i386-pc-msdosdjgpp > host_cpu = i386 > host_vendor = pc > host_os = msdosdjgpp > host_canonical = i386-pc-msdosdjgpp > target_alias = h8300-hitachi-hms > target_cpu = h8300 > target_vendor = hitachi > target_os = hms > target_canonical = h8300-hitachi-hms > build_alias = i386-pc-msdosdjgpp > build_cpu = i386 > build_vendor = pc > build_os = msdosdjgpp > build_canonical = i386-pc-msdosdjgpp > target_makefile_frag = mt-frag > host_makefile_frag = mh-frag > enable_shared = no > enable_version_specific_runtime_libs = no > gcc_version_trigger = c:/djgpp/gnu/gcc-2.952/gcc/version.c > gcc_version = 2.95.2 > > > -- > Ed Manlove > emanlove AT eclipse DOT net > >