From: SF/projects/mingw n. l. <min...@li...> - 2011-11-30 14:00:38
|
Bugs item #3446077, was opened at 2011-11-30 05:54 Message generated for change (Comment added) made by earnie You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3446077&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: gcc Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Earnie Boyd (earnie) >Assigned to: Cesar Strauss (cstrauss) >Summary: as -Z option, GCC removes object file Initial Comment: The -Z option when supplied to GNU as should output a binary file regardless of error. File foo.c void _fpreset (void) { __asm__ ( "fninit" ) ;} $ gcc -v -o foo.o -c foo.c -Wa,-march=i386,-Z The effect of -Z should produce foo.o even though there is an error. http://sourceware.org/binutils/docs/as/Z.html#Z $ as --version GNU assembler (GNU Binutils) 2.21.53.20110804 Copyright 2011 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or later. This program has absolutely no warranty. This assembler was configured for a target of `mingw32'. ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2011-11-30 06:00 Message: Actually, as works as expected when executed directly via the command line. It is GCC that removes the object file. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=3446077&group_id=2435 |