How to modify all Makefiles in a source tree into linux environment


 
Thread Tools Search this Thread
Top Forums Programming How to modify all Makefiles in a source tree into linux environment
# 1  
Old 08-26-2009
Data How to modify all Makefiles in a source tree into linux environment

Hi Frndz,


I am new to the makefile generation.

I have a source code which contains makefiles in each sub-directories.
Previously we have used the entire source code in Dtbuild environment to get the executables. Now have to change the current Dtbuild environment to Linux build environment. the make file has to be altered to suite the Linux environment. Please let me know the modifications that I need to follow to do this.

Please let me know how to find the main make file??

Thanks
Waiting for ur valuable reply.....
Rishi
# 2  
Old 08-31-2009
are you lucky ?

you may have a long way to go .... or not Smilie

1) without knowing any specific details about the software you want to build ,
all I can guarantee is that you have to look for the `configure' script in the top level of the source tree ;

- `cd' to that dir, and run `./configure' just to see what it does , and then try it with a "--help" option , to know it's alternatives ;

2) it may have been prepd for Linux ( in which case you're lucky ) ... otherwise you'll need to taylor it yourself ;

3) in order to "port" to Linux , you'll have to know the features of your package that are prone to compatibility issues , and - most importantly - you have to know Linux from the programmers standpoint ;

4) anyway , I recommend a look at The Linux Documentation Project for a start ;

good luck , and success !

alexandre botao
Alexandre V. R. Botao | Unix, C/C++, Shell, LDAP, SSL/TLS, SSH, Perl, Java, Python, Security, ...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

SQLLDR file not able to modify in Linux

Hi All I am trying to modifying SQLLDR file in Linux, I’m getting the below error "counterparty.sqlldr" E506: Can't write to backup file (add ! to override) Press ENTER or type command to continue Can someone help me resove this issue. Thank (1 Reply)
Discussion started by: na.dharma
1 Replies

2. UNIX for Dummies Questions & Answers

Help on ps tree listing command - Linux/Solaris

Hi all, Can any guru please help on how I can tweak the following ps command so that it only shows the lines that I wanted. $ command ps -HAcl -F S -A f F S UID PID PPID CLS PRI ADDR SZ WCHAN RSS PSR STIME TTY TIME CMD 4 S root 1 0 TS 24 - 2592 ? ... (3 Replies)
Discussion started by: newbie_01
3 Replies

3. UNIX for Dummies Questions & Answers

environment variables for compiling from source

Hello, I was trying to istall Gdkpixbuff 2.26.1 in my laptop ubuntu 11.10, when I did: ./configure and I got these error message *** 'pkg-config --modversion glib-2.0' returned 2.33.1, but GLIB (2.30.0) was found! If pkg-config was correct, then it is best *** to remove the old version of GLib.... (1 Reply)
Discussion started by: yifangt
1 Replies

4. UNIX for Dummies Questions & Answers

Linux kernel modules makefiles doubts

This query is regarding the makefiles of linux kernel modules. I saw at some sites on net it is suggesting to include the following path: KERNEL_SOURCE := /usr/src/linux... while at some places it is askibg to include /lib/modules path: KERNEL_SOURCE := /lib/modules/2.6.27-7-generic/build... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

5. Shell Programming and Scripting

Modify awk command to work in linux

Hi All I have the original file like '1','3','COMMON','N','djpCM3PopDimDateGen','JobDescription','1','ds','O','ONE' '1','3','COMMON','N','djpCM3PopDim1','JobDescription','2','ds','O','ONE' '1','3','COMMON','N','djpCM3PopDim2','JobDescription','3','ds','O','ONE'... (3 Replies)
Discussion started by: vee_789
3 Replies

6. Shell Programming and Scripting

Source environment variable in script

Hi, I construct a bash script to finish some tasks. One of the task is to set up some environment variables. There is already one script file to complete the environment variables setting work. I am not able to know the detail of how to set these variables. So, I may just need to call this... (4 Replies)
Discussion started by: gofortime
4 Replies

7. Programming

How to modify this c code to get full GUI interface for Unix Linux ?

Hi, the following code comes from Unix Linux dialog utility project. Unfortunately, this project is no more actively maintained. Unix Linux dialog utility is made of widget boxes. One of them is mixedgauge.c In the following example I would like to get rid of flickering when run in... (0 Replies)
Discussion started by: jack2
0 Replies

8. UNIX for Dummies Questions & Answers

how to set up linux environment variables?

Hi I'm using Linux, in the directory /root/my there is a.out. but when I try to run it , the shell indicate "bash:a.out: command not found" but I AM working in this directory. if I use "./a.out" , it works perfectly. can any body tell me how to do a permanent set up so that I can use... (5 Replies)
Discussion started by: dell9
5 Replies

9. UNIX for Dummies Questions & Answers

Modify semaphores parameters on Linux

Hello, I need to modify the semaphores parameters on a Linux server Debian 2.2.R3. How can I do it? Thks. (6 Replies)
Discussion started by: annececile
6 Replies
Login or Register to Ask a Question