[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/641] file format not recognized; treating as linker script
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/641] file format not recognized; treating as linker script |
Date: |
6 Jan 2005 17:21:21 -0000 |
------- Additional Comments From nickc at redhat dot com 2005-01-06 17:21
-------
Hi Jeff,
I think that the problem is the command line that you are using to compile
your object files. For example:
g++ -O3 -Wall -fpreprocessed -M -v -oAuthTest.o ../AuthTest.cpp
This will create an *executable* file called "AuthTest.o" and not a object file.
Alternatively if the "-c" switch is being specified somewhere and it is just not
visible in the output you attached, then can you the AuthTest.o file ? How big
is it ? If you run "file" on it, what output do you get ?
Ideally in order to debug this problem we need a small test program and makefile
or list of commands.
Cheers
Nick
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sources.redhat.com/bugzilla/show_bug.cgi?id=641
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.