Re: linking-in libs under linux needed and not under windows

2015-08-27 Thread BBasile via Digitalmars-d-learn
On Thursday, 27 August 2015 at 04:57:14 UTC, Adam D. Ruppe wrote: On Thursday, 27 August 2015 at 02:50:58 UTC, BBasile wrote: So the Q: Is this difference normal ? Yes, it is a feature the Windows format supports but the Linux one doesn't. On Linux, you need to list the libraries on the comm

Re: linking-in libs under linux needed and not under windows

2015-08-26 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 27 August 2015 at 02:50:58 UTC, BBasile wrote: So the Q: Is this difference normal ? Yes, it is a feature the Windows format supports but the Linux one doesn't. On Linux, you need to list the libraries on the command line again.

Re: linking-in libs under linux needed and not under windows

2015-08-26 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 27 August 2015 at 03:17:57 UTC, BBasile wrote: On Thursday, 27 August 2015 at 02:50:58 UTC, BBasile wrote: So the Q: Is this difference normal ? the win OMF & linux COFF "thing" maybe ? If I understand your problem description correctly, the culprit is likely the order in which

Re: linking-in libs under linux needed and not under windows

2015-08-26 Thread BBasile via Digitalmars-d-learn
On Thursday, 27 August 2015 at 02:50:58 UTC, BBasile wrote: So the Q: Is this difference normal ? the win OMF & linux COFF "thing" maybe ?

linking-in libs under linux needed and not under windows

2015-08-26 Thread BBasile via Digitalmars-d-learn
let's say i have 'libA', 'libB' and 'Project' - libB uses libA - Project uses libB under Windows (32 bit, OMF objects, Digital Mars linker, so the standard setup): - * libA is compiled with: dmd sourceA.d -lib * libB is compiled with: dmd sourceB.d -lib -I * Project is compiled wit