../i686-pc-cygwin/bin/ld:AuthTest.o:1:
syntax error
collect2: ld returned 1 exit status
make: *** [Auth.exe] Error 1
make: Target `all' not remade because of errors.
Build complete for project Auth
--
Summary: file format not recognized; treating as linker script
Product:
--- Additional Comments From jeff at connectrf dot com 2005-01-06 15:33
---
(In reply to comment #1)
> This is not a gcc bug, either this is your bug and the .o file is not an
object file or this is a binutils bug.
Andrew, then perhaps you can explain why the exact same code compi
--- Additional Comments From jeff at connectrf dot com 2005-01-10 18:45
---
Andrew,
A view from the ld folks. They believe that the ld is failing due to the
-fpreprocessed switch not producing the .o file..
--- Additional Comments From nickc at redhat dot com 2005-01-10 17:57
--- Additional Comments From jeff at connectrf dot com 2005-01-11 17:44
---
Andrew,
What compiler option flag do I need to set for forward Declartions then? _M was
taking care of those errors however it is not producing the .o? Is there a
Crossrefrence of compiler options between MC
--- Additional Comments From jeff at connectrf dot com 2005-01-11 19:24
---
Andrew, let me try again. BTW I have looked at the man pages for both gcc and
ld, I must say they are clear as mud, but then most are.
If I take the defaults, in CDT, I receive the errors attached below. If I
--- Additional Comments From jeff at connectrf dot com 2005-01-11 20:03
---
Andrew,
If I take the exact same code, and compile it with VC++ it does not complain!
However, gcc the ONLY thing that has changed, will not compile code that works!
Why? Old wise one, must one rewrite entrie
--- Additional Comments From jeff at connectrf dot com 2005-01-11 20:23
---
Andrew,
You are sure hard to convince...
Where did the error go?
Full rebuild of configuration Release for project Auth
make -k clean all
rm -rf authtest.o authtestdlg.o stdafx.o
--- Additional Comments From jeff at connectrf dot com 2005-01-11 21:03
---
Well that makes sense..
Does anyone have an example of the compiler options to port from VC++ to GCC? A
nice Crossreference table would be just dandy.
--
What|Removed