From: Ahsan K. <akh...@ho...> - 2003-09-19 20:53:03
|
I am compiling the linux kernel files using the win32 gcc compiler . If you compile the file ip_output.c user the linux source directory using these flags , you will see the problem akh...@ho... T >From: "Luke Dunstan" <cod...@ho...> >Reply-To: min...@li... >To: <min...@li...> >Subject: Re: [Mingw-users] compile problem with GCC for win32 >Date: Fri, 19 Sep 2003 09:31:03 +0800 >MIME-Version: 1.0 >X-Originating-IP: [203.59.230.254] >X-Originating-Email: [cod...@ho...] >Received: from mc5-f25.hotmail.com ([65.54.252.32]) by mc5-s16.hotmail.com >with Microsoft SMTPSVC(5.0.2195.5600); Fri, 19 Sep 2003 13:08:46 -0700 >Received: from sc8-sf-list2.sourceforge.net ([66.35.250.206]) by >mc5-f25.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Fri, 19 Sep 2003 >13:07:28 -0700 >Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] >helo=sc8-sf-list1.sourceforge.net)by sc8-sf-list2.sourceforge.net with >esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 1A0RPp-0000Bx-00; Fri, 19 Sep 2003 >12:59:41 -0700 >Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] >helo=sc8-sf-mx1.sourceforge.net)by sc8-sf-list1.sourceforge.net with esmtp >(Cipher TLSv1:DES-CBC3-SHA:168) (Exim 3.31-VA-mm2 #1 (Debian))id >1A0A7b-0004rl-00for <min...@li...>; Thu, 18 Sep 2003 >18:31:43 -0700 >Received: from law11-oe71.law11.hotmail.com ([64.4.16.206] >helo=hotmail.com)by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.22)id >1A0A7b-0006Zf-91for min...@li...; Thu, 18 Sep 2003 >18:31:43 -0700 >Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; >Thu, 18 Sep 2003 18:31:07 -0700 >Received: from 203.59.230.254 by law11-oe71.law11.hotmail.com with DAV;Fri, >19 Sep 2003 01:31:07 +0000 >X-Message-Info: LGjzam7y+LtViILtFGsHb2v6egeyaHBz8NkXpQOXIgs= >References: <Law...@ho...> >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 6.00.2800.1158 >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <Law...@ho...> >X-OriginalArrivalTime: 19 Sep 2003 01:31:07.0624 (UTC) >FILETIME=[B2F13680:01C37E4D] >X-Spam-Score: -1.0 (-) >X-Spam-Report: -1.0/5.0The original message has been attached along with >this report, soyou can recognize or block similar mail in future.See >http://spamassassin.org/tag/ for more details.Content preview: Are you >using inline assembly? If not, please post aminimal test case that >demonstrates the problem. It would also beuseful to know why you are using >the "-nostdinc" and "-iwithprefix"options. Luke [...] Content analysis >details: (-1.00 points, 5 required)REFERENCES (-0.5 points) Has a >valid-looking References headerQUOTED_EMAIL_TEXT (-0.5 points) BODY: >Contains what looks like a quoted email text >Sender: min...@li... >Errors-To: min...@li... >X-BeenThere: min...@li... >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >List-Help: <mailto:min...@li...?subject=help> >List-Post: <mailto:min...@li...> >List-Subscribe: ><https://lists.sourceforge.net/lists/listinfo/mingw-users>,<mailto:min...@li...?subject=subscribe> >List-Id: General mail list for posts concerning MinGW ><mingw-users.lists.sourceforge.net> >List-Unsubscribe: ><https://lists.sourceforge.net/lists/listinfo/mingw-users>,<mailto:min...@li...?subject=unsubscribe> >List-Archive: ><http://sourceforge.net/mailarchive/forum.php?forum=mingw-users> >X-Original-Date: Fri, 19 Sep 2003 09:31:03 +0800 >Return-Path: min...@li... > > >Are you using inline assembly? If not, please post a minimal test case that >demonstrates the problem. It would also be useful to know why you are using >the "-nostdinc" and "-iwithprefix" options. > >Luke > >----- Original Message ----- >From: "Ahsan Khan" <akh...@ho...> >To: <min...@li...> >Sent: Thursday, September 18, 2003 9:41 PM >Subject: [Mingw-users] compile problem with GCC for win32 > > > > > > > > > > > > > > I am compiling a program under win32 and here is what I am getting. >Could > > somebody help me with it. > > > > akh...@ho... > > > > > > >gcc -v -D__KERNEL__ -I../../include -Wall -Wstrict-prototypes >-Wno-trigraphs > > -O2 -fno-strict-al > > iasing -fno-common -fomit-frame-pointer -pipe >-mpreferred-stack-boundary=2 > > -march=i686 -nostdinc -iwithprefix include > > -DKBUILD_BASENAME=ip_output -c -o ip_output.o ip_output.c > > Reading specs from d:/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/specs > > Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as > > --host=mingw32 --target=mingw32 --prefix=/mingw > > --enable-threads --disable-nls --enable-languages=c++,f77,objc > > --disable-win32-registry --disable-shared --enable-sjlj- > > exceptions > > Thread model: win32 > > gcc version 3.2.3 (mingw special 20030504-1) > > d:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\cc1.exe -lang-c -nostdinc -v > > -I../../include -iprefix d:\mingw\bin/../lib/gcc > > -lib/mingw32/3.2.3/ -D__GNUC__=3 -D__GNUC_MINOR__=2 >-D__GNUC_PATCHLEVEL__= >3 > > -D__GXX_ABI_VERSION=102 -D_WIN32 -D__WIN32 - > > D__WIN32__ -DWIN32 -D__MINGW32__ -D__MSVCRT__ -DWINNT -D_X86_=1 -D_WIN32 > > -D__WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__ > > -D__MSVCRT__ -D__WINNT__ -D_X86_=1 -D__WIN32 -D__WINNT -Asystem=winnt > > -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Am > > achine=i386 -Di386 -D__i386 -D__i386__ -D__i686 -D__i686__ >-D__pentiumpro > > -D__pentiumpro__ -D__tune_i686__ -D__tune_pent > > iumpro__ -D__stdcall=__attribute__((__stdcall__)) > > -D__cdecl=__attribute__((__cdecl__)) -D__fastcall=__attribute__((__fas > > tcall__)) -D_stdcall=__attribute__((__stdcall__)) > > -D_cdecl=__attribute__((__cdecl__)) -D_fastcall=__attribute__((__fastc > > all__)) -D__declspec(x)=__attribute__((x)) -D__KERNEL__ > > -DKBUILD_BASENAME=ip_output -iwithprefix include ip_output.c -qu > > iet -dumpbase >ip_output.c -mpreferred-stack-boundary=2 -march=i686 -O2 -Wall > > -Wstrict-prototypes -Wno-trigraphs -version > > -fno-strict-aliasing -fno-common -fomit-frame-pointer -o - | > > d:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\as.exe > > --traditional-format -o ip_output.o > > GNU CPP version 3.2.3 (mingw special 20030504-1) (cpplib) (80386, BSD > > syntax) > > GNU C version 3.2.3 (mingw special 20030504-1) (mingw32) > > compiled by GNU C version 3.2.3 (mingw special). > > #include "..." search starts here: > > #include <...> search starts here: > > ../../include > > d:/mingw/lib/gcc-lib/mingw32/3.2.3/include > > End of search list. > > {standard input}: Assembler messages: > > {standard input}:1814: Error: unknown pseudo-op: `.subsection' > > {standard input}:1822: Error: unknown pseudo-op: `.previous' > > {standard input}:1973: Error: unknown pseudo-op: `.subsection' > > {standard input}:1979: Error: unknown pseudo-op: `.previous' > > {standard input}:2010: Error: unknown pseudo-op: `.subsection' > > {standard input}:2014: Error: unknown pseudo-op: `.previous' > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >MinGW-users mailing list >Min...@li... > >You may change your MinGW Account Options or unsubscribe at: >https://lists.sourceforge.net/lists/listinfo/mingw-users _________________________________________________________________ Express yourself with MSN Messenger 6.0 -- download now! http://www.msnmessenger-download.com/tracking/reach_general |