gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > compiler questions

#18492 - johnny_north - Sat Mar 27, 2004 6:39 pm

Sorry to burden the group with somewhat offtopic question, but this is the most knowledgeable group that I know of on this topic, so here goes...

I've read that you should only have a single cygwin1.dll on your system at any time. Just recently I installed devkits for the DC, gp32, and gc. I'm having several errors now when compiling project for the gp and gc that seem cyg related.

For instance, when I try to run the gp32 as and gcc, I get a load of errors like this:

Code:
C:\WINDOWS\DESKTOP\CONSOLEDEV\GP32\DEVKIT\LIB\GCC-LIB\ARM-AGB-ELF\3.0.2\CC1PLUS.EXE: *** You have multiple copies of cygwin1.dll on your system.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  This will probably be
the one that resides in x:\cygwin\bin, where 'x' is the drive on which
you have installed the cygwin distribution.


I have not installed the full cygwin distribution, I just have the .dll(s) that came with their respective devkits, and I'm a bit nervous about deleting and of them, as they are all different sizes and dates (I don't want to break anything)

Also, when I try to compile gamecube code I get a number of errors like this:

Code:
A dialog "The AS.EXE file is linked to missing export CYGWIN1.DLL:asprintf"

and "The CC1.EXE file is linked to missing export CYGWIN1.DLL:asprintf"



Also, my command window gives a host of the idential error for each call to AS or CC1

Code:
POWERP~8: installation problem, connot exec 'cygdrive/c/DEVKIT~2/BIN/../lib/gcc-lib/powerpc-eabi-elf/3.3/cc1.exe': Permission denied


If I choose only one cygwin1.dll how do I know which one or where it should reside? Could someone advise me on the propper management of cygwin versions?

#18493 - dagamer34 - Sat Mar 27, 2004 6:47 pm

Use the most recent one.
_________________
Little kids and Playstation 2's don't mix. :(