OpenQNX :: The QNX Community Portal

May 13, 2008 - 12:40 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 52 unlogged users and 2 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
amarnath
Post subject: Is make file need to be changed when we change the code  PostPosted: Apr 22, 2008 - 12:22 PM
Active Member


Joined: Apr 15, 2008
Posts: 10

Hi,

I didn't worked with QNX before.so i don't wether in QNX make file will be gerenated automaticaly or not.


suposse i have 2 projects
project1 with Function definition Ex "print ()";
project2 contains main( ) and Print () call.

when i run the project2 i am not getting required out.

should i need to change make file?
or need to include .exe ,then how to do
or any other way to do?


can any body please help me
thanks


regards
amarnath
 
 View user's profile Send private message  
Reply with quote Back to top
micro
Post subject: RE: Is make file need to be changed when we change the code  PostPosted: Apr 22, 2008 - 01:17 PM
Senior Member


Joined: Jul 22, 2004
Posts: 315

You wuold build project 1 as library and bind project 2 to the library.

Or you would merge them an have one big project ^^
 
 View user's profile Send private message  
Reply with quote Back to top
ysinitsky
Post subject: RE: Is make file need to be changed when we change the code  PostPosted: Apr 22, 2008 - 01:21 PM
Active Member


Joined: Dec 14, 2005
Posts: 34

Hello Amarnath,
Don’t change makefiles if it is a QNX project. Instead do the following:
1. Right click on project with main in C/C++ projects view
2. Select Properties
3. Select QNX C/C++ Project
4. Select Compiler
5. Select Extra Sources Paths
6. Add your project with Print ()

Thanks,
Yuriy
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.