compilation of firestarter-1.0.3.src.rpm for powrepc
Hi, I am working on ubuntu right now and it is quiet easy to install firestarter firewall on ubuntu thru GUI interafce but my requiremnet is to install firewall on target (powerpc 8560 ),so i have to compile firestarter source for target powerpc (montavista linux) and installed it on target. I have downloaded firestarter-1.0.3.tar & .src.rpm file both but not able to compile it for my target which is powerpc (8560) . Kindly help on these issues.....
1.How to compile source code for powerpc ( I have environment created for ppc compilation but do not know how to modify the configure file to change the compiler) because it is compiling firestarter source code with gcc compiler bydefault i. e for host. How can i change the compiler " CC "? 2.What will be the executable created to be installed on target after compilation ? 3.Is the cross compilation for target is possible? |
Welcome to LQ and the world of doing it yourself.
Cross compiling (e.g. compiling for a mac on an x86 box) is definitely lesson 2 or above, so if possible I would compile on the mac itself. Can you get gcc on to it? If possible, look for a package or a build script for the thing, and use that. Otherwise, the first lesson is on the configure script Quote:
look down for options that you want to change. I often use Quote:
Quote:
|
Thanks for the information ......My cross compilation is done but now the question is how do i installed it on powerpc target? i mean what will be the executable come out after compilation , to run on target ?Is there any changes need to be done in iptables on target kernel module?
|
one way to install is as follows:
mkdir /tmp/package make DESTDIR=/tmp/package install Then tar up /tmp/package, or let your system grow there & copy it later. |
All times are GMT -5. The time now is 08:26 PM. |