public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/17748] New: libgfortran contains undefined references to _environ
@ 2004-09-30 13:42 peter at pogma dot com
  2004-09-30 13:43 ` [Bug libfortran/17748] " peter at pogma dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: peter at pogma dot com @ 2004-09-30 13:42 UTC (permalink / raw)
  To: gcc-bugs

libgfortran references environ which is not available to shared libraries directly on darwin. This means 
that we can not build fortran shared libraries without undefined symbols.

The solution is to use crt_externs.h and #define environ (*_NSGetEnviron()) in libgfortran/runtime/
environ.c.

-- 
           Summary: libgfortran contains undefined references to _environ
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peter at pogma dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin
  GCC host triplet: powerpc-apple-darwin
GCC target triplet: powerpc-apple-darwin


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


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

end of thread, other threads:[~2005-02-28 13:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 13:42 [Bug libfortran/17748] New: libgfortran contains undefined references to _environ peter at pogma dot com
2004-09-30 13:43 ` [Bug libfortran/17748] " peter at pogma dot com
2004-09-30 13:55 ` pinskia at gcc dot gnu dot org
2004-09-30 14:04 ` peter at pogma dot com
2004-09-30 14:12 ` pinskia at gcc dot gnu dot org
2004-10-14 14:26 ` pinskia at gcc dot gnu dot org
2004-10-15 13:04 ` peter at pogma dot com
2004-10-27 14:50 ` pinskia at gcc dot gnu dot org
2005-02-27  6:53 ` cvs-commit at gcc dot gnu dot org
2005-02-28 15:10 ` cvs-commit at gcc dot gnu dot org
2005-02-28 19:24 ` pinskia 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).