Hi again!

On Dec 8, 2007 2:39 PM, Philipp Marek <[EMAIL PROTECTED]> wrote:
> On Friday 07 December 2007 Alexander Skwar wrote:
> > Philipp Marek schrieb:
> > > You're using gcc, and it gets
> > >     CFLAGS:= ... -idirafter /opt/csw/apache2/include
> > > Why doesn't it find the files?
> > >
> > > What happens if you change all "-idirafter" to "-I"?
> >
> > Same problem :(
> Is there something like strace on that system?

Yes. There's "truss". You can find the man page at
<http://docs.sun.com/app/docs/doc/816-5165/truss-1>, or
at 
<http://www.freebsd.org/cgi/man.cgi?query=truss&apropos=0&sektion=0&manpath=SunOS+5.10&format=html>,
if the docs.sun.com is once again too slow...

> To see whether gcc actually
> looks?

I uploaded truss outputs. See:

- 582k 
<http://s3.amazonaws.com/public-files.askwar/fsvs/compile-fsvs-truss-with-forks.txt.bz2>
- 10MB 
<http://s3.amazonaws.com/public-files.askwar/fsvs/compile-fsvs-truss-with-forks.txt>
- 25k <http://s3.amazonaws.com/public-files.askwar/fsvs/compile-fsvs-truss.txt>

They are the results of running:

CC=/opt/csw/gcc4/bin/gcc CPP=/opt/csw/gcc4/bin/cpp \
 LDFLAGS="-L/opt/csw/lib -L/opt/csw/apache2/lib -L/opt/csw/lib/svn"  \
 CPPFLAGS="-I/opt/csw/include -I/opt/csw/apache2/include
-I/opt/csw/include/subversion-1" \
 PATH=/opt/csw/gcc4/bin:/opt/csw/gnu:/opt/csw/bin:$PATH \
 /usr/bin/truss -o ../compile-fsvs-truss.txt -ade \
 /opt/csw/gnu/make

and

CC=/opt/csw/gcc4/bin/gcc CPP=/opt/csw/gcc4/bin/cpp \
 LDFLAGS="-L/opt/csw/lib -L/opt/csw/apache2/lib -L/opt/csw/lib/svn"  \
 CPPFLAGS="-I/opt/csw/include -I/opt/csw/apache2/include
-I/opt/csw/include/subversion-1" \
 PATH=/opt/csw/gcc4/bin:/opt/csw/gnu:/opt/csw/bin:$PATH \
 /usr/bin/truss -o ../compile-fsvs-truss-with-forks.txt -adef \
 /opt/csw/gnu/make

Alexander

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to