Peter Osborne wrote:
>gcc -c -o TESTX test.c
>
>Produces:
>
>FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
> SIZE TYP EOF LIMIT R/B SECTORS #X MX
>
>TESTX 1B BA 839 2147483647 1 16 1 *
>
>Then I tried LISTOBJ OBJFILE=TESTX in Linkedit but it didn't like the file, as
>expected.
>
>Anyone know if I need to do something with ld to convert the file into
>something usable?
>
>
You can use the file as if you want to add it to an XL. Linkedit just
gives a warning in this case.
If you want to to LISTOBJ, you have to change the file code to NMOBJ
If you have MPEX, you can just say
ALTFILE TESTX;CODE=NMOBJ
Otherwise, you can do this
FILE TESTO;CODE=NMOBJ
COPY TESTX,*TESTO
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *