parrot-config.imc is able to extract config options from Parrot's
config and print it to stdout. This is e.g. useful for building
Parrot-based programs:
$ cc -Iinclude -c -Wall parrot_mem.c
$ c++ -o parrot_mem -Wall parrot_mem.o -Lblib/lib \
-lparrot `parrot parrot-config.imc libs linkflags` \
-licuuc -licudata
$ ./parrot_mem
sizeof Interp 252
...
But not all information is there or like the icu-libs a bit scattered.
So the goal is to either have the necessary items in config[1] or provide
some shortcuts in parrot-config.imc to combine all compile and link
settings so that we can e.g.
`./parrot parrot-config.imc --compile_cmd` -c foo.c
`./parrot parrot-config.imc --link_cmd` foo.o -o foo
or some such.
Thanks,
leo
[1] would also simplify Test.pm for source tests.