Re: Help needed in adding a library function in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I tried configuring gcc with these options :
 --with-stage1-libs=-ldump --with-boot-libs=-ldump
I have copied libdump.a in /usr/local/lib.

But it is still giving the same error.
Do I need to modify Makefile? Are there any other options to be set during configure?

Regards,
Swati

On 10/08/2011 06:58 AM, Jonathan Wakely wrote:
On 8 October 2011 21:24, Swati wrote:
Now during make, in stage1, it fails at i686-pc-linux-gnu/libgomp.
It gives error : C compiler cannot create executables

When I check config.log, it is unable to find reference to the function
dummy.

Could you please tell me the right way of adding a library in gcc?
Also where all do I have to modify, so that all the functions in gcc can
access the library?
You probably want to use something like --with-stage1-ldflags and
--with-boot-ldflags at configure time, see
http://gcc.gnu.org/install/configure.html



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux