Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #64133

Re: OT - gcc for Windows not being recognized by Windows 7

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: OT - gcc for Windows not being recognized by Windows 7
Date 2015-06-25 12:35 -0400
Organization Self
Message-ID <558C2DB4.9080806@verizon.net> (permalink)
References (14 earlier) <mmeu66$h59$1@dont-email.me> <mmeuh9$ifs$1@dont-email.me> <mmf4a9$a7p$1@dont-email.me> <mmf61q$gv8$1@dont-email.me> <mmg5k4$flj$1@dont-email.me>

Show all headers | View raw


On 06/25/2015 02:05 AM, jacobnavia wrote:
> Le 24/06/2015 23:06, Richard Heathfield a écrit :
>> (Is it still the case that linkers can only pull library code out at an
>> object-file level? I don't know.)
> 
> My linker doesn't. I just pull all the object file since it is very 
> difficult to determine from the linker standpoint what is needed and 
> what is not.. A global symbol could be referenced from some function 
> pointer somewhere, then it could pull in other symbols etc.

That comment confuses me, being inconsistent with my understanding
(limited as it is) of how linkage works. If I write code like the following:

	void (*f)(void) = external_function;

I expect the object file to contain a record indicating that
external_function is a external reference that must be resolved. I
expect the linker to find that record, and search for an object module
in the provided libraries that contains a record indicating that it
provides an eternal definition for that function, and to load that
module (and only that module) from whichever library it's in. I expect
that object module to itself contain records listing any other external
symbols that external_function() itself connects to, and for the linker
to recursively track down those references too.

What am I misunderstanding about this process that makes it so difficult
that you prefer to pull all of the object files from a library? For the
typical program that I write, which uses only a few modules (directly or
indirectly) from each of several huge libraries, I'd expect your
linker's approach to make the resulting program dozens of times bigger
than it needed to be.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OT - gcc for Windows not being recognized by Windows 7 bilsch <bilsch01@gmail.com> - 2015-06-23 07:40 -0700
  Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-23 15:48 +0100
    Re: OT - gcc for Windows not being recognized by Windows 7 bilsch <bilsch01@gmail.com> - 2015-06-23 08:15 -0700
      Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-23 17:46 +0100
        Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-06-23 17:00 +0000
      Re: OT - gcc for Windows not being recognized by Windows 7 fir <profesor.fir@gmail.com> - 2015-07-05 01:55 -0700
    Re: OT - gcc for Windows not being recognized by Windows 7 Keith Thompson <kst-u@mib.org> - 2015-06-23 15:18 -0700
      Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 00:43 +0200
        Re: OT - gcc for Windows not being recognized by Windows 7 Tim Prince <tprince@computer.org> - 2015-06-23 18:54 -0400
          Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 09:56 +0200
            Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 09:34 +0100
              Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 09:58 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 11:21 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 11:27 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 13:41 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 13:14 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 14:24 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 13:37 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 16:32 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-06-24 13:33 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 16:34 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 13:25 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 19:03 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 19:28 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 19:52 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 19:57 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-24 21:36 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 22:06 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 jacobnavia <jacob@jacob.remcomp.fr> - 2015-06-25 08:05 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-25 10:11 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-06-25 03:25 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-25 12:49 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-06-25 13:21 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 James Kuyper <jameskuyper@verizon.net> - 2015-06-25 12:35 -0400
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 17:42 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 James Kuyper <jameskuyper@verizon.net> - 2015-06-25 13:09 -0400
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-25 18:31 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 James Kuyper <jameskuyper@verizon.net> - 2015-06-25 13:44 -0400
                Re: OT - gcc for Windows not being recognized by Windows 7 jacobnavia <jacob@jacob.remcomp.fr> - 2015-06-26 07:32 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-26 11:51 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-26 11:19 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 11:54 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-26 12:46 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-06-26 13:31 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-26 14:35 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 14:21 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-26 14:37 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 15:19 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Kleinecke <dkleinecke@gmail.com> - 2015-06-26 10:10 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 21:05 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-06-26 14:05 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 20:42 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-06-26 15:07 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 21:43 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-06-26 16:40 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-26 23:21 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-06-26 22:37 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-06-26 18:25 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Stephen Sprunk <stephen@sprunk.org> - 2015-06-26 15:14 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 jacobnavia <jacob@jacob.remcomp.fr> - 2015-06-26 15:30 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-26 14:38 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-06-25 21:27 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-26 11:54 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 jacobnavia <jacob@jacob.remcomp.fr> - 2015-06-26 07:30 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-06-25 17:48 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-06-25 14:59 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Kleinecke <dkleinecke@gmail.com> - 2015-06-25 08:10 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 fir <profesor.fir@gmail.com> - 2015-07-05 01:45 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 fir <profesor.fir@gmail.com> - 2015-07-05 06:35 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-07-05 06:47 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 15:34 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-07-05 11:20 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 17:50 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-07-05 10:29 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-07-05 12:49 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 19:19 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Martin Shobe <martin.shobe@yahoo.com> - 2015-07-05 14:22 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Geoff <geoff@invalid.invalid> - 2015-07-05 12:49 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-05 21:05 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-07-05 15:38 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 22:38 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 fir <profesor.fir@gmail.com> - 2015-07-05 17:18 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Keith Thompson <kst-u@mib.org> - 2015-07-05 18:23 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-07-06 02:43 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-06 10:27 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-07-06 20:13 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 "Charles Richmond" <numerist@aquaporin4.com> - 2015-07-07 15:18 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-07-07 13:31 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-07-07 21:16 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 fir <profesor.fir@gmail.com> - 2015-07-05 02:04 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 fir <profesor.fir@gmail.com> - 2015-07-05 01:33 -0700
              Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 13:35 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Heathfield <rjh@cpax.org.uk> - 2015-06-24 13:04 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 raltbos@xs4all.nl (Richard Bos) - 2015-07-03 17:36 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-03 19:22 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-03 23:37 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 00:58 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Ian Collins <ian-news@hotmail.com> - 2015-07-05 14:58 +1200
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 11:41 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 11:50 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-07-05 12:18 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-07-20 16:40 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-07-05 12:20 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-07-20 16:43 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-20 16:03 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-07-21 12:42 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Robert Wessel <robertwessel2@yahoo.com> - 2015-07-21 14:36 -0500
                Re: OT - gcc for Windows not being recognized by Windows 7 Geoff <geoff@invalid.invalid> - 2015-07-05 11:30 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 Melzzzzz <mel@zzzzz.com> - 2015-07-05 21:08 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 20:26 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-07-05 15:45 -0400
                Re: OT - gcc for Windows not being recognized by Windows 7 Melzzzzz <mel@zzzzz.com> - 2015-07-05 21:57 +0200
                Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-07-05 21:28 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-05 23:39 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-07-05 23:39 -0400
                Re: OT - gcc for Windows not being recognized by Windows 7 Bartc <bc@freeuk.com> - 2015-07-06 12:56 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-07-06 12:58 +0000
                Re: OT - gcc for Windows not being recognized by Windows 7 Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2015-07-06 09:55 -0400
                Re: OT - gcc for Windows not being recognized by Windows 7 Richard Kettlewell <rjk@greenend.org.uk> - 2015-07-06 16:26 +0100
                Re: OT - gcc for Windows not being recognized by Windows 7 Phil Carmody <pc+usenet@asdf.org> - 2015-07-08 19:55 +0300
                Re: OT - gcc for Windows not being recognized by Windows 7 Ian Collins <ian-news@hotmail.com> - 2015-07-06 10:39 +1200
                Re: OT - gcc for Windows not being recognized by Windows 7 luser droog <luser.droog@gmail.com> - 2015-07-05 20:30 -0700
                Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-07-20 16:28 +0200
        Re: OT - gcc for Windows not being recognized by Windows 7 raltbos@xs4all.nl (Richard Bos) - 2015-06-24 10:04 +0000
          Re: OT - gcc for Windows not being recognized by Windows 7 David Brown <david.brown@hesbynett.no> - 2015-06-24 13:42 +0200
      Re: OT - gcc for Windows not being recognized by Windows 7 Rosario19 <Ros@invalid.invalid> - 2015-06-24 09:22 +0200
  Re: OT - gcc for Windows not being recognized by Windows 7 "Chris M. Thomasson" <nospam@nospam.nospam> - 2015-07-05 11:56 -0700
    Re: OT - gcc for Windows not being recognized by Windows 7 Geoff <geoff@invalid.invalid> - 2015-07-05 12:52 -0700
      Re: OT - gcc for Windows not being recognized by Windows 7 gazelle@shell.xmission.com (Kenny McCormack) - 2015-07-05 20:40 +0000
  Re: OT - gcc for Windows not being recognized by Windows 7 Lőrinczy Zsigmond <zsiga@nospam.for.me> - 2015-07-21 12:47 +0200

csiph-web