This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

test message


Problem with .S as assembly source: from xlc...
+++++++
 DESCRIPTION
         xlc and related commands compile C and C++ source files.
         They also process assembler source files and object files.
         The compiler calls the link editor to produce a single
         executable or shared library, unless you specify the
         compiler options that prevent object files from being
         linked.

         The input file may have any of the following suffixes:
          .C, .cpp, .cxx, .cc, .cp, .c++ = C++  source file
          .c = C source file
          .i = preprocessed C or C++ source file
          .a = archive file
          .o = object file for ld command
          .s = assembler source file
+++++++
        source='../src/powerpc/aix.S' object='src/powerpc/aix.lo' libtool=yes  DEPDIR=.deps depmode=aix /bin/sh ../depcomp  /bin/sh ./libtool    --mode=compile xlc_r -DHAVE_CONFIG_H -I. -I..   -I. -I../include -Iinclude -I../src  -I. -I../include -Iinclude -I../src -O2 -qlangval=extc99 -qasm=gcc -c -o src/powerpc/aix.lo ../src/powerpc/aix.S
libtool: compile:  xlc_r -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I. -I../include -Iinclude -I../src -O2 -qlangval=extc99 -qasm=gcc -c -M ../src/powerpc/aix.S  -DPIC -o src/powerpc/.libs/aix.o
xlc_r: 1501-218 file ../src/powerpc/aix.S contains an incorrect file suffix
+++++++
am__append_13 = src/powerpc/ffi_darwin.c src/powerpc/aix.s src/powerpc/aix_closure.s
+++++++
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0]cd test*
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0/testsuite]make
Target "all" is up to date.
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0/testsuite]cd ../man
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0/man]make
Target "all" is up to date.
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0/man]cd ../include
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0/include]make
Target "all" is up to date.
root@x103:[/data/prj/libffi-3.0.10/powerpc-ibm-aix5.3.0.0/include]cd ..
++++++
I have tried renamewing the .S.o and .S.lo Makefile rules, but it does not find the need to make aix.lo from aix.s (hardlinked to aix.S).

Suggestions welcome.

p.s. was also goinf to try running ./buildconf to see if that might help (i.e. autoconf and automake) but have not found a way to do that either.

Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]