Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

wxScintilla build error on HEAD

<< < (2/5) > >>

thomas:
Try if the attached project file works for you.

I've removed -lwxmsw and -Lsdk/tinyxml for that target since they are not needed (the former is already in the project's options, and the latter in unnecessary). So this produces identical output.

If that works for you, then I'd commit it like this, that will be better than changing path names (which might cause a problem with someone else if, for whatever reason, someone relies on an output path).

[attachment deleted by admin]

therion:
hummm yup...
but i can still compile using last week releases... get 1421 on my site and try to build head inside it... works perfectly... it was some modification during the weekend that broke it. i don´t know exactly when but it was between 1421 and 1447

regards,

therion:
sorry, i mean... there is nothing wrong with CodeBlocks-NewBuild.cbp, my workaround is to keep 1421 as my "main" IDE and head releases are building perfect :-)

kisoft:

--- Quote from: thomas on December 07, 2005, 11:59:13 am ---The linker is given too long a commandline, which may be due to
1. too many link libraries / objects
2. too long library / object names (paths)
3. too many unncessary library paths
4. too long library paths

#1 we can't change, you can't just leave out some libraries, #2 can be tweaked like you did.
However, #3 and #4 might be worth being looked into.
Do you have any long linker paths set up in compiler options which are not strictly necessary? It is because I have none, and for me it works, so that might just be it. Apart from that, I'll look into the project to see whether there is something that can be left out.

--- End quote ---

#3 - developers error, we have no reasons to look it. Developer may correct this error.
#1,2,4 - may being resolved with linker scripts (see ld help). If not, in future this problem will wake up.

I use standart way for the IBM VisualAge C++ compiler.

Look example for Makefile (fragment only):

--- Code: ---$(TARGET1): $(OBJS1)
    @echo " Link "
    icc.exe /Q+ @<<
     /B" /NOL $(LINKDEB)"
     /Fe$(TARGET1)
     $**
<<

--- End code ---

Here nmake expand it with a this command lines:

--- Code: ---echo " Link "
icc.exe /Q+ @C:\Temp\65000000.CTN.
del C:\Temp\65000000.CTN.

--- End code ---

File C:\Temp\65000000.CTN content list of options and objects for linker.
In this hand, we have not problem with command line limit.
I yet no look a help info for mingw32-make.xe, may be the mingw make have other methods. Who knows.

tiwag:
@therion
very interesting phenomen - i'm working with WinXP_SP2 and it doesn't appear

even though my linker command-string for wxscintilla is 4528 characters long - your's is shorter,
because you are using a shorter WX_DIR than i.  ( your "C:\wx" compared to my "D:\wx261" )

i have enlarged the command-shell environment ram to about 12kB,
but this should not really affect the max. size of the command-line,
but who knows ?

btw. what's your OS ?

[edited typos]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version