I had created a makefile for my simple C application.
I am able to create object and library file through makefile sucessfully.
I had written a code snippet for executable file also, but somehow its not working.
Here is the code for executable in makefile:
How to get the executable from makefile?
Help me out please!!!!!!!!!!
Thanks in advance.
---------- Post updated at 05:16 AM ---------- Previous update was at 04:19 AM ----------
Here is my makefile:
Using this i am able to get object file and lib file.
What is the issue with my executable file in BIN folder?
I am not receiving any error, but my file is not gets created in BIN folder.
Please help me out.
Last edited by pludi; 04-07-2010 at 07:43 AM..
Reason: code tags, please!
Hi All,
I am facing a strange scenario. I upgraded my server version to new version of linux. After the when I create a directory it is created with . in the the permission . What is the reason and how to fix .
$ mkdir test
$ ls -l
total 0
drwxr-xr-x. 2 uk01 users 6 Dec 7 03:49 test
... (1 Reply)
Hi,
I would like to create an application with HTML front end in Unix.
I am working on enterprise Unix server, so I could not install any add ons or software in my machine. but still i have super user permissions. I can change the permissions as i wish. I have built a small application with... (1 Reply)
Hi All,
Can any one help how to long list today's files in unix.i.e files which are have been created today should be able to "ls -ltr" .I should be able to apply the "ls -ltr" command on today's files(should not include all the files which were there in the directory).
Thanks in advance!!! (3 Replies)
Hello,
I registered and recreated this thread because everywhere we can see "It's not possible to get the file creation time in UNIX fs". This is not true any more with Ext4! Unfortunately, there is not user-level tools that allow you to read those information. You have to use a low level tool... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Hi,
I had created makefile to compile and create .exe file.
but while executing makefile i am receiving following error
I can create obj and lib files but not able to create executeable file due to following error.
0711-317 Error: undefined symbol: .fn_error(......)
0711-345 use the... (2 Replies)
Hi,
can somebody please help me regarding this?
How can i print parent's PID from child's and vice versa.
I have tried with getpid() & ngetppid() function but it is not giving me the correct data. The logic i used is:
if (pid == 0)
{
getpid() : Chil'd PID
getppid():... (1 Reply)
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
i want to create a bootable iso dvd image of unix, i was thinking i openBSD but it can be another , what i need to now is how to make the image , what file to use directories to create and adictional software , can some1 help me with this, so that i can install a unix system that works. (2 Replies)