libretro / libretro/libretro-super

libretro-build-android.sh on Cygwin (Windows), some cores fail

Open
#10 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
470
Forks
332
Avg merge
1d 18h
Merged PRs (30d)
24

Description

Hello,

Some cores fail to compile with g++ "Argument list too long" errors when I try to compile with libretro-build-android.sh (on Windows, using Cygwin). One example is nestopia. I have no idea why that would be, especially since most other cores (snes9x-next, mednafen, pcsx_rearmed, ...) build fine.

My sources are in a directory several levels deep:

/home/guayj/work/libretro-super/libretro-nestopia/source/core

but I wouldn't think this is uncommon, or even overly long, considering more than half comes from the project's paths themselves...

Any clues as to why I'm getting this problem would be appreciated. Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with libretro-build-android.sh and reproduce the nestopia build under Cygwin using the reported deep source path. Compare its command invocation with the cores that build successfully, focusing on where the argument-list failure occurs. Done means the affected cores build successfully on the reported setup without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.