- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to use makefile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 05:28 AM
тАО06-22-2004 05:28 AM
How to use makefile
I have to take some source files for Socks5 stuff and "compile" it (I guess) to be able to make it run on my IA64.
Any ideas or reference materials?
Thanks a lot!
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 05:51 AM
тАО06-22-2004 05:51 AM
Re: How to use makefile
Generally the source files come with a configure script that you would need to run and that will generate the Makefile. Then you run 'make' and|or 'make install' to compile the binaries and install them under appropriate directories.
To generate a makefile for yourself based on the source code in the current working directory, run the command 'mkmf'. Look the man page for more details. You may have to modify the generated Makefile for successful compilation.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 05:53 AM
тАО06-22-2004 05:53 AM
Re: How to use makefile
It depends, there should have been a Readme or INSTALL file included with that src. From my linux experience, usually the Makefile is a reference for the 'make' utility.
On linux, you generally install like this
# cd /mysource
# make test
# make install
But it varies , the person who made the sources decides, check for that README or INSTALL file , or tell us where you got the src ?
Good Luck,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 05:54 AM
тАО06-22-2004 05:54 AM
Re: How to use makefile
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 06:31 AM
тАО06-22-2004 06:31 AM
Re: How to use makefile
manpage of make is a good palce to start.
make utility helps you build applications which have several object files. The main use is that it rebuilds only those objects which have a source code change this reducing the build time etc.
makefile is the place where yu have all the rules defined to compile or build the objects.
There is a book by O'Reliy publication; the make utility, this is the best make reference material you will lay your hands on.
HTH
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 07:51 AM
тАО06-22-2004 07:51 AM
Re: How to use makefile
Thank you very much for your help.
Scott