From: Paul Van Bellinghen Newsgroups: comp.os.msdos.djgpp Subject: Re: unrecognized option '-i386' Date: Mon, 30 Nov 1998 20:06:21 -0800 Organization: Posted via Supernews, http://www.supernews.com - Discussions start here! Lines: 66 Message-ID: <36636B3D.6C83B69E@idsi.net> References: NNTP-Posting-Host: 208.195.233.103 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2FB16A54B040EC233B1D0D8A" X-Trace: 912474653 N10TIGFEIE967D0C3C usenet80.supernews.com X-Complaints-To: newsabuse AT supernews DOT com X-Mailer: Mozilla 4.5 [en] (Win98; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --------------2FB16A54B040EC233B1D0D8A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > The command line is gcc -v -c caw_io.c When I do the same at home on my P120 under Win 98, I get: Reading specs from e:/djgpp/lib/specs gcc version 2.8.1 e:/djgpp/lib/gcc-lib/djgpp/2.81/cpp.exe -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=8 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 caw_io.c e:/djgpp/tmp\ccaymw5j GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: e:/djgpp/include e:/djgpp/lib/gcc-lib/djgpp/2.81/include e:/djgpp/include End of search list. e:/djgpp/lib/gcc-lib/djgpp/2.81/cc1.exe e:/djgpp/tmp\ccaymw5j -quiet -dumpbase caw_io.c -version -o e:/djgpp/tmp\ccbymw5j GNU C version 2.8.1 (djgpp) compiled by GNU C version 2.8.1. e:/djgpp/bin/as.exe -o caw_io.o e:/djgpp/tmp\ccbymw5j Notice the difference in the as.exe command line. The only option is the output file (-o). Also note that ccbymw5j is used rather than ccaquhte. However, I suppose this is just a dummy (foo like) file designator. > > > Reading specs from c:/djgpp/lib/specs > ^^^^^^^^^^^^^^^^^^ > This might be your problem, right there: the compiler should have used > the version of specs in c:/djgpp/lib/gcc-lib/djgpp/2.81/, not in > c:/djgpp/lib. I believe the README that comes with gcc 2.8.1 says so. > > Besides, where did -i386 come from? I don't see it anywhere in the > script you posted. What was the exact command line you used to invoke > the compiler? --------------2FB16A54B040EC233B1D0D8A Content-Type: text/x-vcard; charset=us-ascii; name="pvanbell.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Paul Van Bellinghen Content-Disposition: attachment; filename="pvanbell.vcf" begin:vcard n:Van Bellinghen;Paul x-mozilla-html:FALSE org:Lockheed Martin Fairchild Systems version:2.1 email;internet:pvanbell AT idsi DOT net title:Staff Analyst note:businessl e-mail: paul DOT vanbellinghen AT lmco DOT com x-mozilla-cpt:;0 fn:Paul Van Bellinghen end:vcard --------------2FB16A54B040EC233B1D0D8A--