[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit unable to run gcc -o

From: Henrik Sundberg <storangen_at_gmail.com>
Date: Sat, 31 May 2008 20:18:01 +0200

2008/5/31 stevens xiong <stevensxiong_at_gmail.com>:
> Hi
> I change the post-commit hook to compile the source code automatilly
> when checkin
> source code ,eg: in post-commit, add gcc -o foo foo.c. but gcc -o unable
> to run.
> Then i try other command (gcc -c foo.c) ,it is ok. would you please tell how
> to solve the probleam.

You'll need to specify full path for gcc. The hooks don't have an
environment set.
/$

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-31 20:18:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.