comp.lang.ada
 help / color / mirror / Atom feed
* ADAGide Linker Options
@ 2005-01-13 17:34 typhoon
  2005-01-13 18:08 ` Martin Krischik
  2005-01-13 20:24 ` Bernd Specht
  0 siblings, 2 replies; 5+ messages in thread
From: typhoon @ 2005-01-13 17:34 UTC (permalink / raw)


Hello everyone! Where I can find linker options in AdaGIDE? I need to
include link to an object file.

Thank you very much!




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

* Re: ADAGide Linker Options
  2005-01-13 17:34 ADAGide Linker Options typhoon
@ 2005-01-13 18:08 ` Martin Krischik
  2005-01-13 20:24 ` Bernd Specht
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Krischik @ 2005-01-13 18:08 UTC (permalink / raw)


typhoon wrote:

> Hello everyone! Where I can find linker options in AdaGIDE?

i.E.

   pragma Linker_Options ("-lpolyorb");
   pragma Linker_Options ("-lpolyorb-corba");

> I need to 
> include link to an object file.

Linker "Options" only alow for libraries. Object files are only added to the
commandline.

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



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

* Re: ADAGide Linker Options
  2005-01-13 17:34 ADAGide Linker Options typhoon
  2005-01-13 18:08 ` Martin Krischik
@ 2005-01-13 20:24 ` Bernd Specht
  2005-01-14  7:23   ` typhoon
  1 sibling, 1 reply; 5+ messages in thread
From: Bernd Specht @ 2005-01-13 20:24 UTC (permalink / raw)


"typhoon" <nardy@nospam.tin.it.> wrote in 
news:909d11823019b616cbea162684e546a6@localhost.talkaboutprogramming.com:

> Hello everyone! Where I can find linker options in AdaGIDE? I need to
> include link to an object file.
> 
> Thank you very much!
> 

There is no special entry for linker options. You should add them with the 
"-largs " in the gnatmake entry (tools -> gnat_options). 

What is this for an object file?



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

* Re: ADAGide Linker Options
  2005-01-13 20:24 ` Bernd Specht
@ 2005-01-14  7:23   ` typhoon
  2005-01-14  9:07     ` Martin Krischik
  0 siblings, 1 reply; 5+ messages in thread
From: typhoon @ 2005-01-14  7:23 UTC (permalink / raw)


I need to link a C object file for use C-functions (without use of pragma
Linker_Options)

Thank you for your answer!




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

* Re: ADAGide Linker Options
  2005-01-14  7:23   ` typhoon
@ 2005-01-14  9:07     ` Martin Krischik
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Krischik @ 2005-01-14  9:07 UTC (permalink / raw)


typhoon wrote:

> I need to link a C object file for use C-functions (without use of pragma
> Linker_Options)

Can you pack the C object into an .a or .lib file? Open -l on the
commandline should then work.

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com



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

end of thread, other threads:[~2005-01-14  9:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-13 17:34 ADAGide Linker Options typhoon
2005-01-13 18:08 ` Martin Krischik
2005-01-13 20:24 ` Bernd Specht
2005-01-14  7:23   ` typhoon
2005-01-14  9:07     ` Martin Krischik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox