Find the answer to your Linux question:
Results 1 to 2 of 2
Hi guys, I'm an experienced C++ programmer but new to the unix paradigm. I've just set-up a cross-compile solution in windows using Eclipse and CodeSorcery's GNU compiler so that I ...
  1. #1
    Just Joined!
    Join Date
    Oct 2011
    Posts
    3

    Cross-Compile with Eclipse Advice for new user

    Hi guys,

    I'm an experienced C++ programmer but new to the unix paradigm.

    I've just set-up a cross-compile solution in windows using Eclipse and CodeSorcery's GNU compiler so that I can code for a small ARM device that will be running a currently unknown distro of linux.

    My question is, if I were to attempt to compile a program that had various prerequisite libraries, how would I go about including them in my project? (I'm new to the linux library system and eclipse). For example I'm unclear on if/how to statically link them, if they're dynamically linked, is it just that I need them to be present on the distro in question etc.

    Sorry for being such a n00b!

    Many thanks

  2. #2
    Banned
    Join Date
    Nov 2011
    Posts
    13
    In project settings, in the build option. You have to specify the libraries required for linking.
    Last edited by oz; 11-22-2011 at 12:22 PM. Reason: spam removal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...