Re: libiberty and getopt

2004-04-29 Thread David Fritz
bertrand marquis wrote: Hi again, i just find the solution to my problem in fact it seems that adding: extern int optind; extern char *optarg; solve the problem. The compiler then auto-import these variables and it is working after. This problem doesn't seem to exist under linux but it co

Re: libiberty and getopt

2004-04-29 Thread bertrand marquis
Hi again, i just find the solution to my problem in fact it seems that adding: extern int optind; extern char *optarg; solve the problem. The compiler then auto-import these variables and it is working after. This problem doesn't seem to exist under linux but it could be a difference in ve