Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » which is the right executable ?
which is the right executable ? [message #204486] Fri, 09 November 2007 05:33 Go to next message
Eclipse UserFriend
Hello,
I have imported a automake project and I'm have troubles with running in
in Eclipse. The build seems to be ok.

I realized that there are 3 different executables in the project:
- one in the build directory: myprog
- two in the build/.libs : myprog and lt-myprog

The lt-myprog is sometimes there and sometimes not. What is this file ?

If I run the build/.libs/myprog in a terminal or in Eclipse it can't
load my shared library

If I run in a terminal the build/myprog in works fine and loads the library

If I try to specify to Eclipse to run the build/myprog, Eclipse doesn't
recognize it as a binary. I checked the Binary Parsers in the Project
optins and I have Elf and HP-UX parser (Im on Linux).

So to sum up, I have one binary which works fine but is not recognizez
by Eclipse, the other one doesnt work but is recognized by Eclipse. The
3d misterious lt-... works but sometimes dissapears !

I really don't understand what's going on.

Thanks for your help,

Regards,
Tex
Re: which is the right executable ? [message #204493 is a reply to message #204486] Fri, 09 November 2007 07:57 Go to previous message
Eclipse UserFriend
Well,
I still don't know why there are several executables but now I managed
to execute the build/.libs/myprog. It seems that the program is being
linked to a loadable library during the compilation

Warning:
*** Warning: Linking the executable myprog against the loadable module

I set the path to this library in the run options and it works now.

But anyway, what are the other executables for ?

Regards,
Tex.


Tex Twil wrote:
> Hello,
> I have imported a automake project and I'm have troubles with running in
> in Eclipse. The build seems to be ok.
>
> I realized that there are 3 different executables in the project:
> - one in the build directory: myprog
> - two in the build/.libs : myprog and lt-myprog
>
> The lt-myprog is sometimes there and sometimes not. What is this file ?
>
> If I run the build/.libs/myprog in a terminal or in Eclipse it can't
> load my shared library
>
> If I run in a terminal the build/myprog in works fine and loads the library
>
> If I try to specify to Eclipse to run the build/myprog, Eclipse doesn't
> recognize it as a binary. I checked the Binary Parsers in the Project
> optins and I have Elf and HP-UX parser (Im on Linux).
>
> So to sum up, I have one binary which works fine but is not recognizez
> by Eclipse, the other one doesnt work but is recognized by Eclipse. The
> 3d misterious lt-... works but sometimes dissapears !
>
> I really don't understand what's going on.
>
> Thanks for your help,
>
> Regards,
> Tex
Previous Topic:cdt "tool settings" tab is not visible on win2k
Next Topic:indexer/content assist strangeness
Goto Forum:
  


Current Time: Thu May 29 03:48:51 EDT 2025

Powered by FUDForum. Page generated in 0.02557 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top