On Fri, Aug 13, 2010 at 2:47 AM, Elias Pipping
<[email protected]> wrote:
> pipp...@bogus ~/build $ ./bin/package only make ast-ksh
> CCFLAGS='-march=core2 -pipe -O2' SHELL=/bin/sh

I have to assume CCFLAGS are overridden at some point when they should
be appended to, so that -fPIC gets lost. So I went back and redid
everything without specifying custom CCFLAGS:

pipp...@bogus ~/build_no_ccflags $ tar xf ~/Downloads/ast-base.2010-08-11.tgz
pipp...@bogus ~/build_no_ccflags $ tar xf ~/Downloads/INIT.2010-08-11.tgz
pipp...@bogus ~/build_no_ccflags $ ./bin/package only make ast-ksh SHELL=/bin/sh

That works, even though I still get this weird directory:

pipp...@bogus ~/build_no_ccflags $ ls -l
./arch/linux.i386-64/src/cmd/ksh93/cc-O,-D_BLD_DLL,-fPIC
total 2012
-rw-r--r-- 1 pipping pipping 1192332 2010-08-13 03:00 libshell.a
-rwxr-xr-x 1 pipping pipping  749866 2010-08-13 03:00 libshell.so.1.1
-rw-r--r-- 1 pipping pipping   27437 2010-08-13 03:00 Makefile.mo
-rw-r--r-- 1 pipping pipping   76496 2010-08-13 03:00 Makefile.ms
-rw-r--r-- 1 pipping pipping      41 2010-08-13 03:00 shell.req
pipp...@bogus ~/build_no_ccflags $

Again, I'm attaching the corresponding make.out file.


Regards,

Elias Pipping

Attachment: make.out.1.xz
Description: application/xz

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to