|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
followup to an old newbie question on cc1obj. what/where is it?I am trying to get GNUstep's GWorkspace running under Vista on a Mac Mini and have gotten stuck. I am trying to install it from source, and I can run ./configure, but make barfs.
I found this older thread which sounds a lot like what happened to me, as well as a partial reply: On Dec 28, 2007, at 11:02 AM, Steve Aby wrote: > A newbie question…..I am running GNUStep on Windows Vista after > running the Windows installers (gnustep-system-0.9.1-setup and > gnustep-core-0.9.1-setup) to install GNUStep. I try to compile a > simple C/Objective-C program from MinGw32 using the command ‘gcc > hello.m –o hello1 –l objc’ and get the message ‘gcc.exe: > installation problem, cannot exec `cc1obj': No such file or > directory’. The aforementioned file does exist in the following > directory: ‘C:\GNUstep\mingw\libexec\gcc\mingw32\3.4.5’. The > Windows PATH variable is set to ‘C:\GNUstep\mingw\bin;C:\GNUstep > \GNUstep\System\Tools’. I am a little new to this and wondering if > an environment variable needs to be set or modified differently > than what the installer did? Any insight would be greatly > appreciated. > ... [show rest of quote] and the reply was .... Are you using the mingw shell (The "Shell" link from the GNUstep Startup menu) or the CMD window? You should be using Shell. What does "echo $PATH" say from Shell? It shouldn't have anything to do with the PATH though, as long as gcc.exe is found, gcc should find everything else. Try also: gcc -print-prog-name=cc1obj It should print out the full path name to the compiler. If it just says "cc1obj", then something wrong. .. end of original reply Well, I tried "gcc -print-prog-name=cc1obj" and I got a "no such file or directory" message, so I guess something is wrong. The question is: what is wrong and how do I fix it? I am totally new to this GNU stuff on Windows (my Macs are using it of course). |
|
|
|
|
|
Re: followup to an old newbie question on cc1obj. what/where is it?On Aug 26, 2008, at 10:04 AM, dogstar wrote: > > gcc -print-prog-name=cc1obj > > It should print out the full path name to the compiler. If it just > says "cc1obj", then something wrong. > > .. end of original reply > > Well, I tried "gcc -print-prog-name=cc1obj" and I got a "no such > file or > directory" message, so I guess something is wrong. The question is: > what is > wrong and how do I fix it? > "no such file or directory" means that even gcc is not installed. So I'm not really sure how you can compile anything? What have you been able to do so far? _______________________________________________ Help-gnustep mailing list Help-gnustep@... http://lists.gnu.org/mailman/listinfo/help-gnustep |
|
|
Re: followup to an old newbie question on cc1obj. what/where is it?Sorry it took me a while to get back to you, I have been using the Win machine for its designed purpose, running Mac OS X. Yes, its an Intel Mini.
Anyhow, I am running MinGW (peachy) under Vista on this IntelMac. Not sure about the MSys thing, how would I know and how would I change it? I am grabbing it now from sourceforge and will try installing it a bit later this evening. I am pretty sure that I have somehow NOT installed gcc (or maybe just cc1obj) correctly, but I don't know what I did wrong. Can you point me at a site that will guide me through it? I know I have tried a couple of things, but I am worried that I have started on one path and then switched when things don't seem to be working. Wait, I see the cc1obj.exe. It is not in the same directory you described, but it is in c:/mingw/libexec/gcc/mingw32/3.4.5/cc1obj.exe. Now what? Is this a version problem? Do I need to set some sort of path to my cc1obj.exe? I know something about Unix installations, and a fair amount about Macs, but installing this sort of stuff on Windows is new to me. |
|
|
Re: followup to an old newbie question on cc1obj. what/where is it?OK, Let's go through this from the beginning to make sure I understand.
If you installed the GNUstep Window's installer (both gnustep-system and gnustep-core), then you should have a full MSYS/MingW system all set up correctly with gcc and everything. Go to the "Start" button and select: Programs -> GNUstep -> Shell This should open up something that looks like a terminal window with a yellow background. Typing gcc -v should give you useful information on what gvv version you are using (3.4.5). You also ought to be able to compile a simpe test program: --------- test.m --------- #import <objc/Object.h> int main() { id a = [Object new]; return 0; } ---------------------------- gcc -o test test.m -lobjc Does that work? BTW, I just released a new version of the Window's installer at http://www.gnustep.org/experience/Windows.html which supposedly works better with Vista, but I have no idea if it does or not. _______________________________________________ Help-gnustep mailing list Help-gnustep@... http://lists.gnu.org/mailman/listinfo/help-gnustep |
| Free embeddable forum powered by Nabble | Forum Help |