• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Passing '-t' to the linker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing '-t' to the linker


  • Subject: Re: Passing '-t' to the linker
  • From: Cem Karan <email@hidden>
  • Date: Tue, 18 Jul 2006 11:12:07 -0400

My project has a lot of files in it, and linking takes a fairly long time. I'm not bothered by this, but I'd like to know more or less where I am in the linking process, just so I can tell if I have time to go get another cup of coffee or not. The man pages for ld say that the '-t' option will allow you to trace where the linker is at in its process, but when I pass that in (via the Other Linker Flags option), I don't get anything back. Am I doing something wrong? Is there a better way that I'm not seeing?

The -t output should be in the full build transcript. But the way that the build transcript is piped it's not going to do wha tyou want, that is, spit out line by line what the linker progress is. It' more a diagnostic dump of linker input and state, not a progress indicator (I've never been sure why it's -t instead of -v).


Chris

Thanks Chris. As always, you're right. After I sent that message off (and went for another cup of coffee) I came back and found the ld output sitting there waiting for me. I've experimented since then, and it behaves like you say; it dumps the output at the very end, so I can't use it as a progress indicator.


<pure wishful thinking>

I guess when I write my own compiler/linker/IDE/etc. I'll have to think about that and put progress messages into the linker.

</pure wishful thinking>

Thanks,
Cem Karan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Passing '-t' to the linker (From: Cem Karan <email@hidden>)
 >Re: Passing '-t' to the linker (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: [ANN] Xcode + Leopard at WWDC this year
  • Next by Date: How do you use XCode?
  • Previous by thread: Re: Passing '-t' to the linker
  • Next by thread: Re: Passing '-t' to the linker
  • Index(es):
    • Date
    • Thread