User forums > General (but related to Code::Blocks)

GCC-4.4.0-MinGW Binary

<< < (4/5) > >>

thomas:
Don't waste your time any further, Biplab. I'll give up. Thank you for trying, though.

The failure is about 20,000 lines of configure and make shit, followed by "compiler can't create executables". This is independent to what combination of --host --target and --build I provide.
I've tried what you said, tried what the abysmal available documentation tells you, tried what the even more abysmal "canadian cross howto" tells you.

It doesn't work with the MinGW32 cross compiler that Ubuntu provides, either (providing /usr as sysroot, as it's in /usr/i586-mingw32msvc). The exact same compiler works just fine for building programs with Code::Blocks, and they run under Windows with no problems.

The GMP build script will also output a message that --target is not appropriate (hidden in 20,000 lines of useless crap that nobody ever wants to read), but it builds fine. If you do as it tells you, it will compile everything using the native compiler... great.

See, this is why GNU and Linux will never be competitive. They have to make everything super configurable and portable for 3500 platforms that nobody uses, but they just can't make it work out of the box with 2-3 simple commands on a plain normal mainstream PC, nor can they provide clear and understandable instructions what to do to get the desired result.
They can't even give you an error message without requiring you to scroll through 30 screen pages of useless information. Bah!

drac:
<off topic>
This seemed appropriate! :)
</off topic>

MortenMacFly:

--- Quote from: drac on May 01, 2009, 02:59:59 pm ---This seemed appropriate! :)

--- End quote ---
That's a good one. Funnily that's also the reason for me to switch to Windows. I did this (Linux) for years at the university but I just don't have time for such anymore. But:
@Thomas: However - I *never* had such issues with wxWidgets. This is one of the good examples that compiles out-of-the-box and is cross-platform.

thomas:

--- Quote from: drac on May 01, 2009, 02:59:59 pm ---<off topic>
This seemed appropriate! :)
</off topic>

--- End quote ---
Oh my god... this is exactly how I feel now :)

Biplab:

--- Quote from: thomas on May 01, 2009, 02:30:10 pm ---The failure is about 20,000 lines of configure and make shit, followed by "compiler can't create executables". This is independent to what combination of --host --target and --build I provide.
I've tried what you said, tried what the abysmal available documentation tells you, tried what the even more abysmal "canadian cross howto" tells you.

--- End quote ---

Most likely configure is mixing up path of Linux hosted gcc/bintuils with the cross-one.

This is one of the reasons I build my own cross-compiler and install them to a uncommon path (in my case /home/biplab/cross-tools). This helps me avoid interference with other installed gcc tools.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version