ar cmd long line argument failure in windows

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ar cmd long line argument failure in windows

christos.arvanitis

Hello to all,

 

I have I small trouble to build QL13 in windows with Eclipse CDT and Mingw compiler

The small trouble is the following:

All the object files are built ok but when the archiver ar  -r is called to archived the lib  I am getting a long line cmd failure in windows

Is there a way to overcome this trouble which is windows particular??? A particular option to use within Eclipse for the cmd prompt??

Thank you very much in advance for your help

 

Regards

 

Christos Arvanitis

 

Christos Arvanitis

Treasury Support Unit

Piraeus Bank Group

 

http://intranet/Documents/piraeus/diafimistikoyliko/Etairiko_Yliko/PB-LOGO-EN.jpg

 

 

25-29 Panepistimiou Str

3rd Floor

Athens, GR 105 64

 

Tel.: +30 210 3288678

Fax: +30 210 3335802

Email : [hidden email]

Adress:  www.piraeusbankgroup.com 

 

think_Green_en

 

 


MESSAGE CONFIDENTIALITY AND SECURITY NOTICE

=========================================

This message and/or its attachments may contain confidential and privileged information and is intended for the named person or entity to which it is addressed. Any use, copying or distribution of this information by anyone other than the intended recipient(s) is prohibited by law. If you receive this in error, please immediately delete it from your system and notify the sender.

The contents of this message contain personal opinions of the sender, which are not the official views of Piraeus Bank nor do they consist a provision of financial or advisory services unless expressly stated otherwise. This message is not a solicitation and/or an offer or acceptance of any proposal in relation to any contract or transaction unless expressly otherwise indicated in the message itself.

The Internet is not a secure or error-free environment, and Piraeus Bank does not accept liability for any loss or damage arising from the use of this message or from delayed, intercepted, corrupted or virus-infected e-mail transmission.

 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

ar cmd long line argument failure in windows

christos.arvanitis

 

This is a repost

 

Hello to all,

 

I have I small trouble to build QL13 in windows with Eclipse CDT and Mingw compiler

The small trouble is the following:

All the object files are built ok but when the archiver ar  -r is called to archived the lib  I am getting a long line cmd failure in windows

Is there a way to overcome this trouble which is windows particular??? A particular option to use within Eclipse for the cmd prompt??

Thank you very much in advance for your help

 

Regards

 

Christos Arvanitis

 

 

Christos Arvanitis

 

 

 


MESSAGE CONFIDENTIALITY AND SECURITY NOTICE

=========================================

This message and/or its attachments may contain confidential and privileged information and is intended for the named person or entity to which it is addressed. Any use, copying or distribution of this information by anyone other than the intended recipient(s) is prohibited by law. If you receive this in error, please immediately delete it from your system and notify the sender.

The contents of this message contain personal opinions of the sender, which are not the official views of Piraeus Bank nor do they consist a provision of financial or advisory services unless expressly stated otherwise. This message is not a solicitation and/or an offer or acceptance of any proposal in relation to any contract or transaction unless expressly otherwise indicated in the message itself.

The Internet is not a secure or error-free environment, and Piraeus Bank does not accept liability for any loss or damage arising from the use of this message or from delayed, intercepted, corrupted or virus-infected e-mail transmission.

 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: ar cmd long line argument failure in windows

Luigi Ballabio
In reply to this post by christos.arvanitis
What is the error?


On Mon, Feb 3, 2014 at 5:17 PM, <[hidden email]> wrote:

Hello to all,

 

I have I small trouble to build QL13 in windows with Eclipse CDT and Mingw compiler

The small trouble is the following:

All the object files are built ok but when the archiver ar  -r is called to archived the lib  I am getting a long line cmd failure in windows

Is there a way to overcome this trouble which is windows particular??? A particular option to use within Eclipse for the cmd prompt??

Thank you very much in advance for your help

 

Regards

 

Christos Arvanitis

 

Christos Arvanitis

Treasury Support Unit

Piraeus Bank Group

 

http://intranet/Documents/piraeus/diafimistikoyliko/Etairiko_Yliko/PB-LOGO-EN.jpg

 

 

25-29 Panepistimiou Str

3rd Floor

Athens, GR 105 64

 

Tel.: +30 210 3288678

Fax: +30 210 3335802

Email : [hidden email]

Adress:  www.piraeusbankgroup.com 

 

think_Green_en

 

 


MESSAGE CONFIDENTIALITY AND SECURITY NOTICE

=========================================

This message and/or its attachments may contain confidential and privileged information and is intended for the named person or entity to which it is addressed. Any use, copying or distribution of this information by anyone other than the intended recipient(s) is prohibited by law. If you receive this in error, please immediately delete it from your system and notify the sender.

The contents of this message contain personal opinions of the sender, which are not the official views of Piraeus Bank nor do they consist a provision of financial or advisory services unless expressly stated otherwise. This message is not a solicitation and/or an offer or acceptance of any proposal in relation to any contract or transaction unless expressly otherwise indicated in the message itself.

The Internet is not a secure or error-free environment, and Piraeus Bank does not accept liability for any loss or damage arising from the use of this message or from delayed, intercepted, corrupted or virus-infected e-mail transmission.

 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users




--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: ar cmd long line argument failure in windows

christos.arvanitis

Hi Luigi,

 

Tnks for your reply

 

I am getting the following build error in ECLIPSE: ar argument too long

This is probably related to troubles one has with very long arguments and deep paths in windows cmd

I don’t know how to solve this silly windows specific issue

Please note that I had no problems to build in LINUX ubutu

Any advice?

 

Tnks in advance for your help

CA

 

From: Luigi Ballabio [mailto:[hidden email]]
Sent: Wednesday, February 05, 2014 1:03 PM
To: Αρβανίτης Χρήστος
Cc: QuantLib users
Subject: Re: [Quantlib-users] ar cmd long line argument failure in windows

 

What is the error?

 

On Mon, Feb 3, 2014 at 5:17 PM, <[hidden email]> wrote:

Hello to all,

 

I have I small trouble to build QL13 in windows with Eclipse CDT and Mingw compiler

The small trouble is the following:

All the object files are built ok but when the archiver ar  -r is called to archived the lib  I am getting a long line cmd failure in windows

Is there a way to overcome this trouble which is windows particular??? A particular option to use within Eclipse for the cmd prompt??

Thank you very much in advance for your help

 

Regards

 

Christos Arvanitis

 

Christos Arvanitis

Treasury Support Unit

Piraeus Bank Group

 

http://intranet/Documents/piraeus/diafimistikoyliko/Etairiko_Yliko/PB-LOGO-EN.jpg

 

 

25-29 Panepistimiou Str

3rd Floor

Athens, GR 105 64

 

Tel.: +30 210 3288678

Fax: +30 210 3335802

Email : [hidden email]

Adress:  www.piraeusbankgroup.com 

 

think_Green_en

 

 

 

MESSAGE CONFIDENTIALITY AND SECURITY NOTICE

=========================================

This message and/or its attachments may contain confidential and privileged information and is intended for the named person or entity to which it is addressed. Any use, copying or distribution of this information by anyone other than the intended recipient(s) is prohibited by law. If you receive this in error, please immediately delete it from your system and notify the sender.

The contents of this message contain personal opinions of the sender, which are not the official views of Piraeus Bank nor do they consist a provision of financial or advisory services unless expressly stated otherwise. This message is not a solicitation and/or an offer or acceptance of any proposal in relation to any contract or transaction unless expressly otherwise indicated in the message itself.

The Internet is not a secure or error-free environment, and Piraeus Bank does not accept liability for any loss or damage arising from the use of this message or from delayed, intercepted, corrupted or virus-infected e-mail transmission.

 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



 

--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: ar cmd long line argument failure in windows

Luigi Ballabio
I don't have any experience with Eclipse, so I don't know if this is possible at all, but if the problem is too many arguments passed to ar, I'd try building smaller sub-libraries (for instance, one with all the stuff in ql/cashflows, one with the stuff in ql/currencies etc) and then merge the sublibraries together.

Luigi


On Wed, Feb 5, 2014 at 12:09 PM, <[hidden email]> wrote:

Hi Luigi,

 

Tnks for your reply

 

I am getting the following build error in ECLIPSE: ar argument too long

This is probably related to troubles one has with very long arguments and deep paths in windows cmd

I don’t know how to solve this silly windows specific issue

Please note that I had no problems to build in LINUX ubutu

Any advice?

 

Tnks in advance for your help

CA

 

From: Luigi Ballabio [mailto:[hidden email]]
Sent: Wednesday, February 05, 2014 1:03 PM
To: Αρβανίτης Χρήστος
Cc: QuantLib users
Subject: Re: [Quantlib-users] ar cmd long line argument failure in windows

 

What is the error?

 

On Mon, Feb 3, 2014 at 5:17 PM, <[hidden email]> wrote:

Hello to all,

 

I have I small trouble to build QL13 in windows with Eclipse CDT and Mingw compiler

The small trouble is the following:

All the object files are built ok but when the archiver ar  -r is called to archived the lib  I am getting a long line cmd failure in windows

Is there a way to overcome this trouble which is windows particular??? A particular option to use within Eclipse for the cmd prompt??

Thank you very much in advance for your help

 

Regards

 

Christos Arvanitis

 

Christos Arvanitis

Treasury Support Unit

Piraeus Bank Group

 

http://intranet/Documents/piraeus/diafimistikoyliko/Etairiko_Yliko/PB-LOGO-EN.jpg

 

 

25-29 Panepistimiou Str

3rd Floor

Athens, GR 105 64

 

Tel.: +30 210 3288678

Fax: +30 210 3335802

Email : [hidden email]

Adress:  www.piraeusbankgroup.com 

 

think_Green_en

 

 

 

MESSAGE CONFIDENTIALITY AND SECURITY NOTICE

=========================================

This message and/or its attachments may contain confidential and privileged information and is intended for the named person or entity to which it is addressed. Any use, copying or distribution of this information by anyone other than the intended recipient(s) is prohibited by law. If you receive this in error, please immediately delete it from your system and notify the sender.

The contents of this message contain personal opinions of the sender, which are not the official views of Piraeus Bank nor do they consist a provision of financial or advisory services unless expressly stated otherwise. This message is not a solicitation and/or an offer or acceptance of any proposal in relation to any contract or transaction unless expressly otherwise indicated in the message itself.

The Internet is not a secure or error-free environment, and Piraeus Bank does not accept liability for any loss or damage arising from the use of this message or from delayed, intercepted, corrupted or virus-infected e-mail transmission.

 


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users



 

--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>




--
<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users