public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/5603: -fno-leading-underscore doen't work
@ 2002-03-24 18:12 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-03-24 18:12 UTC (permalink / raw)
  To: dimi, gcc-bugs, gcc-prs, nobody

Synopsis: -fno-leading-underscore doen't work

State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Sun Mar 24 18:12:46 2002
State-Changed-Why:
    As there is no attached test case, this is not a proper bug report.
    
    I suspect that you don't actually want to use -fno-leading-underscore,
    but it's hard to tell because you give no details.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5603


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

* Re: c/5603: -fno-leading-underscore doen't work
@ 2002-05-21 13:25 neil
  0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2002-05-21 13:25 UTC (permalink / raw)
  To: dimi, gcc-bugs, gcc-prs, nobody

Synopsis: -fno-leading-underscore doen't work

State-Changed-From-To: feedback->closed
State-Changed-By: neil
State-Changed-When: Tue May 21 13:25:51 2002
State-Changed-Why:
    No feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5603


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

* c/5603: -fno-leading-underscore doen't work
@ 2002-02-05 23:36 dimi
  0 siblings, 0 replies; 3+ messages in thread
From: dimi @ 2002-02-05 23:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5603
>Category:       c
>Synopsis:       -fno-leading-underscore doen't work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 05 23:36:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Acunia
>Release:        gcc 3.0.3
>Organization:
>Environment:
Cygwin setupversion 2.125.2.10
>Description:
I'm compiling a program under cygwin. I have .c and .s files (c and
assemble). During the linking I get the following errors:

/home/Administrator/open-wonka//build-x86-win/kernel/oswald/lib/liboswald.a(
cpu.o): In function `x_thread_switch':
/home/Administrator/open-wonka/kernel/oswald/hal/cpu/x86/src/cpu.c:36:
undefined reference to `x_host_switch'

I use the functions in my .c files but the declaration of the function is in the .s file.
While compiling gcc puts an underscore in front of the function, but in my
compiled .s files the function has NO leading underscore!

I tried to compile with -fno-leading-underscore but there is still a _ in my .o files. How do I solve this problem? How do I get rit of those underscores?
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-05-21 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-24 18:12 c/5603: -fno-leading-underscore doen't work rth
  -- strict thread matches above, loose matches on Subject: below --
2002-05-21 13:25 neil
2002-02-05 23:36 dimi

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).