* [parisc-linux] a question about HPUX's linker
@ 1999-06-11 7:10 Alex deVries
1999-06-11 7:39 ` Matthew Wilcox
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alex deVries @ 1999-06-11 7:10 UTC (permalink / raw)
To: parisc-linux
To help us get ahead, I'm trying to get the kernel to build properly
with HPUX, using HPUX's linker, and gcc.
Why does the final kernel link use --start-group ... --end-group?
What's the equivalent syntax for HPUX's ld?
I'm a bit short on docs in this area...
- Alex
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [parisc-linux] a question about HPUX's linker
1999-06-11 7:10 [parisc-linux] a question about HPUX's linker Alex deVries
@ 1999-06-11 7:39 ` Matthew Wilcox
1999-06-11 12:30 ` Alan Cox
1999-06-11 13:13 ` Marcus Thiessel
2 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 1999-06-11 7:39 UTC (permalink / raw)
To: Alex deVries; +Cc: parisc-linux
On Fri, Jun 11, 1999 at 03:10:50AM -0400, Alex deVries wrote:
>
> To help us get ahead, I'm trying to get the kernel to build properly
> with HPUX, using HPUX's linker, and gcc.
>
> Why does the final kernel link use --start-group ... --end-group?
>
> What's the equivalent syntax for HPUX's ld?
>
> I'm a bit short on docs in this area...
This is something which happened towards the later days of 2.1
development. It causes GNU ld to scan through the archives indicated
between --start-group and --end-group until no more symbols are resolved.
It is a GNU extension. I think _in general_ it's not necessary, but
there are a few corner cases where this is needed. Try taking it out,
tell us what errors you get.
Of course, this is all due to Linux's lame build scripts and they should
be replaced with something better. which I don't have time to work on, of
course :-)
--
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] a question about HPUX's linker
1999-06-11 7:10 [parisc-linux] a question about HPUX's linker Alex deVries
1999-06-11 7:39 ` Matthew Wilcox
@ 1999-06-11 12:30 ` Alan Cox
1999-06-11 13:13 ` Marcus Thiessel
2 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 1999-06-11 12:30 UTC (permalink / raw)
To: Alex deVries; +Cc: parisc-linux
> To help us get ahead, I'm trying to get the kernel to build properly
> with HPUX, using HPUX's linker, and gcc.
Ditto. You sorted head.S out ?
> Why does the final kernel link use --start-group ... --end-group?
To do looping resolution of symbols
> What's the equivalent syntax for HPUX's ld?
ld +n
(sort of, but sufficiently sort of)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] a question about HPUX's linker
1999-06-11 7:10 [parisc-linux] a question about HPUX's linker Alex deVries
1999-06-11 7:39 ` Matthew Wilcox
1999-06-11 12:30 ` Alan Cox
@ 1999-06-11 13:13 ` Marcus Thiessel
2 siblings, 0 replies; 4+ messages in thread
From: Marcus Thiessel @ 1999-06-11 13:13 UTC (permalink / raw)
To: parisc-linux
Alex deVries writes:
|
| What's the equivalent syntax for HPUX's ld?
|
| I'm a bit short on docs in this area...
|
The 'linker and library guide' is a little bit short on the advanced
stuff unfortunately.
--Marcus
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-06-11 13:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-11 7:10 [parisc-linux] a question about HPUX's linker Alex deVries
1999-06-11 7:39 ` Matthew Wilcox
1999-06-11 12:30 ` Alan Cox
1999-06-11 13:13 ` Marcus Thiessel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.