public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: About object file (Little off topic)
       [not found] <1048937920.7176.ezmlm@gcc.gnu.org>
@ 2003-03-30  7:13 ` Joe Steeve
  0 siblings, 0 replies; 4+ messages in thread
From: Joe Steeve @ 2003-03-30  7:13 UTC (permalink / raw)
  To: gcc-help; +Cc: llewelly

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks,

- ->I don't know whether you can. I think that you can create a library
- ->though, using "ar"
Well, i found how to do it. you can combine multiple object files into one
object file using the linker ld.
supposing you have a.o and b.o
then the command line,
ld -r a.o b.o -o c.o
will combine a.o and b.o to c.o. All the three are in COFF format. I dont
want to use ar because the output file i need is not a library but a COFF
relocatable object.

Joe


- ----=====< BEGINNING OF ORIGINAL MESSAGE >=====----
- ->Message-ID: <3E8585BE.3060300@xgoat.com>
- ->Date: Sat, 29 Mar 2003 11:38:38 +0000
- ->From: Robert Spanton <rob@xgoat.com>
- ->Reply-To: rob@xgoat.com
- ->MIME-Version: 1.0
- ->To: gcc-help@gcc.gnu.org
- ->Subject: Re: About object file (Little off topic)
- ->Content-Type: text/plain; charset=us-ascii; format=flowed
- ->Content-Transfer-Encoding: 7bit
- ->
- ->I don't know whether you can. I think that you can create a library
- ->though, using "ar"
- ->
- ->Joe Steeve wrote:
- ->
- ->>-----BEGIN PGP SIGNED MESSAGE-----
- ->>Hash: SHA1
- ->>
- ->>Hello,
- ->>I need to get one object file (COFF) from a set of source files. how do
- ->i do
- ->>that? is there a way to merge a number of object files (COFF) into one
- ->COFF
- ->>object file which can inturn be linked with some other file finally.
- ->>
- ->>Joe
- ->>
- ->>
- ->>- --= Start of Signature =--
- ->>
- ->>"-Able was I eRe I saw elbA-"
- ->>
- ->>- --= End of Signature =--
- ->>
- ->>
- ->>
- ->>-----BEGIN PGP SIGNATURE-----
- ->>Version: Encrypted with PGP Plugin for Calypso
- ->>
- ->>iQA/AwUBPoT+ZGKVNakHzImXEQLahQCeMxpptcbJuIy4ihV8R9hQG2mW+Q0AoLnf
- ->>gurCSXO2EOYpjvDMERZ+SqEV
- ->>=cugh
- ->>-----END PGP SIGNATURE-----
- ->>
- ->>
- ->>
- ->>
- ----=====< END OF ORIGINAL MESSAGE >=====----



"Knowledge is no worth when it is not shared"


-----BEGIN PGP SIGNATURE-----
Version: Encrypted with PGP Plugin for Calypso

iQA/AwUBPoYpJ2KVNakHzImXEQIg8ACdFNAuKXif13+fqQpFnCYOWooh3CEAoMNV
OcXJD9/fMV7ls8tb58QzwgTb
=VlZX
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About object file (Little off topic)
  2003-03-29 11:38 Joe Steeve
  2003-03-29 19:00 ` Robert Spanton
@ 2003-03-30  4:48 ` LLeweLLyn Reese
  1 sibling, 0 replies; 4+ messages in thread
From: LLeweLLyn Reese @ 2003-03-30  4:48 UTC (permalink / raw)
  To: joe_steeve; +Cc: gcc-help

"Joe Steeve" <joe_steeve@gmx.net> writes:

> Hello,
> I need to get one object file (COFF) from a set of source files. how do i do
> that? is there a way to merge a number of object files (COFF) into one COFF
> object file which can inturn be linked with some other file finally.

Read aboout 'ar', the archiveing tool. On a gnu system, 'info ar'. On
    other unix systems, 'man ar'. On the web, see

http://sources.redhat.com/binutils/docs-2.12/binutils.info/ar.html#ar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About object file (Little off topic)
  2003-03-29 11:38 Joe Steeve
@ 2003-03-29 19:00 ` Robert Spanton
  2003-03-30  4:48 ` LLeweLLyn Reese
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Spanton @ 2003-03-29 19:00 UTC (permalink / raw)
  To: gcc-help

I don't know whether you can. I think that you can create a library 
though, using "ar"

Joe Steeve wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
>I need to get one object file (COFF) from a set of source files. how do i do
>that? is there a way to merge a number of object files (COFF) into one COFF
>object file which can inturn be linked with some other file finally.
>
>Joe
>
>
>- --= Start of Signature =--
>
>"-Able was I eRe I saw elbA-"
>
>- --= End of Signature =--
>
>
>
>-----BEGIN PGP SIGNATURE-----
>Version: Encrypted with PGP Plugin for Calypso
>
>iQA/AwUBPoT+ZGKVNakHzImXEQLahQCeMxpptcbJuIy4ihV8R9hQG2mW+Q0AoLnf
>gurCSXO2EOYpjvDMERZ+SqEV
>=cugh
>-----END PGP SIGNATURE-----
>
>
>  
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* About object file (Little off topic)
@ 2003-03-29 11:38 Joe Steeve
  2003-03-29 19:00 ` Robert Spanton
  2003-03-30  4:48 ` LLeweLLyn Reese
  0 siblings, 2 replies; 4+ messages in thread
From: Joe Steeve @ 2003-03-29 11:38 UTC (permalink / raw)
  To: gcc-help

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
I need to get one object file (COFF) from a set of source files. how do i do
that? is there a way to merge a number of object files (COFF) into one COFF
object file which can inturn be linked with some other file finally.

Joe


- --= Start of Signature =--

"-Able was I eRe I saw elbA-"

- --= End of Signature =--



-----BEGIN PGP SIGNATURE-----
Version: Encrypted with PGP Plugin for Calypso

iQA/AwUBPoT+ZGKVNakHzImXEQLahQCeMxpptcbJuIy4ihV8R9hQG2mW+Q0AoLnf
gurCSXO2EOYpjvDMERZ+SqEV
=cugh
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-30  4:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1048937920.7176.ezmlm@gcc.gnu.org>
2003-03-30  7:13 ` About object file (Little off topic) Joe Steeve
2003-03-29 11:38 Joe Steeve
2003-03-29 19:00 ` Robert Spanton
2003-03-30  4:48 ` LLeweLLyn Reese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).