Compiling/linking

Derek Atkins warlord at MIT.EDU
Wed Jan 31 13:24:57 EST 2007


cd src/backend/file
make
make install

Viola, you're now running with the new code.

(note that this only works if you ONLY change .c files.  If you
change header files you might need to recompile/reinstall from the
top level)

-derek

Quoting Andrew Wood <andrew at gn.apc.org>:

> Hi,
>
> This is going to sound like a very dumb question, so forgive me if it
> seems obvious but it isn't particularly transparent.
>
> Say I've built GNUCash and installed it with 'make install'. I then
> change some of the code in io-gncxml-v2.c .I then run make. This will
> recompile that file, and I presume the object file will be linked with
> other appropriate object files. Try as I might I can't see which other
> object files this is linked with and, more importantly, what the library
> or executable is called that is produced by the link process. What I
> want to do is, to replace the older version of the io-gncxml-v2.c code
> with my amended code (this is a patch isn't it?).
>
> Any suggestions or advice?
>
> Thanks,
>
> Andrew Wood, Oxford.
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list