9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Fernan Bolando <fernanbolando@mailc.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] 8l follows a precedence based on the commandline arrangement
Date: Mon, 28 Feb 2011 22:23:12 +0800	[thread overview]
Message-ID: <AANLkTi=JkUoRaK30rhSjKxbo0eU9varQqo7+pZhC4kVR@mail.gmail.com> (raw)

just curious is it normal for 8l to follow some sort of precendence
based on the commandline? this being done through ape/pcc

this is unable to build
8l -o spice -v /386/lib/ape/libf2c.a spice.8 unix.8 /386/lib/ape/libap.a

this was able to build
8l -o spice -v spice.8 unix.8 /386/lib/ape/libf2c.a /386/lib/ape/libap.a

the listing below is a longer snippet of what happend.
-------------------
Failed linking
8l -o spice -v /386/lib/ape/libf2c.a spice.8 unix.8 /386/lib/ape/libap.a
<snip>
 0.20 mkfwd
 0.20 patch
MAIN__: iargc_ is undefined
MAIN__: s_wsfe is undefined
MAIN__: e_wsfe is undefined
MAIN__: do_fio is undefined
MAIN__: s_stop is undefined
magphs_: r_imag is undefined
card_: d_sign is undefined
getlin_: s_rsfe is undefined
getlin_: e_rsfe is undefined
disto_: r_cnjg is undefined
disto_: d_lg10 is undefined
_main: main is undefined
 0.21 follow
 0.22 dodata
 0.23 span
 0.24 span 1
 0.24 span 2
 0.25 span 3
 0.25 span
 0.26 span 4
etext = 554fb
 0.26 asmb
 0.27 datblk
 0.28 sym
symsize = 155027
 0.28 sp
 0.28 pc
lcsize = 42324
 0.28 headr
sigsetjmp: xargc: not defined
sigsetjmp: xargv: not defined
 0.28 cpu time
5051 symbols
7500000 memory used
16 sizeof adr
60 sizeof prog
pcc: 8l: 8l 5466: error

successful link
8l -o spice -v spice.8 unix.8 /386/lib/ape/libf2c.a /386/lib/ape/libap.a
<snip>
0.24 mkfwd
 0.25 patch
 0.25 follow
 0.27 dodata
 0.27 span
 0.28 span 1
 0.29 span 2
 0.29 span 3
 0.30 span
 0.31 span 4
etext = 5c77e
 0.31 asmb
 0.34 datblk
 0.34 sym
symsize = 198845
 0.34 sp
 0.34 pc
lcsize = 46938
 0.34 headr
 0.35 cpu time
5236 symbols
10000000 memory used
16 sizeof adr
60 sizeof prog



             reply	other threads:[~2011-02-28 14:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 14:23 Fernan Bolando [this message]
2011-02-28 16:31 ` Charles Forsyth
2011-02-28 16:41   ` Rob Pike
2011-03-02  7:22     ` Ethan Grammatikidis
2011-03-02 13:28 ` Greg Comeau
2011-03-02 14:21   ` Charles Forsyth
2011-03-02 14:34     ` Charles Forsyth
2011-03-03  0:51   ` Fernan Bolando

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=JkUoRaK30rhSjKxbo0eU9varQqo7+pZhC4kVR@mail.gmail.com' \
    --to=fernanbolando@mailc.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).