public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* How add new lib in GCC
@ 2011-06-10 12:00 Harry Trinta
  2011-06-10 13:03 ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Trinta @ 2011-06-10 12:00 UTC (permalink / raw)
  To: gcc-help

Hi, guys. Help me, please.
I created a lib which I wanna use in gcc sources. But, I don't know
how build gcc with the new lib.
Where I need to declare the new lib?

thanks for your help,
Harry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How add new lib in GCC
  2011-06-10 12:00 How add new lib in GCC Harry Trinta
@ 2011-06-10 13:03 ` Jonathan Wakely
  2011-06-10 13:42   ` Harry Trinta
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2011-06-10 13:03 UTC (permalink / raw)
  To: Harry Trinta; +Cc: gcc-help

On 10 June 2011 07:48, Harry Trinta wrote:
> Hi, guys. Help me, please.
> I created a lib which I wanna use in gcc sources. But, I don't know
> how build gcc with the new lib.
> Where I need to declare the new lib?

Can you explain what you mean?

Are you trying to use the lib in your own program, or to link it into gcc?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How add new lib in GCC
  2011-06-10 13:03 ` Jonathan Wakely
@ 2011-06-10 13:42   ` Harry Trinta
  2011-06-10 23:57     ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Trinta @ 2011-06-10 13:42 UTC (permalink / raw)
  To: gcc-help

Into GCC.

I created a lib with some functions and i wanna use this functions in
the compilation process, ie into gcc.
The problem is GCC doesn't recognize it in the build.
So, i think is necessary declare the lib in any place (maybe in
makefile) but I'm not sure where.




2011/6/10 Jonathan Wakely <jwakely.gcc@gmail.com>:
> On 10 June 2011 07:48, Harry Trinta wrote:
>> Hi, guys. Help me, please.
>> I created a lib which I wanna use in gcc sources. But, I don't know
>> how build gcc with the new lib.
>> Where I need to declare the new lib?
>
> Can you explain what you mean?
>
> Are you trying to use the lib in your own program, or to link it into gcc?
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How add new lib in GCC
  2011-06-10 13:42   ` Harry Trinta
@ 2011-06-10 23:57     ` Jonathan Wakely
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2011-06-10 23:57 UTC (permalink / raw)
  To: Harry Trinta; +Cc: gcc-help

On 10 June 2011 13:00, Harry Trinta wrote:
> The problem is GCC doesn't recognize it in the build.
> So, i think is necessary declare the lib in any place (maybe in
> makefile) but I'm not sure where.

Try configuring with --with-boot-libs, see
http://gcc.gnu.org/install/configure.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-10 13:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 12:00 How add new lib in GCC Harry Trinta
2011-06-10 13:03 ` Jonathan Wakely
2011-06-10 13:42   ` Harry Trinta
2011-06-10 23:57     ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).