[csw-maintainers] Help for newbie creating a new package

Jesse Reynolds jesse at opencsw.org
Wed Aug 3 11:17:07 CEST 2011


2011/8/3 Maciej Bliziński <maciej at opencsw.org>

> 2011/8/3 Jesse Reynolds <jesse at opencsw.org>:
> > EXTRA_CFLAGS = -xnorunpath
>
> This was under the assumption that it's a C (not C++) code.  To enable
> the same thing for C++ binaries, set:
>
> EXTRA_CXXFLAGS = -norunpath
>
> (I'm not sure if this is what the problem is, it's a guess that it's a
> C++ binary.)
>

Thanks. Alas now I get a syntax error on ld - doesn't like -xn...

/opt/SUNWspro/bin/CC -xO3 -m32 -xarch=v8 -xnorunpath -m32 -xarch=v8
-L/opt/csw/lib -o gperf version.o positions.o options.o keyword.o
keyword-list.o input.o bool-array.o hash-table.o search.o output.o main.o
../lib/libgp.a -lm
CC: Warning: Option -xnorunpath passed to ld, if ld is invoked, ignored
otherwise
/usr/ccs/bin/ld: illegal option -- x
/usr/ccs/bin/ld: illegal option -- n
ld: warning: option -o appears more than once, first setting taken
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?]
file(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20110803/1026ea27/attachment.html>


More information about the maintainers mailing list