'configure' problem

Till Straumann strauman at SLAC.Stanford.EDU
Fri Apr 4 04:51:25 UTC 2003

Here's one for you, Ralf:

Built powerpc-mvme2307 with my new toolchain on solaris
and it crashed. I tracked it down to improper
CFLAGS (CPU_CFLAGS is not set).

Here's what happens:

c/src/configure's first line calls for #!/bin/sh

eventually, 'configure' reads the pre-made

which looks like this (linebreaks added by stupid
message composer):

ac_cv_env_CPU_CFLAGS=${ac_cv_env_CPU_CFLAGS=-mcpu=604 -mmultiple mstring 
ac_cv_env_CFLAGS_PROFILE_V=${ac_cv_env_CFLAGS_PROFILE_V=-O1 }

However, solaris' /bin/sh executing 'configure' doesn't seem to grok the



configure complains but runs through (and the complaint went
undetected) but fails to build a correct Makefile
(i.e. it builds a Makefile but doesn't set CPU_CFLAGS).

Any ideas about what went wrong greatly appreciated

PS: I did 'bootstrap' on a different system than the
'configure/build/install' but I thought that should
be OK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c-src-configure.gz
Type: application/x-gzip
Size: 39050 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20030403/7fadbde3/attachment.bin>

More information about the users mailing list