X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: cbramix AT libero DOT it (Carlo) Newsgroups: comp.os.msdos.djgpp Subject: Cross compiling GCC with DJGPP Date: 13 Oct 2004 03:44:45 -0700 Organization: http://groups.google.com Lines: 47 Message-ID: NNTP-Posting-Host: 81.74.88.65 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1097664285 13498 127.0.0.1 (13 Oct 2004 10:44:45 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 13 Oct 2004 10:44:45 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello everyone, at work I finally received a new PC, powerful enought for compiling the GCC cross compilers I need. I have a fully working DJGPP enviroment and all packages have the latest versions. The operating system is Windows 98. Then I downloaded the GCC complete sources, the binutils and newlib. I unpacked the archives, I opened the DOS prompt, I launched BASH and I started compiling everything. My first targets are for ARM-LINUX-ELF, ARM-WINCE-PE and Hitachi H8300-HMS. I was able to compile Binutils successfully and after few tests I can say they are OK. Then I tried to compile GCC but here I failed. It *seems* that the compiler has been created correctly, but in reality the newly created CC1 says "unknown option" for all options received by GCC. It recognises the file name and few options (for example, it accepts '-g' and '--help' and few others). I can't understand the cause of the problem, because I think I configured it correcly. My steps are described here: 1) unpack the GCC source archive. The result is a directory called "gcc-3.4.2". 2) I created this directory: "gcc-3.4.2-arm-wince-pe" 3) I entered into previous directory and I typed the "configure" command. 4) then, I typed "make". This is the text I wrote: $ mkdir gcc-3.4.2-arm-wince-pe $ cd gcc-3.4.2-arm-wince-pe $ ../gcc-3.4.2/configure --srcdir=../gcc-3.4.2 --target=arm-elf \ --with-cpu=iwmmxt --with-newlib --disable-threads --disable-multilib \ --disable-nls --enable-languages=c $ make I tried to change "iwmmxt" to "xscale" or "arm9", but it didn't change. Thanks in advance for all suggestions. Sincerely, Carlo