• 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: "Chris Espinosa" <email@hidden>
  • Date: Tue, 18 Jul 2006 09:14:19 PDT

Or make the linker fast enough that it doesn't need a progress indicator.

Chris

--- Original Message ---
From: Cem Karan <email@hidden>
Sent: Tue 7/18/06 7:14 am
To: Chris Espinosa <email@hidden>
Cc: email@hidden
Subject: Re: Passing '-t' to the linker

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

  • Prev by Date: Re: [ANN] Xcode + Leopard at WWDC this year
  • Next by Date: Re: Catching C++ exceptions thrown from a framework
  • Previous by thread: Re: Passing '-t' to the linker
  • Next by thread: I'm not attending WWDC either, but I would certainly like to vote for incorporating the GCC Ada compiler into the Apple GCC 4.x distribution. The macada.org distribution is based on the GCC 3 sources, which makes it difficult to integrate with C/C++ libraries and apps built with the GCC 4.x compiler. Adding the Fortran compiler would be most excellent too. I realize there are alternatives here too, like the HPC project on SourceForge, NAG, Absoft, and Intel. However, having the GCC f95 integrated into the standard Apple distribution would be extremely useful.
  • Index(es):
    • Date
    • Thread