Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Print full paths of libraries used when linking?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dspfun  
View profile  
 More options Jan 23, 9:59 am
Newsgroups: gnu.gcc.help
From: dspfun <dsp...@hotmail.com>
Date: Mon, 23 Jan 2012 06:59:59 -0800 (PST)
Local: Mon, Jan 23 2012 9:59 am
Subject: Print full paths of libraries used when linking?
Hi!

Is it possible to print the full paths of libraries that is used
during linking? I am using the cross compiler "powerpc-e500-linux-gnu-
gcc".

Instead of  "-lc" "-lgcc" "-lmy_lib" etc. I would like to see the full
paths.

Brs,
Markus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter  
View profile  
 More options Feb 10, 8:19 am
Newsgroups: gnu.gcc.help
From: Peter <cmk...@hotmail.com>
Date: Fri, 10 Feb 2012 05:19:21 -0800 (PST)
Local: Fri, Feb 10 2012 8:19 am
Subject: Re: Print full paths of libraries used when linking?
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicolai Stange  
View profile  
 More options Mar 18, 7:49 am
Newsgroups: gnu.gcc.help
From: Nicolai Stange <nicolai.sta...@zmaw.de>
Date: Sun, 18 Mar 2012 12:49:07 +0100
Local: Sun, Mar 18 2012 7:49 am
Subject: Re: Print full paths of libraries used when linking?
Hi,

you can use `gcc -v' when linking. This will print the command lines of
all commands involved in compilation/linking to stderr.

Since in the end, linking is just handed over to ld, you'll have to collect
the information together by hand (by looking at the -L and -l flags
gcc passes to collect2 which in turn invokes ld).

If your gcc is configured to use GNU ld (which may not be the case), you
can pass it the `-t' flag (see `man ld'):
gcc -Wl,-t ...

Best,

Nicolai


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »