This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

New GCC available for testing (TRY 3) -- fixes -mno-cygwin problem


>> Come on!  What does "fails" mean???  I am not psychic.

You are correct, my mistake and apologies I seem to have missed a beat a 
forgot to include some diagnostics - command line is as follows:
c++ -c -mno-cygwin hello.cc
c++ -o hello -mno-cygwin hello.o

Program is as follows:

#include <iostream>
int main() {
        cout << "Hello world!" <<endl;
        return 0;
}

Output is as follows (at least the last screen I was able to see:

/Usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x5
d1):iovfscanf.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x8
5c):iovfscanf.c: undefined reference to `_imp___ctype_'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(iovfscanf.o)(.text+0x8
b4):iovfscanf.c: more undefined references to `_imp___ctype_' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x194
):fileops.c: undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x206
):fileops.c: undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x261
):fileops.c: undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x390
):fileops.c: undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x459
):fileops.c: undefined reference to `__errno'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(fileops.o)(.text+0x5b1
):fileops.c: more undefined references to `__errno' follow
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(floatconv.o)(.text+0x1
273):floatconv.c: undefined reference to `__infinity'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libstdc++.a(floatconv.o)(.text+0x1
3cd):floatconv.c: undefined reference to `__errno'
collect2: ld returned 1 exit status

Now as I said in one of my other messages - this may be the way it was 
intended to work because if I replace:

c++ -o hello -mno-cygwin hello.o
with
c++ -o hello -mno-cygwin -L/usr/lib/gcc-lib/i386-mingw32/2.95.2 hello.o

the errors above do not occur and I get an executable program, which as I 
said I believe is understandable.

>> Btw, I am not interested in any other specs files than the one that I
>> released.

Kind of figured that out which is why my last few attempts have been 
limited to your most recent specs file, although since some of what you 
did (I thought was based on some input from Dale) I thought his specs 
file might give a little insight and make it work.  Someone as ignorant 
as myself and a non C/C++ developer that is only trying to learn had no 
business trying to help in providing input in this anyways.

My apologies and I will bow out now and let the gurus have at it.

Brian




This e-mail contains privileged and confidential information solely for the use of the addressee.  If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of the message and its content is strictly prohibited.  If you have received this message in error, please notify use immediately by telephone or e-mail.  
Mailto:Administrator@FultonPaper.com 

Thank you.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]