ROOTCINT error while the tcshell script starts

Hi
I have a tcshell script where I use a syntax like this:

#! /usr/local/bin/tcsh -f
pushd …/src
$ROOTSYS/bin/rootcint -v1 -f -Wno-deprecated AR.cxx -p -c …/inc/AR.h

When I run it:
source build_a.csh

ROOTCINT gives me this error :

Error: /usr/local/root/bin/rootcint: option -c must come directly after the output file

Why? :open_mouth:
How can I write my script? I think that the syntax is right because it runs on an old pc with scientific linux and now I have a new pc with ubuntu10.4

Cheers,
Philippe.

anyone has the better suggestion for this

Hi,

What do you mean? How is it still failing for you?

Philippe.