Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[HOWTO] add a C file to get archived in libparrot.a

1 view
Skip to first unread message

Karl Forner

unread,
Oct 19, 2006, 7:11:49 PM10/19/06
to Internals List
Hi,

I've added one C src file, say src/foo.c, and include/parrot/foo.h, and a
test in t/src/foo.t.
I've changed the MANIFEST file accordingly, but I can not manage to have my
foo.o file to be added in libparrot.a (after a make clean;perl Configure.pl
;make)

What did I miss ?

Thanks,
Karl

Jonathan Worthington

unread,
Oct 23, 2006, 10:13:02 AM10/23/06
to Karl Forner, Internals List
Not sure if you've solved this yet, but just a guess: did you try a
"make realclean"?

Jonathan

Karl Forner

unread,
Oct 24, 2006, 6:10:11 PM10/24/06
to Jonathan Worthington, Internals List


Yes, but that does not change anything. My file does not appear in the
Makefile (except for foo.h).
I have absolutely no clue of the process used to generate the list of C
files to be linked into the parrot interpreter.

Adam Thomason

unread,
Oct 25, 2006, 4:59:44 PM10/25/06
to Karl Forner, Internals List
Adding the file to the INTERP_O_FILES section in
config/gen/makefiles/root.in and re-running Configure should do the trick.

--AT

Karl Forner

unread,
Oct 30, 2006, 5:11:26 AM10/30/06
to Adam Thomason, Internals List
On 10/25/06, Adam Thomason <atho...@gmail.com> wrote:
>
> Adding the file to the INTERP_O_FILES section in
> config/gen/makefiles/root.in and re-running Configure should do the trick.
>
> --AT


Thanks a lot, it works !
Karl

0 new messages