public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36280]  New: -fno-leading-underscore doesn't work
@ 2008-05-20 17:14 jkolb at brandeis dot edu
  2008-05-20 17:15 ` [Bug c/36280] " jkolb at brandeis dot edu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jkolb at brandeis dot edu @ 2008-05-20 17:14 UTC (permalink / raw)
  To: gcc-bugs

When compiling a static lib to be linked against with visual studio 2008 I
needed to compile with -fno-leading-underscore (since vs2k8 expects symbol
names from c static libraries to be "symname" instead of "_symname" as it
currently exports).

Adding -fno-leading-underscore didn't make a difference, all symbols still had
a leading underscore.


-- 
           Summary: -fno-leading-underscore doesn't work
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jkolb at brandeis dot edu
GCC target triplet: x86_64-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36280


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/36280] -fno-leading-underscore doesn't work
  2008-05-20 17:14 [Bug c/36280] New: -fno-leading-underscore doesn't work jkolb at brandeis dot edu
@ 2008-05-20 17:15 ` jkolb at brandeis dot edu
  2008-05-21 19:32 ` [Bug target/36280] " ktietz at gcc dot gnu dot org
  2008-05-21 19:39 ` ktietz at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jkolb at brandeis dot edu @ 2008-05-20 17:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jkolb at brandeis dot edu  2008-05-20 17:14 -------
See https://sourceforge.net/forum/forum.php?thread_id=2044306&forum_id=723797
for more information.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36280


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/36280] -fno-leading-underscore doesn't work
  2008-05-20 17:14 [Bug c/36280] New: -fno-leading-underscore doesn't work jkolb at brandeis dot edu
  2008-05-20 17:15 ` [Bug c/36280] " jkolb at brandeis dot edu
@ 2008-05-21 19:32 ` ktietz at gcc dot gnu dot org
  2008-05-21 19:39 ` ktietz at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2008-05-21 19:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ktietz at gcc dot gnu dot org  2008-05-21 19:31 -------
In cygming.h the macro ASM_OUTPUT_LABELREF uses USER_LABEL_PREFIX, but should
use user_label_prefix to support -f(no-)leading-underscore.
I posted a patch for this bug to patch-gcc.

http://gcc.gnu.org/ml/gcc-patches/2008-05/msg01322.html


-- 

ktietz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ktietz at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-21 19:31:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36280


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/36280] -fno-leading-underscore doesn't work
  2008-05-20 17:14 [Bug c/36280] New: -fno-leading-underscore doesn't work jkolb at brandeis dot edu
  2008-05-20 17:15 ` [Bug c/36280] " jkolb at brandeis dot edu
  2008-05-21 19:32 ` [Bug target/36280] " ktietz at gcc dot gnu dot org
@ 2008-05-21 19:39 ` ktietz at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2008-05-21 19:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ktietz at gcc dot gnu dot org  2008-05-21 19:38 -------
Committed revision 135733.


-- 

ktietz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36280


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-21 19:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 17:14 [Bug c/36280] New: -fno-leading-underscore doesn't work jkolb at brandeis dot edu
2008-05-20 17:15 ` [Bug c/36280] " jkolb at brandeis dot edu
2008-05-21 19:32 ` [Bug target/36280] " ktietz at gcc dot gnu dot org
2008-05-21 19:39 ` ktietz at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).