On Tuesday, 27 בDecember 2005 14:02, yakouba abaya wrote:
> suppose i have : ABC.h , A.c , B.c , C.c
> is it possible to build all three source files to one object file ?
1. Yes it is possible -- read ld(1) documentation and search for
the -r (relocatable) option. Remember that gcc is us
On Tue, Dec 27, 2005 at 02:02:06PM +0200, yakouba abaya wrote:
> suppose i have : ABC.h , A.c , B.c , C.c
> is it possible to build all three source files to one object file ?
>
> gcc -c A.c | gcc -c B.c | gcc -c C.c
> gcc A.o B.o C.o -o ABC.o ???
Not without extensive trickery. Why
On Tue, 27 Dec 2005, yakouba abaya wrote:
> suppose i have :ABC.h , A.c , B.c , C.c
> is it possible to build all threesource files to one object file ?
yes - by building a library (static library or shared library).
for info:
http://users.actcom.co.il/~choo/lupg/tutorials/libraries/unix-c-
Orr Dunkelman wrote:
If I had known the answer, I would have answered... ;)
But you can always use Makefiles that should solve the proble,
-
well i do use makefile ( primitively ...) what i considered is :
makefile 1 :
app : A.o B.o C.o main.o ABC.h
gcc A.o A.o B.o C.o main.o -o app
A.o
suppose i have : ABC.h , A.c , B.c , C.c
is it possible to build all three source files to one object file ?
gcc -c A.c | gcc -c B.c | gcc -c C.c
gcc A.o B.o C.o -o ABC.o ???
inorder to do : gcc ABC.o app.c -o app
instead of : gcc A.o B.o C.o app.c -o app
On Mon, Oct 06, 2003 at 04:28:30PM +0200, Haim Cohen wrote:
> Hi,
>
> Does someone know a good source for kernel compilation and installation
> step by step ?
The README file at the top level of the kernel sources is
reasonable. There's also a kernel compilation HOWTO, but it's fairly
out of dat
Hi,
Does someone know a good source for kernel compilation and installation
step by step ?
I am trying to compile my own kernel, (2.4.22 - I did not go too far -
no source altering, just made few modifications to .config file).
However, I had few problems - when I made "make modules_insall" it w