#495: [TODO] remove hardcoded path from installable pbc_to_exe
---------------------+------------------------------------------------------
Reporter: allison | Type: todo
Status: new | Priority: normal
Milestone: | Component: install
Version: | Severity: medium
Keywords: | Lang:
Patch: | Platform:
---------------------+------------------------------------------------------
Comment(by allison):
Fixed the hardcoded path in r39993 and r39995, which resolves the original
bug report. But, once that's out of the way, gerd is right that there's an
additional linking problem.
{{{
cc -o pynie pynie.o
/home/allison/tcltmp/snark/parrot-1.3.0/src/parrot_config.o
-Wl,-rpath=/home/allison/tcltmp/snark/parrot-1.3.0/blib/lib
-L/home/allison/tcltmp/snark/parrot-1.3.0/blib/lib -lparrot -Wl,-E
-L/usr/local/lib -Wl,-E -ldl -lm -lpthread -lcrypt
}}}
'snark' here is the build path ('boojum' was the install path). The paths
for -rpath and -L (for -lparrot) can be fixed by using the configuration
values 'rpath_lib' instead of 'rpath_blib' and 'inst_libparrot_linkflags'
instead of 'libparrot_linkflags' when the 'installed' configuration value
is true.
For the other part, installing parrot_config.o (or install_config.o) is a
better solution than including it in installable_libparrot.so.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/495#comment:9>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets