Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #19064 > unrolled thread

Linking error while using Code::Blocks IDE

Started byvikramster@gmail.com
First post2012-10-18 23:31 -0700
Last post2012-10-19 21:21 +0200
Articles 6 — 4 participants

Back to article view | Back to comp.lang.c++


Contents

  Linking error while using Code::Blocks IDE vikramster@gmail.com - 2012-10-18 23:31 -0700
    Re: Linking error while using Code::Blocks IDE jacob navia <jacob@spamsink.net> - 2012-10-19 09:11 +0200
      Re: Linking error while using Code::Blocks IDE Rene Ivon Shamberger <arbolone@gmail.com> - 2012-10-19 05:21 -0700
        Re: Linking error while using Code::Blocks IDE jacob navia <jacob@spamsink.net> - 2012-10-19 14:33 +0200
    Re: Linking error while using Code::Blocks IDE Nobody <nobody@nowhere.com> - 2012-10-19 15:09 +0100
      Re: Linking error while using Code::Blocks IDE jacob navia <jacob@spamsink.net> - 2012-10-19 21:21 +0200

#19064 — Linking error while using Code::Blocks IDE

Fromvikramster@gmail.com
Date2012-10-18 23:31 -0700
SubjectLinking error while using Code::Blocks IDE
Message-ID<3b3fde52-9e5b-4e07-9bfa-60ae440851b7@googlegroups.com>
Hi,

I have recently set up Code::Blocks IDE with GNU C++ compiler. But seems like some setting is missing. Even if I write a simple "Hello World" application, I am getting following error:

-------------------------------------------------------
ln.exe: invalid option -- o
Try `ln.exe --help' for more information.
Process terminated with status 1 (0 minutes, 1 seconds)
--------------------------------------------------------

Any suggestions on how to resolve this, please?

[toc] | [next] | [standalone]


#19065

Fromjacob navia <jacob@spamsink.net>
Date2012-10-19 09:11 +0200
Message-ID<k5que9$n6p$3@speranza.aioe.org>
In reply to#19064
Le 19/10/12 08:31, vikramster@gmail.com a écrit :
> Hi,
>
> I have recently set up Code::Blocks IDE with GNU C++ compiler.

But seems like some setting is missing.

Even if I write a simple "Hello World" application, I am getting 
following error:
>
> -------------------------------------------------------
> ln.exe: invalid option -- o
> Try `ln.exe --help' for more information.
> Process terminated with status 1 (0 minutes, 1 seconds)
> --------------------------------------------------------
>
> Any suggestions on how to resolve this, please?
>
>

That software is SO full of bugs, that is completely unusable. I could 
never bring it to compile a hello world program, so I wish you good luck.

The way I solved that is to erase it from my hard drive and stop wasting 
time with it.

[toc] | [prev] | [next] | [standalone]


#19082

FromRene Ivon Shamberger <arbolone@gmail.com>
Date2012-10-19 05:21 -0700
Message-ID<b6d2f367-6f38-4dad-bb10-d5935a25838e@googlegroups.com>
In reply to#19065
I would have to disagree, I have been using Code::Blocks for a long time and I find it most efficient. I guess you could try Dev-C++ or the less impressive VC++ that is for free. However, I would think twice about the VC++.

On Friday, October 19, 2012 3:11:07 AM UTC-4, jacob navia wrote:
> Le 19/10/12 08:31, vikramster@gmail.com a écrit :
> 
> > Hi,
> 
> >
> 
> > I have recently set up Code::Blocks IDE with GNU C++ compiler.
> 
> 
> 
> But seems like some setting is missing.
> 
> 
> 
> Even if I write a simple "Hello World" application, I am getting 
> 
> following error:
> 
> >
> 
> > -------------------------------------------------------
> 
> > ln.exe: invalid option -- o
> 
> > Try `ln.exe --help' for more information.
> 
> > Process terminated with status 1 (0 minutes, 1 seconds)
> 
> > --------------------------------------------------------
> 
> >
> 
> > Any suggestions on how to resolve this, please?
> 
> >
> 
> >
> 
> 
> 
> That software is SO full of bugs, that is completely unusable. I could 
> 
> never bring it to compile a hello world program, so I wish you good luck.
> 
> 
> 
> The way I solved that is to erase it from my hard drive and stop wasting 
> 
> time with it.

[toc] | [prev] | [next] | [standalone]


#19083

Fromjacob navia <jacob@spamsink.net>
Date2012-10-19 14:33 +0200
Message-ID<k5rhab$68s$1@speranza.aioe.org>
In reply to#19082
Le 19/10/12 14:21, Rene Ivon Shamberger a écrit :
> I would have to disagree, I have been using Code::Blocks for a long time and I find it most efficient.

I guess you could try Dev-C++ or the less impressive VC++ that is for 
free. However, I would think twice about the VC++.
>

Well, you could have explained why that error appears if you find it OK.

Maybe it is "efficient" but if I can't bring it to compile a hello world
program after 15-30 minutes efforts I give up sorry.

"ln.exe" is possible the replica of ln under Unix. Why does it fail?
Why does the software use "ln" for making a simple C project?

How do you get rid of that error?

[toc] | [prev] | [next] | [standalone]


#19088

FromNobody <nobody@nowhere.com>
Date2012-10-19 15:09 +0100
Message-ID<pan.2012.10.19.14.09.20.207000@nowhere.com>
In reply to#19064
On Thu, 18 Oct 2012 23:31:03 -0700, vikramster wrote:

> I have recently set up Code::Blocks IDE with GNU C++ compiler. But seems
> like some setting is missing. Even if I write a simple "Hello World"
> application, I am getting following error: 

> ln.exe: invalid option -- o

Why are you invoking ln.exe at all, let alone with a -o switch?

Did you tell it to use "ln.exe" (the program to create symbolic or hard
links, which don't exist on Windows) instead of "ld.exe" (the program
which links object files together to form an executable)?

[toc] | [prev] | [next] | [standalone]


#19100

Fromjacob navia <jacob@spamsink.net>
Date2012-10-19 21:21 +0200
Message-ID<k5s97o$5cu$1@speranza.aioe.org>
In reply to#19088
Le 19/10/12 16:09, Nobody a écrit :
> On Thu, 18 Oct 2012 23:31:03 -0700, vikramster wrote:
>
>> I have recently set up Code::Blocks IDE with GNU C++ compiler. But seems
>> like some setting is missing. Even if I write a simple "Hello World"
>> application, I am getting following error:
>
>> ln.exe: invalid option -- o
>
> Why are you invoking ln.exe at all, let alone with a -o switch?
>
> Did you tell it to use "ln.exe" (the program to create symbolic or hard
> links, which don't exist on Windows) instead of "ld.exe" (the program
> which links object files together to form an executable)?
>
This is in the generated makefiles, it is not a user's fault

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web