In article <AANLkTi=jkuorak30rhsjkxbo0eu9varqqo7+pzhc4...@mail.gmail.com>,
Fernan Bolando <fernanbola...@mailc.net> wrote:
>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
>...

8l requires it to be mentioned/presented in order, and once it
moves on from a library, requires still needed libraries to be repeatedly
mentioned/presented even if "the same library" was already mentioned
previously.  As per 8l "When scanning such libraries, the algorithm is
to scan each library repeatedly until no new undefined symbols are picked up,
then to start on the next library. Thus if library A needs B which
needs A again, it may be necessary to mention A explicitly so it will
be read a second time."  So your problem lib is probably having put
libf2c.a first.
-- 
Greg Comeau / 4.3.10.1 with C++0xisms now in beta!
Comeau C/C++ ONLINE ==>     http://www.comeaucomputing.com/tryitout
World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?

Reply via email to