How to build program with specific order of linking?

  • From: "netbeansdummy" < >
  • To:
  • Subject: How to build program with specific order of linking?
  • Date: Sat, 21 Apr 2012 03:16:42 +0000

How to use NetBeans IDE to build my program with specific order of linking? 
For example

Code:
g++ -static -o myprogram a.o b.o c.o d.o e.o -la -lb -lc

,
versus 

Code:
g++ -static -o myprogram a.o b.o c.o d.o e.o -lb -la -lc

(change order of libraries), and

Code:
g++ -static -o myprogram c.o d.o e.o a.o b.o -la -lb -lc

(change order of object files).

Thank you!






How to build program with specific order of linking?

netbeansdummy 04/21/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close