This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I think I didn't explain myself very well. I'd like to build a gcc that "knows" where its files are by looking at an arbitrary (specified at build time) environment variable. I think this is what Wind River do in the gcc that is deleivered with Tornado - it appears to use WIND_BASE.
The problem is that dirname(argv[0]) doesn't always work on Unix - depends how the program is started.
Can you give me an example of when it fails? - Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |